Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Problem with Moving Zen (Followed the Help Desk instruction)

    I recently tried to move a zen cart installation to an entirely new server with a new url.

    I edited both configuration pages and fixed the sessions via sql, yet now when I head to the new URL the page says:

    'Not Found
    The requested URL /zc_install/index.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. '

    Any suggestions? I am not looking to re-install Zen, just move the existing installation over, yet it seems to think it is a fresh copy?

    Thanks, Alex

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problem with Moving Zen (Followed the Help Desk instruction)

    Did you rename or delete the /zc_install at some point?

    If missing, reload from the same version that your site is ... if upgrading, reload the whole directory as it sounds like you have a bad file or corrupt file ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Problem with Moving Zen (Followed the Help Desk instruction)

    The ship was functional and installed on another domain, so I deleted the zc_install folder.

    Do I need to actually re-install zen again? I thouhgt it could just be moed?

    Thanks, Alex

  4. #4
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Problem with Moving Zen (Followed the Help Desk instruction)

    The Shop was also functional and installed

  5. #5
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Problem with Moving Zen (Followed the Help Desk instruction)

    Please post your includes/configure.php without your passwords
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  6. #6
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Problem with Moving Zen (Followed the Help Desk instruction)

    [FONT="Arial Narrow"]<?php
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    define('HTTP_SERVER', 'http://headsonic.com');
    define('HTTPS_SERVER', 'https://headsonic.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/home2/badbubba/public_html/headsonic/forum');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/
    define('DIR_FS_CATALOG', '/home2/badbubba/public_html/headsonic/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/home2/badbubba/public_html/headsonic/download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/home2/badbubba/public_html/headsonic/pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . '/home2/badbubba/public_html/headsonic/uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . '/home2/badbubba/public_html/headsonic/email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'badbubba_headson');
    define('DB_SERVER_PASSWORD', 'XXXXXXXXXX);
    define('DB_DATABASE', 'XXXXXXXXX);
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', '/home2/badbubba/public_html/headsonic/cache');

    ?>
    [/FONT]

    All it seems to want to do is re-direct to the install non stop.

    Thankyou!

  7. #7
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: Problem with Moving Zen (Followed the Help Desk instruction)

    These are incorrect:

    Code:
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/home2/badbubba/public_html/headsonic/download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/home2/badbubba/public_html/headsonic/pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . '/home2/badbubba/public_html/headsonic/uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . '/home2/badbubba/public_html/headsonic/email/');
    You shouldn't have /home2/badbubba/public_html/headsonic/ in them... its only the last part you need. DIR_FS_CATALOG which you defined here:

    Code:
    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/
    define('DIR_FS_CATALOG', '/home2/badbubba/public_html/headsonic/');
    Fills in the paths up to that point for you.. so with the way you've defined it its looking for e-mail templates in /home2/badbubba/public_html/headsonic//home2/badbubba/public_html/headsonic/email/

    So.. to fix it change it to this:

    Code:
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
      define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
      define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
      define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
      define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

  8. #8
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Problem with Moving Zen (Followed the Help Desk instruction)

    Thanks for picking that up.

    Have fixed this in includes and admin/includes manually, www.headsonic.com still tries to re-direct to zc_install for some reason.

    I am using an existing database from an old site, the samefiles (transferred with flashfxp) and I did fix the sessions thing in mysql.

  9. #9
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: Problem with Moving Zen (Followed the Help Desk instruction)

    did you also change the configure file in admin/includes/configure.php? you need to change that in order for it to work

  10. #10
    Join Date
    Sep 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Problem with Moving Zen (Followed the Help Desk instruction)

    Yeah I did, here it is.

    [FONT="Book Antiqua"]

    <?php
    //
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://headsonic.com');
    define('HTTPS_SERVER', 'https://headsonic.com');
    define('HTTP_CATALOG_SERVER', 'http://headsonic.com');
    define('HTTPS_CATALOG_SERVER', 'https://headsonic.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', 'admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', 'admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/
    define('DIR_FS_ADMIN', '/home2/badbubba/public_html/headsonic/admin/');
    define('DIR_FS_CATALOG', '/home2/badbubba/public_html/headsonic/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'XXXXXXXXXX');
    define('DB_SERVER_PASSWORD', 'XXXXXXXXXXX');
    define('DB_DATABASE', 'badbubba_headsonic');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', '/home2/badbubba/public_html/headsonic/cache');

    ?>


    [/FONT]


    Thanks Again

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Help Desk software that integrates with my store?
    By aaelghat in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 27 Jun 2017, 11:55 AM
  2. followed instructions for installing slimbox, but having a problem with the last step
    By strugglingnovice in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 27 Jun 2010, 12:52 AM
  3. Significant Issue Moving root - followed instructions
    By ndillane in forum Installing on a Windows Server
    Replies: 3
    Last Post: 12 Jun 2009, 08:00 PM
  4. Help - I followed the instructions and something
    By lilrowo in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 5 May 2008, 09:58 PM
  5. Help Desk Needed
    By sumit.pilankar in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 3 Jan 2008, 01:20 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