Zen Cart Logo
Forums / General Questions / Admin Problem was working but now... errors what do they mean

Admin Problem was working but now... errors what do they mean

Locked

Views: 1,079

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
28 Jan 2008, 7:17 AM
#1
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Admin Problem was working but now... errors what do they mean

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/usr/home/vhakes/public_html/cache) is not within the allowed path(s): (/home/twincity:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/twincity/public_html/store/includes/functions/sessions.php on line 156

The admin was working but now these errors come up --- what am I to do to correct this.

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/sitename/public_html/store/includes/functions/sessions.php:156) in /home/sitname/public_html/store/includes/functions/sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sitname/public_html/store/includes/functions/sessions.php:156) in /home/sitename/public_html/store/includes/functions/sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /home/sitename/public_html/store/includes/functions/sessions.php:156) in /home/sitename/public_html/store/admin/includes/init_includes/init_templates.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/sitename/public_html/store/includes/functions/sessions.php:156) in /home/sitename/public_html/store/admin/includes/functions/general.php on line 21

C

28 Jan 2008, 7:26 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Admin Problem was working but now... errors what do they mean

cshart:

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/usr/home/vhakes/public_html/cache) is not within the allowed path(s): (/home/twincity:/usr/lib/php:/usr/local/lib/php:/tmp)

In your admin, your Session Directory appears to be set to point to /usr/home/vhakes/public_html/cache but your site is really running from the /home/twincity folder instead, and thus your Session Directory would be more accurately set if it were something like /home/twincity/public_html/cache

This mismatch typically only happens when your site is moved to another server.

Since you said you can't get into your admin, you can have this fixed for you by using the fix_cache_key utility:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_54&products_id=82