PHP Error was encountered when trying CodeIgniter-3x
Posted: 30 Jun 2017, 05:06:26
Hello,
I was using using CodeIgniter 3x PHP Framework on another host and on my local server without problems, I tried to test it on your server I got a lot of PHP errors as shown on:
http://tview.aba.ae/ci/
The errors are about sessions save path on the server.
In codeigniter configuration I have these lines:
ci/application/config.php
I tried to create a folder tmp in ci/system and give it 700 permission and change :
That didn't solve the problem, I think the server admin can solve this issue by doing something with the server sessions save path
'/var/lib/php5'
Regards,
Kareem
I was using using CodeIgniter 3x PHP Framework on another host and on my local server without problems, I tried to test it on your server I got a lot of PHP errors as shown on:
http://tview.aba.ae/ci/
The errors are about sessions save path on the server.
In codeigniter configuration I have these lines:
ci/application/config.php
Code: Select all
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = NULL;
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;
Code: Select all
$config['sess_save_path'] = BASEPATH . 'tmp/';
'/var/lib/php5'
Regards,
Kareem