PHP Error was encountered when trying CodeIgniter-3x

الإشعارات من الإدارة عن المشكلات الخاصة باستضافة aba.ae
kareem
Posts: 3
Joined: 22 Jun 2017, 15:16:24
Reputation: 0
Gender: None specified
User Agent: Firefox Windows 1920x1080

PHP Error was encountered when trying CodeIgniter-3x

Postby kareem » 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

CodeColon Select All Code

$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 :

CodeColon Select All Code

$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
mado
Posts: 8
Joined: 04 Apr 2017, 10:26:58
Reputation: 0
Gender: None specified
User Agent: Chrome Windows 1680x1050

PHP Error was encountered when trying CodeIgniter-3x

Postby mado » 26 Jul 2017, 12:08:38

Hello ,

Try to set it

CodeColon Select All Code

$config['sess_save_path'] = sys_get_temp_dir();


Best Regards ,
Mado
kareem
Posts: 3
Joined: 22 Jun 2017, 15:16:24
Reputation: 0
Gender: None specified
User Agent: Firefox Windows 1920x1080

PHP Error was encountered when trying CodeIgniter-3x

Postby kareem » 02 Aug 2017, 16:28:51

mado WroteColonHello ,

Try to set it

CodeColon Select All Code

$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

Return to “خدمة عملاء ABA.ae”

Who is online

Users browsing this forum: No registered users and 1 guest