12.20.2011

I moved Zen Cart to another server and now I can't log into Admin

I moved Zen Cart to another server and now I can't log into Admin. I receive the following message:

Warning: session_start():
open(C:/inetpub/www/html/store/cache\sess_9c55d6959e5e3469e810f35b66e455bb, O_RDWR) failed:
No such file or directory (2) in D:\inetpub\www\zencart\includes\functions\sessions.php on line 111


SOLUTION:
a. Use this utility for the easy way:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=82

or
b. do it manually:
Use phpMyAdmin, and run the following:

UPDATE configuration set
configuration_value='D:\\inetpub\\www\\zencart\\cache' where
configuration_key='SESSION_WRITE_DIRECTORY';

Make sure you set the info within the quotes to the real path to the "cache" folder within your zencart subdirectory on your webspace.

No comments:

Post a Comment