3,091 questions
-1
votes
1
answer
79
views
I made an old CodeIgniter 2 PHP 5.6 website over 10 years ago, and am trying to restore it online; keep getting 404 errors (the first page works, tho)
I keep getting server 404 errors when trying to interact with my website: http://www.interjo.in/
my .htaccess file is as follows:
RewriteEngine On
# First add the www to URL
RewriteCond %{HTTP_HOST} ^...
1
vote
0
answers
91
views
Getting 404 error when sending notification
I am using Firebase to send app notification in PHP 5.6, CodeIgniter 2.15.
The fcm token just seems to expire of past 2-3 days in many case and getting this error:
[fblurojit] => {
"error&...
0
votes
0
answers
33
views
CI2 Dompdf return blank tabs when deploying to server Centos
I'm creating a pdf feature for my project. Using CI2 and Dompdf. Everthing is normal when I run this project in my local laptop that using windows 11. But when I deploy it to server which is using ...
-1
votes
1
answer
234
views
CodeIgniter website working on localhost but not on live server
I have a CodeIgniter website nulearnedu.in that works perfectly on my local and another VPS server. Now i have another hosting server by godaddy and I upload all the files and database on it. Now my ...
1
vote
1
answer
98
views
CodeIgniter 2.2.0 on upgraded server good save for HTTPS/SSL
We upgraded our server for a 10 year old website recently and the lowest allowable PHP version the host would install was 7.4. Understandable.
When we moved the old CodeIgniter 2.2.0 site over to the ...
1
vote
0
answers
26
views
'email has been sent' massage is shown email is not receiving in CodeIgniter
i have use CodeIgniter 2.2.6
i am trying to sent email but i can't get error and not received email
<?php
class email_otp_demo extends CI_Controller
{
public function ...
0
votes
1
answer
323
views
Disable PHP errors from displaying on the client?
I understand this has been asked a bunch of times and probably appropriately answered so I ask you give me some grace here. I want to log errors to the error log but NOT display them to the client ...
-1
votes
1
answer
49
views
upload multiple file upload using codeigniter file name not working
I tried to upload multiple file upload using codeigniter 2.
I was working fine , but file name getting wrong.
I tried to change file name every time i tried it was not working.
function do_upload($...
0
votes
0
answers
78
views
You must use the "set" method to update an entry
codeigniter 2.2.2 No changes were made to the site code on the site, only work was carried out through the site admin panel to add information to the site. I do not understand why this error appeared, ...
0
votes
1
answer
110
views
Codigniter DB backup
Unable to get the data base backup
$this->load->dbutil();
$db_format=array('format'=>'zip','filename'=>'my_db_backup.sql');
$backup=& $this->dbutil->backup($db_format);
$dbname='...
3
votes
2
answers
5k
views
How do you convert a CodeIgniter 2 project to CodeIgniter 4?
I have one old CodeIgniter 2 project.
How do I update/upgrade it to CodeIgniter version 4 without any code or function change?
Is it possible?
0
votes
0
answers
299
views
The best way to do a MYSQL STRAIGHT_JOIN in the query builder of CodeIgniter [old version 2]
A project uses an older version of the CodeIgniter[2.1.1].
The query builder is used to retrieve specific data.
The source code is an example like this:
$db
->from('first as A')
->where_in('...
0
votes
0
answers
1k
views
Dompdf set tamil font supported font-family
I have been trying to set tamil font to display in PDF by using dompdf in codeigniter. As followed this instruction Dompdf and set different font-family I have set the font family but this is not ...
1
vote
2
answers
92
views
Session is not getting unset when signing out
I have created admin panel in codeigniter. Sign in is working fine and data is also set in session. The issue is when I click on signout it doesn't clear the session data.
My controller signout ...
-3
votes
1
answer
307
views
Downloading file from ftp in codeigniter 2 using FTP Class
I want to download some file from FTP Server using FTP Class that already in CodeIgniter, but i get error ftp_get() failed to open stream : permission denied when i called my code. anyone can help me, ...