Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CodeIgniter France
Post: RE: CodeIgniter France

Looking at the activity of the CI community, Asian countries use it.  There are also few reviews about him in Russia. The main reason is a misunderstanding of the version difference between 3 and 4...
172 Views
4 Replies
Yesterday, 02:44 AM
ozornick
    Thread: CI4 Shield, Users, Groups, Permissions managment
Post: RE: CI4 Shield, Users, Groups, Permissions managme...

I do not know Shield, but you can use the constructor in the configs and call something DB::getGroups()/File::readGroups() to update the $this->groups. No, it's dangerous.
457 Views
6 Replies
03-12-2025, 03:00 PM
ozornick
    Thread: Wrong phpunit.xml.dist shipped?
Post: RE: Wrong phpunit.xml.dist shipped?

All okay https://github.com/codeigniter4/appstarter/blob/master/phpunit.xml.dist#L5
171 Views
1 Replies
03-11-2025, 09:09 PM
ozornick
    Thread: help w/testing: variables not passed to view in 4.5.4
Post: RE: help w/testing: variables not passed to view i...

All ok. Code: -- > phpunit './tests/system/IndexTest.php' PHPUnit 11.5.12 by Sebastian Bergmann and contributors. Runtime:      PHP 8.4.4 with Xdebug 3.4.1 Configuration: /home/www/codeigniter/...
231 Views
2 Replies
03-10-2025, 08:21 AM
ozornick
    Thread: Undefined function esc() in v4.5.8
Post: RE: 4.6.8 esc

You have updated incorrectly. The function should work correctly. Can you repeat the upgrade step by step or move your code to a clean install? https://codeigniter4.github.io/userguide/installation/u...
259 Views
2 Replies
03-10-2025, 04:51 AM
ozornick
    Thread: erorr session help
Post: RE: erorr session help

Write English pls. Check permissions for writable, session dirs, 0777?
128 Views
1 Replies
03-09-2025, 12:46 AM
ozornick
    Thread: passing variable - shows invalid variable ...
Post: RE: passing variable - shows invalid variable ...

Are you really getting to the place where the template is output? redirect() does not interrupt execution? If so, do you need to set the default value: echo $js_to_load ?? 'Hello';
424 Views
4 Replies
03-07-2025, 06:47 AM
ozornick
    Thread: composer upgrade to 4.4.8
Post: RE: composer upgrade to 4.4.8

Yes, you should worry if you are creating a public project (not a localhost). To fix the error, you need to update CI to v4.5.8.  If you only train, nothing will happen. Please read https://github.c...
275 Views
2 Replies
03-06-2025, 05:14 AM
ozornick
    Thread: Hard Delete when useSoftDeletes = true;
Post: RE: Hard Delete when useSoftDeletes = true;

Add  true as second parameter https://codeigniter4.github.io/userguide/models/model.html#delete
179 Views
1 Replies
03-04-2025, 01:27 AM
ozornick
    Thread: feat: Separate unused lists in classes
Post: feat: Separate unused lists in classes

Hi. Don't you think that some of the infrequently used data in classes can be optimized? For example, in the Entity, DataCaster: Code: -- private defaultCastHandlers -> array (15) array => string ...
191 Views
0 Replies
03-03-2025, 12:11 AM
ozornick
    Thread: fork tattersoftware/codeigniter4-relations
Post: RE: fork tattersoftware/codeigniter4-relations

Yes. Or you can suggest improvements if it helps a many peoples.
249 Views
2 Replies
03-01-2025, 03:19 AM
ozornick
    Thread: Add initController section in spark make:controller
Post: RE: Add initController section in spark make:contr...

Read https://github.com/codeigniter4/CodeIgniter4/tree/develop/contributing Your bug report (issue) will probably be closed.
423 Views
5 Replies
02-26-2025, 08:06 AM
ozornick
    Thread: Add initController section in spark make:controller
Post: RE: Add initController section in spark make:contr...

Can you create a PR for improvement?
423 Views
5 Replies
02-26-2025, 01:11 AM
ozornick
    Thread: PHP outside the MVC structure to query database
Post: RE: PHP outside the MVC structure to query databas...

I think not. You can wait for an answer, but there are few active participants here. Why can't you use controllers?
874 Views
9 Replies
02-13-2025, 10:09 PM
ozornick
    Thread: CodeIgniter 4.6.0 Deploy Issue
Post: RE: CodeIgniter 4.6.0 Deploy Issue

Check ./spark config:check Config\\App ?
651 Views
3 Replies
02-13-2025, 01:45 PM
ozornick
    Thread: PHP outside the MVC structure to query database
Post: RE: PHP outside the MVC structure to query databas...

It looks like the wrong decision.  Why do you need CI if you don't need its functionality? For example, use Slim 4 if you only need the initial components. Or make a fork and change the Boot
874 Views
9 Replies
02-13-2025, 02:31 AM
ozornick
    Thread: PHP outside the MVC structure to query database
Post: RE: PHP outside the MVC structure to query databas...

This will not allow you to run the code in test.php It is better to create a Controller or a Command, you can additionally use some features by editing app/Config/Boot/* or app/Common.php  The minimu...
874 Views
9 Replies
02-13-2025, 01:09 AM
ozornick
    Thread: (Modules) Extends Configs
Post: RE: (Modules) Extends Configs

I tried, but to no avail. You can try changing the config folder in composer.json or Autoload.php. But NS Config\ is hardcoded in vendor Autoload.php
1,796 Views
17 Replies
02-12-2025, 11:41 PM
ozornick
    Thread: Discovering Route.php and Routing.php settings in custom Modules in CodeIgniter4
Post: RE: Discovering Route.php and Routing.php settings...

I think you are using routes incorrectly. You are overwriting $routes->set*() and your next routes may have incorrect parameters. Please specify them as $routes->group("", ["namespace" => ...]) Set g...
773 Views
7 Replies
02-12-2025, 01:25 PM
ozornick
    Thread: Discovering Route.php and Routing.php settings in custom Modules in CodeIgniter4
Post: RE: Discovering Route.php and Routing.php settings...

Look at the output of the spark command, maybe you made a mistake with NS? At least the full path to the files must be specified ROOTPATH . "feemodule/Config/Routes.php". Show how you installed names...
773 Views
7 Replies
02-12-2025, 10:48 AM
ozornick

Theme © iAndrew 2016 - Forum software by © MyBB