Top "Codeigniter-2" questions

CodeIgniter 2.x is an old and no longer supported version of the popular PHP framework.

Call to undefined method CI_Controller::Controller()

I have got this controller: class Start extends CI_Controller{ var $base; var $css; function Start() { parent::Controller(); //error here. $…

php codeigniter-2
Codeigniter echoing [::1] instead of localhost

I am using CodeIgniter 3 as a web platform and trying to import semantic-UI CSS into my page. I'm doing so …

php codeigniter codeigniter-2 codeigniter-3
codeigniter sess_destroy() not working properly,what m i doing wrong?

I am a newbie in codeigniter. I am using an an login form to login as an admin. When the …

session-variables codeigniter-2
Fatal error: Call to undefined function validation_errors() using codeIgniter

Fatal error: Call to undefined function validation_errors() using codeIgniter here's my comments.php view <?php echo validation_errors(); ?&…

php codeigniter codeigniter-2
Compare two dates in Codeigniter and MySQL

How can I get values between two dates in Codeigniter query function? Here is my model and sample code. function …

mysql codeigniter codeigniter-2 codeigniter-datamapper
You are not a sandbox user of this client. Error Codeigniter-Instagram api

In my codeigniter project I am trying to use Instagram API for log in. This is the library which I …

php login codeigniter-2 instagram-api
Codeigniter REST CSV import to mysql

I want to post csv file on my controller using API.I'm using Codeigniter REST Library by phil sturgeon. How …

api codeigniter rest codeigniter-2
How to send variable data when redirecting to previous page

I am using the following codes to redirect my user to previous page after a particular task is done. if (…

codeigniter codeigniter-2
Cannot remove index.php from CodeIgniter URL

My directory structure is /var/www/CI/ with all the folders viz., application, system under the folder CI. Have created …

.htaccess codeigniter codeigniter-2
codeigniter + require letters and numbers in password

I'd like to use form validation to require a password that has BOTH alpha and numeric characters. Here's what I've …

validation codeigniter passwords codeigniter-2