صفحة 1 من 1

PHP Error was encountered when trying CodeIgniter-3x

مرسل: 30 يونيو 2017, 05:06:26
بواسطة kareem
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

كود: تحديد الكل

$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;
I tried to create a folder tmp in ci/system and give it 700 permission and change :

كود: تحديد الكل

$config['sess_save_path'] = BASEPATH . 'tmp/';
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

PHP Error was encountered when trying CodeIgniter-3x

مرسل: 26 يوليو 2017, 12:08:38
بواسطة mado
Hello ,

Try to set it

كود: تحديد الكل

$config['sess_save_path'] = sys_get_temp_dir();
Best Regards ,
Mado

PHP Error was encountered when trying CodeIgniter-3x

مرسل: 02 أغسطس 2017, 16:28:51
بواسطة kareem
mado كتب:Hello ,

Try to set it

كود: تحديد الكل

$config['sess_save_path'] = sys_get_temp_dir();
Best Regards ,
Mado
Hello Mado,

Thank you for reply.

I tried that, it didn't solve the problem.

Regards
kareem