Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default 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 :)

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Moved Zen to new server - small error

    FAQ on moving to a new server:
    https://www.zen-cart.com/tutorials/i...hp?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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Moved Zen to new server - small error

    Thank you for your response. That worked :)

 

 

Similar Threads

  1. Replies: 0
    Last Post: 2 Sep 2013, 02:11 AM
  2. v139g Moved to new server. Getting error messages.
    By Allaction in forum Basic Configuration
    Replies: 5
    Last Post: 28 Jul 2012, 12:22 AM
  3. Problems with Zen Cart after Provider moved my website to a new server
    By ingoito in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 27 Apr 2009, 09:28 PM
  4. Moved to new host now I get 'Internal Server Error'
    By stanleymog in forum General Questions
    Replies: 11
    Last Post: 18 Jul 2008, 11:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg