Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: We need more reviewers!
Post: RE: We need more reviewers!

in my humble opinion, creating this forum for support only is a bad idea, and it would be great if the Codeigniter had section in StackExchange or StackOverflow, in order to get points for helping oth...
8,111 Views
12 Replies
09-19-2024, 04:44 AM
ramonpuig
  Shocked Thread: cannot read javascript though it is loaded
Post: cannot read javascript though it is loaded

I have a view with codeigniter 4.4.8 but i cant link a javascript with   
467 Views
1 Replies
08-21-2024, 10:18 AM
ramonpuig
    Thread: Defining extra constants CI 4
Post: RE: Defining extra constants CI 4

kilishan Wrote: (03-30-2020, 11:21 AM) -- Or add it to app/Config/Constants.php.  I have a problem, i defined a constant in constants.php but the call to it in the controller does not find it. --
11,415 Views
8 Replies
04-27-2024, 09:44 AM
ramonpuig
    Thread: Cannot access protected property CodeIgniter\HTTP\IncomingRequest::$uri
Post: Cannot access protected property CodeIgniter\HTTP\...

Hello I followed the steps to upgrade from 4.4.8 to 4.5.0 , but i get this error Cannot access protected property CodeIgniter\HTTP\IncomingRequest::$uri on line 75 PHP Code: --       // $t...
5,372 Views
12 Replies
04-09-2024, 06:34 AM
ramonpuig
    Thread: remove index.php after installing myth:auth library
Post: RE: remove index.php after installing myth:auth li...

Newbie_Mark998 Wrote: (01-22-2024, 06:52 AM) -- hello guys i have installed myth:auth library  and i want to remove the index.php from url i have set PHP Code: -- public string $indexPage = ''...
1,393 Views
4 Replies
04-09-2024, 02:20 AM
ramonpuig
    Thread: docs: Deployment to Shared Hosting Services
Post: RE: docs: Deployment to Shared Hosting Services

kenjis Wrote: (02-21-2024, 06:01 PM) -- The following section has been added in the in-progress User Guide. https://codeigniter4.github.io/CodeIgniter4/installation/running.html#deployment-to-shar...
1,867 Views
6 Replies
03-20-2024, 10:23 AM
ramonpuig
    Thread: controller wont redirect or return view
Post: RE: controller wont redirect or return view

Thanks for the answer. Yeah i was not following the correct standart of returning view instead of trying to load a method inside the controller directly. my routes were bad too,  really bad, now its s...
593 Views
2 Replies
03-20-2024, 04:37 AM
ramonpuig
    Thread: controller wont redirect or return view
Post: controller wont redirect or return view

Hello I have a controlller that should redirect or return to a view but it doesnt it stays at same view but with blank content. PHP Code: -- public function register($validators = []) {    ...
593 Views
2 Replies
03-19-2024, 09:26 AM
ramonpuig
    Thread: POTENTIAL BUG querybuilder-save not working as intented
Post: RE: POTENTIAL BUG querybuilder-save not working as...

kenjis Wrote: (03-15-2024, 06:31 PM) -- Thank you for reporting, but how to reproduce? What is `'87_65` and why is it used? -- thank you for anwering. Actually the problem came from the database t...
758 Views
2 Replies
03-19-2024, 09:20 AM
ramonpuig
    Thread: POTENTIAL BUG querybuilder-save not working as intented
Post: POTENTIAL BUG querybuilder-save not working as int...

Hi i have observed that with version 4.4.6 the save() method does not insert a row even if the primarykey value is not found in the row . I believe there might be a bug . The save operation returns...
758 Views
2 Replies
03-15-2024, 06:32 AM
ramonpuig
    Thread: Updating from 4.2.1 to 4.4.6 session bug
Post: Updating from 4.2.1 to 4.4.6 session bug

Hello  I updated from 4.2.1 to 4.4.6 using composer. I followed general tips after i had issues with kint renderer and index.php. There are no particular instructions in here (https://codeigniter.com/...
1,058 Views
2 Replies
03-12-2024, 04:56 AM
ramonpuig
    Thread: updateBatch(): Argument #2 ($index) must be of type string
Post: RE: updateBatch(): Argument #2 ($index) must be of...

kenjis Wrote: (03-11-2024, 05:40 PM) -- Upgrade CI4. Quote: -- Since v4.3.0, the second parameter $index of updateBatch() has changed to $constraints. It now accepts types array, string, or RawSq...
1,014 Views
3 Replies
03-12-2024, 04:34 AM
ramonpuig
    Thread: updateBatch(): Argument #2 ($index) must be of type string
Post: updateBatch(): Argument #2 ($index) must be of typ...

Hello! I am getting this exception : CodeIgniter\Database\BaseBuilder::updateBatch(): Argument #2 ($index) must be of type ?string, array given My code is this , its in a function inside my mod...
1,014 Views
3 Replies
03-11-2024, 01:56 PM
ramonpuig
    Thread: is_unique throws error on not found field
Post: RE: is_unique throws error on not found field

I found the issue, it was a silly typo on the table name I was using users.username instead of Users.username. But the error thrown was not helpful to find it , but it kind of gave the clue. Coding in...
491 Views
1 Replies
02-23-2024, 11:43 AM
ramonpuig
    Thread: is_unique throws error on not found field
Post: is_unique throws error on not found field

Hi! i am trying to validate a form field , concretely the username with is_unique. My controller has this code: PHP Code: -- if ($this->request->getMethod() === 'post') { $this->validati...
491 Views
1 Replies
02-23-2024, 10:18 AM
ramonpuig
    Thread: Model error with builder first()
Post: RE: Model error with builder first()

kenjis Wrote: (12-21-2022, 10:47 PM) -- Remove your constructor. -- thank you for this! i was not conscious to see that i too was having the same problem because i was overriding the parent constru...
4,576 Views
6 Replies
01-24-2024, 02:55 AM
ramonpuig

Theme © iAndrew 2016 - Forum software by © MyBB