Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please Help! Moving folders...


nokaNET

Recommended Posts

Hi, I'm new at this and I just moved the catalog folder to a new URL. ...Bad idea :'( I installed new MySql, downloaded OSC 2 and copied the install folder to my old folder. I then ran the install and it looks like it did the trick. However, I'm receiving the following erros:

 

Warning: session_start(): open(SESSION_WRITE_DIRECTORY/sess_9a106590150ab73923e2a5959161780f, O_RDWR) failed: No such file or directory (2) in /home/autosour/public_html/inventory/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/autosour/public_html/inventory/includes/functions/sessions.php:67) in /home/autosour/public_html/inventory/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/autosour/public_html/inventory/includes/functions/sessions.php:67) in /home/autosour/public_html/inventory/includes/functions/sessions.php on line 67

 

And I can't login to the OSC admin control panel. I tried the old passwords and the defaults but it didn't work.

 

Can someone please help me. Help! SOS Help! :o

Link to comment
Share on other sites

Store sessions in the database.

 

Change two versions of the configure.php file in

 

catalog/includes/

catalog/admin/includes/

 

at the bottom of each file change the define for sessions to 'mysql'.

 

HTH

Tom

Link to comment
Share on other sites

Hey, Tom - It worked! :D You're the man! Thank you, thank you, thank you.

 

...but I still can't login to my admin panel. I used the default user name and pass, as well as my old ones but I can't get in. Is there a file I can lookin to find this info or can I reset it somewhere?

 

Thanks again and Aloha!

Link to comment
Share on other sites

Hi Norman,

 

 

The admin login user/password depends upon what method you or your host has setup for you. Oscommerce does not provide a security protection scheme.

 

If you are managing your website with a control panel provided by your host (like cPanel), then you should be able to travers to the admin folder and choose security/permissions etc. from the cpanel menus and manage the access to that folder (delete and re-add a users etc.). You might also try traversing to the admin folder and right click with you mouse to see if a popup menu will provide "permissions/users".

 

If you are running with an apache webserver then you might have a .htaccess file in the admin folder that controls users and tells apache wher the password file is. There is a contribution in the oscommerce contrib section that describes .htaccess stuff as well as lots of info on the internet.

 

The quickest way to solve this is contact your host and ask him how he has the admin folder protected. Also, when entering user name and password, remember upper and lowcase counts. (unset your caps lock key). You can also delete the .htaccess file in the admin folder for unlimited access and reset later or install a contribution called "admin with access levels".....search in contrib section.

 

HTH

Tom

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...