jcorrea920 Posted June 6, 2007 Posted June 6, 2007 This is the warning message I get at the top of the admin login page. Warning: session_start() [function.session-start]: open(tmp//sess_cbc24768b475ff456c57a471fe19709c, O_RDWR) failed: No such file or directory (2) in /var/www/web31/web/admin/includes/functions/sessions.php on line 103 Warning: The sessions directory does not exist: tmp/. Sessions will not work until this directory is created. I triple checked and tmp/ directory is just fine. 777 permissions and exists. When I try to login It just refreshes the login page without actually granting me access to the control panel. Email & Password are correct because if you enter the wrong credential you get an error message that is in red saying so. Would appreciate any help. Thanks in advance.. :'(
jcorrea920 Posted June 6, 2007 Author Posted June 6, 2007 Apparently osCommerce will not work right on our web server if you select "Files" for session management on install. To solve this reinstall and select "Database" for session management. Thanks a million for such a wonderful program.... :thumbsup:
mattwa Posted June 7, 2007 Posted June 7, 2007 Apparently osCommerce will not work right on our web server if you select "Files" for session management on install. To solve this reinstall and select "Database" for session management. Thanks a million for such a wonderful program.... :thumbsup: To be fair, they tell you not to use file based session management if you are on a shared server if you click the help icon next to where you select it.
RyanH Posted June 7, 2007 Posted June 7, 2007 The solution was MUCH easier than re-adding the install folder. You can EASILY edit configure.php in your catalog/includes folder and catalog/admin/includes to change the session management. It WILL work in files mode, but you didn't create a directory called tmp/, therefore making file management of sessions impossible. And agian, to be fair as mattwa stated, it does recommend use of the database for session management.
jcorrea920 Posted June 7, 2007 Author Posted June 7, 2007 The solution was MUCH easier than re-adding the install folder. You can EASILY edit configure.php in your catalog/includes folder and catalog/admin/includes to change the session management. It WILL work in files mode, but you didn't create a directory called tmp/, therefore making file management of sessions impossible. And agian, to be fair as mattwa stated, it does recommend use of the database for session management. Take a look at the original post: ...I triple checked and tmp/ directory is just fine. 777 permissions and exists. ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.