Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Update to 4.6.1
Post: RE: Update to 4.6.1

paulbalandan Wrote: (05-07-2025, 11:52 AM) -- Ok thanks for confirming. If you are getting the fresh files from the vendor folder, then it is expected that the Paths file will have the $systemDirecto...
18,753 Views
12 Replies
05-07-2025, 11:58 AM
serialkiller
    Thread: Update to 4.6.1
Post: RE: Update to 4.6.1

captain-sensible Wrote: (05-07-2025, 10:29 AM) -- "Seller" is an Alias for "vendor" i guess   serialkiller Wrote: (05-07-2025, 09:42 AM) -- paulbalandan Wrote: (05-07-2025, 09:12 AM) -- Hmm, whe...
18,753 Views
12 Replies
05-07-2025, 10:33 AM
serialkiller
    Thread: Update to 4.6.1
Post: RE: Update to 4.6.1

paulbalandan Wrote: (05-07-2025, 09:12 AM) -- Hmm, where are you getting the fresh app/Config/Paths.php file? From the vendor directory? -- exactly, from the seller after the update as I always do,...
18,753 Views
12 Replies
05-07-2025, 09:42 AM
serialkiller
    Thread: Update to 4.6.1
Post: RE: Update to 4.6.1

paulbalandan Wrote: (05-07-2025, 08:53 AM) -- If you are not using composer and you are using "codeigniter4/appstarter", when updating files you should also download the appstarter zip files. From yo...
18,753 Views
12 Replies
05-07-2025, 08:57 AM
serialkiller
    Thread: Update to 4.6.1
Post: RE: Update to 4.6.1

captain-sensible Wrote: (05-07-2025, 02:24 AM) -- i think i followed upgrade instruction up to the previous version 4.6.0  which is working fine yes Config/Paths.php.  seems to have changed in 4.6....
18,753 Views
12 Replies
05-07-2025, 02:32 AM
serialkiller
    Thread: Update to 4.6.1
Post: Update to 4.6.1

I'm updating some applications and one of the files that has changed is Config/Paths.php. Compared to the previous one, it has a different value for the $systemDirectory variable, before it was: ...
18,753 Views
12 Replies
05-07-2025, 01:33 AM
serialkiller
    Thread: DateTime field validation
Post: RE: DateTime field validation

grimpirate Wrote: (03-18-2025, 06:33 AM) -- Lose the double quotes in the square brackets. -- Perfect, I missed the quotes during the various tests, thanks, it seems to work
375 Views
2 Replies
03-18-2025, 08:57 AM
serialkiller
    Thread: DateTime field validation
Post: DateTime field validation

I'm trying to validate a dateTime field but I can't get it to work, is this not possible or am I doing something wrong? PHP Code: -- 'myDateTime' => 'required|valid_date["Y-m-d H:i"]', --
375 Views
2 Replies
03-18-2025, 03:58 AM
serialkiller
    Thread: CI4.6 Error Pages
Post: RE: CI4.6 Error Pages

Did you follow the upgrade documentation? There have been changes to some error pages and CSS, please follow the guide and make sure you have made all the necessary changes
812 Views
4 Replies
02-27-2025, 09:40 AM
serialkiller
    Thread: Throttler and cache files
Post: Throttler and cache files

I'm testing the functioning of the Throttle class, everything is ok, the only thing I'm wondering about is that two files are created per user in the cache folder. Are these files automatically delet...
531 Views
1 Replies
02-05-2025, 06:37 AM
serialkiller
    Thread: Strange query behavior CI 4.5.5
Post: Strange query behavior CI 4.5.5

I'm running this query with the query builder PHP Code: -- $modifiche_precedenti = $this->db->table('modifiche_movimenti')                 ->select('prodotti_modifiche_movimenti.id_prodotto,    ...
350 Views
0 Replies
11-19-2024, 09:33 AM
serialkiller
    Thread: Question about upgrading to CI 4.5.5 from 4.5.4
Post: RE: Question about upgrading to CI 4.5.5 from 4.5....

ozornick Wrote: (09-12-2024, 09:30 PM) -- https://github.com/codeigniter4/CodeIgniter4/pull/9111/commits/208cd0843e0502c7dd244b54c278eb9adaf45af0 Yes, it is not noted in the history. -- Perfect, I t...
782 Views
3 Replies
09-13-2024, 12:45 AM
serialkiller
    Thread: Question about upgrading to CI 4.5.5 from 4.5.4
Post: Question about upgrading to CI 4.5.5 from 4.5.4

I upgraded from 4.5.4 to 4.5.5 and only composer.json appears in the list of all modified files Reading the chengelog I see: fix: update preload.php by @kenjis, but preload.php does not appear in t...
782 Views
3 Replies
09-12-2024, 10:18 AM
serialkiller
    Thread: How to add variables from a second custom env file to the default one
Post: RE: How to add variables from a second custom env ...

In public/index.php, afetr PHP Code: -- $paths = new Config\Paths(); -- use CodeIgniter\Config\DotEnv; PHP Code: -- require_once $paths->systemDirectory . '/Config/DotEnv.php'; (new DotEnv(...
784 Views
2 Replies
06-14-2024, 06:32 AM
serialkiller
    Thread: How to add variables from a second custom env file to the default one
Post: How to add variables from a second custom env file...

I would need to load an additional env file in addition to the default env file. It is possible to load an env file with dedicated values and merge them with the default env file values, e.g. .env....
784 Views
2 Replies
06-14-2024, 04:12 AM
serialkiller
    Thread: Codeigniter 4 V 4.5.1 $this->db problem
Post: RE: Codeigniter 4 V 4.5.1 $this->db problem

Thanks, but I need to have the same instance in all the methods of the class, both to avoid having to declare it in each method and because when I make transactions I often call other methods from the...
3,729 Views
12 Replies
05-17-2024, 09:23 AM
serialkiller
    Thread: Codeigniter 4 V 4.5.1 $this->db problem
Post: RE: Codeigniter 4 V 4.5.1 $this->db problem

I updated from 4.46 to 4.5.1, I've made all the changes to every file in every upgrade from 4.4.6 to 4.5.1 and everything works except this one The model works for both methods only with the constr...
3,729 Views
12 Replies
05-17-2024, 06:56 AM
serialkiller
    Thread: Codeigniter 4 V 4.5.1 $this->db problem
Post: RE: Codeigniter 4 V 4.5.1 $this->db problem

I think I don't understand. If in my model I do:  PHP Code: -- $this->db->table('mytable')...  -- I get the error: Call to a member function table() on null Shouldn't $this->db be available in t...
3,729 Views
12 Replies
05-17-2024, 06:27 AM
serialkiller
    Thread: Codeigniter 4 V 4.5.1 $this->db problem
Post: RE: Codeigniter 4 V 4.5.1 $this->db problem

I'm talking about model code
3,729 Views
12 Replies
05-17-2024, 05:02 AM
serialkiller
    Thread: Codeigniter 4 V 4.5.1 $this->db problem
Post: RE: Codeigniter 4 V 4.5.1 $this->db problem

The documentation is not clear to me, can you give me a practical example I can't do as in CI3 and continue using $this->db->table(), are there any problems with this? PHP Code: -- public function ...
3,729 Views
12 Replies
05-17-2024, 03:08 AM
serialkiller

Theme © iAndrew 2016 - Forum software by © MyBB