BillS Posted May 8, 2007 Share Posted May 8, 2007 After performing a default install and trying to access the admin panel (http://localhost/catalog/admin/index.php), I receive the following errors: Parse error: parse error, expecting `','' or `';'' in /srv/www/htdocs/catalog/admin/includes/classes/sessions.php on line 33 Fatal error: Call to undefined function: session_set_save_handler() in /srv/www/htdocs/catalog/admin/includes/functions/sessions.php on line 63 The line in question for the parse error is: var $cookie_path = substr(DIR_WS_ADMIN, 0, -1); I have compared the files, including the admin/includes/configure.php file, with the virgin downloaded files and found no differences. What have I missed? Link to comment Share on other sites More sharing options...
♥Vger Posted May 8, 2007 Share Posted May 8, 2007 session_set_save_handler() Try reloading admin/includes/functions/sessions.php Vger Link to comment Share on other sites More sharing options...
BillS Posted May 9, 2007 Author Share Posted May 9, 2007 Try reloading admin/includes/functions/sessions.php Vger Vger - Thanks for the quick reply. I downloaded a fresh file from a different mirror and installed it in the admin/includes/functions directory. However, I still get the same two errors. Any further suggestions? BillS Link to comment Share on other sites More sharing options...
♥FWR Media Posted May 9, 2007 Share Posted May 9, 2007 Imo admin/includes/classes/sessions has a php error that is before session_set_save_handler() and therefore the function is not loading. Upload a fresh admin/includes/classes/sessions.php Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
BillS Posted May 14, 2007 Author Share Posted May 14, 2007 Imo admin/includes/classes/sessions has a php error that is before session_set_save_handler() and therefore the function is not loading. Upload a fresh admin/includes/classes/sessions.php Something else must be going on - I have downloaded both sessions.php files from the other linux mirror and installed them in their respective folders. I am using SuSE Linux Enterprise Server 9 with php4. I still get the same two errors. I have looked at the code setting the DIR_WS_ADMIN value, and see nothing wrong with it. While I am waiting to see if anyone has any other ideas, I'll reinstall oscommerce from scratch with the file set from the European mirror. BTW, I assume I am accessing the admin part of the site correctly: catalog/admin/index.php. I could not find any admin link on the home page of the site. Link to comment Share on other sites More sharing options...
♥FWR Media Posted May 14, 2007 Share Posted May 14, 2007 Bill The default catalog/admin/includes/classes/sessions.php has no parse errors. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.