Skip to main content

Questions tagged [codeigniter-2]

CodeIgniter 2.x is an old and no longer supported version of the popular PHP framework. Please refer to the [codeigniter] tag for more information.

codeigniter-2
0 votes
0 answers
30 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 ...
frsnmk's user avatar
  • 137
-1 votes
1 answer
165 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 ...
Narinder Kumar's user avatar
1 vote
1 answer
72 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 ...
rob - not a robber's user avatar
1 vote
0 answers
23 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 ...
Social media's user avatar
0 votes
4 answers
103 views

Fetch row which exist between date time range in codeigniter

I have these rows in my table with start and end column in database like these are of datatype datetime start | end 1 2022-10-27 11:59:00 2022-10-27 01:00:00 2 ...
user3653474's user avatar
  • 3,709
0 votes
1 answer
253 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 ...
JSP's user avatar
  • 571
-1 votes
1 answer
40 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($...
John Ken's user avatar
  • 962
0 votes
0 answers
74 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, ...
Proger's user avatar
  • 1
0 votes
1 answer
96 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='...
Ramachandran's user avatar
3 votes
2 answers
4k 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?
Nithya Kalyani's user avatar
0 votes
0 answers
255 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('...
Devatim's user avatar
  • 349
0 votes
0 answers
828 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 ...
Vinoth Kumar's user avatar
1 vote
2 answers
83 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 ...
Leena Patel's user avatar
  • 2,442
-3 votes
1 answer
283 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, ...
Daffa Al's user avatar
-1 votes
1 answer
251 views

print only last item of each duplicate in foreach [duplicate]

I have a very simple array but with some duplicate entries. I just want to print the comments column at the end of each duplicate item. I am using php framework codeigniter v3. Please see the ...
Shafat Ahmad's user avatar

15 30 50 per page
1
2 3 4 5
209