OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: No Access To Admin Panel
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Installation and Configuration
jcorrea920
This is the warning message I get at the top of the admin login page.

CODE
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.. crying.gif
jcorrea920
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.gif
mattwa
QUOTE (jcorrea920 @ Jun 6 2007, 05:56 PM) *
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.gif


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
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
QUOTE (RyanH @ Jun 6 2007, 10:53 PM) *
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:

QUOTE (jcorrea920)
...
I triple checked and tmp/ directory is just fine. 777 permissions and exists.
...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.