All Questions
Tagged with php codeigniter
52,080
questions
1
vote
1
answer
21
views
Codeigniter failing to load CI_Exceptions
I have an codeigniter 3 app deployed to an ubuntu server.
When one of my models (assumably) hits an error, I am getting this message:
Fatal error: Uncaught Error: Class "CI_Exceptions" not ...
1
vote
0
answers
26
views
Codeigniter - I'm having an issue with the dropdown it’s not populating the dropdown as expected, and I’m not sure what the exact problem is
When I tried to print the data, it is being printed correctly. However, I'm having trouble with the view file it’s not populating the dropdown as expected. If anyone knows what might be wrong, please ...
1
vote
1
answer
54
views
composer not found for docker and codeigniter
This is all new to me. I am using Docker and CodeIgniter. I want to create an image for CodeIgniter in Docker. I am using Docker Desktop on Windows. I have a Dockerfile that contains the code below. ...
0
votes
1
answer
33
views
dropdown selected update in codeigniter
The dropdown can't show selected item in form update. But the code has the same as other dropdown
The code below can show the selected item on dropdown
<div class="col-md-3 pl-pr-1"&...
0
votes
0
answers
33
views
Codeigniter 3 won't show in localhost
The output when I entered localhost/[folder_project_name]
For information, this folder I've got is the source code for my project. This source code given to me from the lead. I want to make similar ...
0
votes
0
answers
17
views
how to solve Type Error in CodeIgniter 4 Login Method?
I'm currently working on the login feature for my project and encountering an issue similar to one I had with user registration. I managed to solve the registration issue, but I'm still having trouble ...
0
votes
1
answer
31
views
Session Timeout Issue in CodeIgniter 4
I'm working on a CodeIgniter 4 project using the Shield authentication library. I've encountered an issue where user sessions are logging out after a short period of time, even though I've extended ...
1
vote
1
answer
53
views
CodeIgniter and Ajax: Dynamic Dependent Dropdown not working
I'm trying to create a Dynamic Dependent Dropdown via Ajax and CodeIgniter 4. However, I could not make it work. Can you help me figure out what's wrong? I'm trying to follow this tutorial online: ...
0
votes
0
answers
19
views
Integrating New URL Segments in CodeIgniter Without Disruption
I've developed an application for a client that currently uses the URL structure https://project.es/index. Now, they need to switch to https://project.es/apps/other_segment/index.
I've adjusted ...
1
vote
0
answers
25
views
Facing session issues during Razorpay callback in CodeIgniter; redirects to login or payment page instead of success page after payment
When a parent completes the fee payment using Razorpay, the payment is processed successfully on the Razorpay side. However, after the payment, instead of redirecting the user to a success page, the ...
-2
votes
0
answers
31
views
How to retrieve file/image from one project to another project in codeigniter php
I am new to php codeigniter, Am tring to get image dynamically from one project to another project codeigniter. Below are the project urls.
C:\xampp\htdocs\newproject\
C:\xampp\htdocs\oldproject\
...
0
votes
0
answers
32
views
PHP Codeigniter 4 redirect route not found after insert
I have a controller that calls my model to insert a new record, returned the id of the new record, and then does a redirect to display the new record. But I get an error: "The route for '/r/xx' ...
0
votes
1
answer
47
views
multiple image upload issue while editing images in codeigniter php
i have an image upload form, while adding the upload is working fine. Now my edit form looks like below:
<input type="hidden" name="pimage2old" value="<?...
-2
votes
1
answer
27
views
How to retrieve images/files from one server to another server in php codeigniter
I have two projects and upload paths will be like below.
http://localhost/project1
http://localhost/project2
Upload files/images folder paths below.
C:\xampp\htdocs\project1\application\assets\...
-5
votes
1
answer
72
views
how to retrieve a file using php
I want to retrieve a file/image from specific path in php, I was tried different ways like file_get_contents and opendir and readdir like etc , but unable to find any solutions, Can you please help on ...