Portal Home > Knowledgebase > Articles Database > problem with php sessions
Posted by joaoaroso, 12-02-2007, 12:26 PM Hello, I'm having some problems configuring my server sessions in php. Server espec: WHM 11.2.0 cPanel 11.11.0-S18033 CENTOS Enterprise 4.5 i686 on standard - WHM X v3.1.0 PHP version 5.2.4 MySQL version 4.1.22-standard Apache version 1.3.39 (Unix) Sessions def. in php.ini: Register globals are ON First I recieved about 7 e-mails from clients saying that in joomla pre instllation teste sessions.save_path was unwritable. I went to /temp created a sessions folder and chmoded it to 777 After that they still can't login on the admin area Error: Warning: session_start() [function.session-start]: Cannot find save handler files in /home/asasdosa/public_html/site00/administrator/index.php on line 111 From what I could read on-line in joomla this means that clients can't save sessions file in the session.save_path although it is writable. But never saw a solution for it, because it was all client oriented. All the solutions were contact your isp. Well they did contact, but the isp doesn't know how to fix it Could you please help? Thank you, absolut
Posted by holmesa, 12-05-2007, 05:49 PM I think the best way to proceed is to overwrite the default session path for a joomla installation. Edit your .htaccess file php_value session.save_path '/home/yourname/domains/public_html/sessions' Or I am trying to recall there is a variable in joomla that you can add to the configuration.php $session_save_path = '/home/yourname/domains/public_html/sessions';
Add to Favourites Print this Article