69,354 questions
0
votes
0
answers
43
views
CodeIgniter 3 (HMVC) - 404 on route even though controller exists - MX_Controller issue?
Hi I'm facing an issue during a technical challenge for a PHP internship using PHP 8.1 and CodeIgniter 3 (with HMVC structure using MX_Controller).
The company sent me the repository already set up — ...
0
votes
2
answers
70
views
Why is my codeigniter4 project not connecting to my database
I have been running into the same issue for over the past 3 hours. I have uploaded my codeigniter4 project (my first one) to my namecheap shared hosting provider, and unfortunately I have ran into ...
1
vote
2
answers
48
views
Toast Notification Appears on Every Page After Login Failure in CodeIgniter
I'm facing an issue with toast notifications in my CodeIgniter app. After a failed login attempt, the error message is displayed correctly using Toastr. However, this message keeps appearing on every ...
0
votes
1
answer
52
views
CodeIgniter base_url Configuration Issue
I’ve been working with CodeIgniter for a while, and it's been great so far. However, I’m having trouble understanding how base_url works. For instance, I’ve set the base_url like this:
$config['...
0
votes
1
answer
43
views
Microsoft Graph subscription API error regarding Notification endpoint
So I have been trying to create a Azure graph subscription API , the publicly accessible endpoint is
https://omstest.shiplogiq.dev/webhook/graph_listener
POST API URL:
https://graph.microsoft.com/v1....
0
votes
0
answers
24
views
Sharing ci_session between two applications, one built with CodeIgniter and the other with React and Node.js
We are unable to get ci_session in React with a Node.js application from the CodeIgniter application. We currently have a running CodeIgniter portal and want to revamp a single page with React and ...
0
votes
3
answers
53
views
Codeigniter 4 validation of keys within an associative array
I would like to validate the following json in CI4:
{
"field1": "some value",
"array1": {
"2876": "4358",
"9904": &...
0
votes
0
answers
118
views
SQL Unknown column error with first() and findAll()
I'm using CodeIgniter 4 and having an issue with my model. I'm using first() and findAll() to retrieve data as objects or arrays, but for some functions, I get this error:
Unknown column '...
-1
votes
1
answer
72
views
503 error after 3 minutes of execution time [closed]
I have an function that tries to synchronize data of the API to the system and the system data needs to be synchronized with the API.
As you can imagine this can take a little while, definitely when ...
-1
votes
1
answer
64
views
I am using Codeigniter 3 hmvc with php 8.2 and i am getting the below error
A PHP Error was encountered
Severity: Deprecated Notice
Message: str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated
Filename: MX/Controller.php
Line Number: 46
...
1
vote
2
answers
64
views
Loading Route.php and Routing.php settings in different Modules in CodeIgniter4
I have different custom Module paths/ Namespaces in my CodeIgniter4 project, and I just recently upgraded to version 4.4.0. in this upgrade the route settings will move from Config/Routes.php to ...
0
votes
1
answer
50
views
Parallel Processing with RabbitMQ in CodeIgniter for Multiple File Uploads
I have implemented RabbitMQ in my CodeIgniter project to handle a file upload system. Users can upload multiple files at once. After uploading the files, the IDs of the uploaded files are added to a ...
0
votes
1
answer
58
views
CI4 Not Staying Logged In
I have an issue that I've been troubleshooting for days that just doesn't make any sense to me. I'm hoping someone has any idea to help!
I'm working on a page where you need to be logged in. The ...
1
vote
1
answer
61
views
Why autorouting (legacy) doesn't work in Codeigniter 4?
I have a project with a GET route included in the ‘Routes.php’ file and the rest of the routes generated by autorouting, that is, access to the methods of the controllers from the URL.
These ...
0
votes
0
answers
25
views
Ajax call with CSRF protection 403 forbidden CI4
I am working on translating a page from Codeigniter 3 to Codeigniter 4, and have session based CSRF protection enabled in CI4. For some reason, even though I can see the CSRF name and CSRF hash in ...