Zen Cart Logo
Forums / General Questions / Moved Zen to new server - small error

Moved Zen to new server - small error

Locked

Views: 1,147

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Jun 2007, 3:43 AM
#1
syn avatar

syn

New Zenner

Join Date:
Jun 2007
Posts:
10
Plugin Contributions:
0

Moved Zen to new server - small error

I've moved my zen cart to a new domain/server and transferred the database and the files over. Everything went well with exception of a few error messages I'm getting that I don't understand.

The first error is when accessing the index page of the shop. It reads:

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/home//public_html/dragonshoard.dragonhearthall/cache) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/krfpioj/public_html/hoard/includes/functions/sessions.php on line **151

**Now, please note this (as it might be contributing to the problem). In the above quoted error message, the first instance of *****'s you see is from the original domain/server. The second is the new location for the zen cart. How do I change that so its not looking for the information from the old location?

The next set of errors I get is when I try to access the admin cp. They say:

Warning: main() [function.main]: open_basedir restriction in effect. File(/home//public_html/dragonshoard.dragonhearthall/includes/autoload_func.php) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/krfpioj/public_html/hoard/admin/includes/application_top.php on line 147

Warning: main(/home//public_html/dragonshoard.dragonhearthall/includes/autoload_func.php) [function.main]: failed to open stream: Operation not permitted in /home//public_html/hoard/admin/includes/application_top.php on line 147

Warning: main() [function.main]: open_basedir restriction in effect. File(/home//public_html/dragonshoard.dragonhearthall/includes/autoload_func.php) is not within the allowed path(s): (/home/krfpioj:/usr/lib/php:/usr/local/lib/php:/tmp) in /home//public_html/hoard/admin/includes/application_top.php on line 147

Warning: main(/home//public_html/dragonshoard.dragonhearthall/includes/autoload_func.php) [function.main]: failed to open stream: Operation not permitted in /home//public_html/hoard/admin/includes/application_top.php on line 147

Fatal error: main() [function.require]: Failed opening required '/home//public_html/dragonshoard.dragonhearthall/includes/autoload_func.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home//public_html/hoard/admin/includes/application_top.php on line **147

**Again, note that the dragonshoard.dragonhearthall is not the location of this zen cart.

Any assistance provided is very appreciated :)

15 Jun 2007, 4:13 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Moved Zen to new server - small error

FAQ on moving to a new server:
https://www.zen-cart.com/tutorials/index.php?article=100

Your first problem is related to a database setting that points to a folder on your old server, which is usually fixable by running the fix_cache_key utility mentioned in the FAQ above.

15 Jun 2007, 10:23 PM
#3
syn avatar

syn

New Zenner

Join Date:
Jun 2007
Posts:
10
Plugin Contributions:
0

Re: Moved Zen to new server - small error

Thank you for your response. That worked :)