Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2008
    Posts
    7
    Plugin Contributions
    0

    Default Admin OK but no store - after switching servers.

    I have upgraded form a shared hosting plan to a VPS.
    I am trying to make sure everything works before the domain name propagates.

    I uploaded exactly the same site, and database. I also tried re-importing the database.

    Now I can access the admin panel, no problem.
    But when i try to access the store, i get the System Setup page (Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information ...)

    The only thing I changed in my config files is the website. As I am using the ip address while the domain name propagates.
    The database info is the same.
    The absolute path is the same.

    Any help would be appreciated.
    I will post my code below...


    Thanks
    Erynn


    ----------------------------

    define('HTTP_SERVER', 'http://my.ip.address');
    define('HTTPS_SERVER', 'https://my.ip.address');
    define('HTTP_CATALOG_SERVER', 'http://my.ip.address');
    define('HTTPS_CATALOG_SERVER', 'https://my.ip.address');

    // 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', '/catalog/admin/');
    define('DIR_WS_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/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/');

    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/var/www/vhosts/mysite.com/httpdocs/catalog/admin/');
    define('DIR_FS_CATALOG', '/var/www/vhosts/mysite.com/httpdocs/catalog/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/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', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'myusername');
    define('DB_SERVER_PASSWORD', 'mypassword');
    define('DB_DATABASE', 'centurys_century');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/var/www/vhosts/mysite.com/httpdocs/catalog/cache');

    // EOF
    -----------------------------------


    define('HTTP_SERVER', 'http://my.ip.address');
    define('HTTPS_SERVER', 'https://my.ip.address');

    // 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', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/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', '/');

    // * 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/store/
    define('DIR_FS_CATALOG', '/var/www/vhosts/mysite.com/httpdocs/catalog/');

    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/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'myusername');
    define('DB_SERVER_PASSWORD', 'mypassword');
    define('DB_DATABASE', 'centurys_century');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // 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', 'none');
    define('DIR_FS_SQL_CACHE', '/var/www/vhosts/mysite.com/httpdocs/catalog/cache');

    // EOF

    ------------------

  2. #2
    Join Date
    Sep 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: Admin OK but no store - after switching servers.

    Are you SURE the paths are correct? Different servers will have different paths.

    The error is a big clue:
    /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information ...

 

 

Similar Threads

  1. Replies: 1
    Last Post: 22 Oct 2011, 01:13 AM
  2. Who's_Online Not Functioning Properly after Switching Servers
    By Green Daisies in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 19 Mar 2010, 05:57 PM
  3. PayPal IPN Security Measure problem after switching servers
    By Gloria in forum Addon Payment Modules
    Replies: 3
    Last Post: 2 Mar 2007, 04:25 PM
  4. Switching Servers - No Admin Login
    By buzz_fluheart in forum Installing on a Windows Server
    Replies: 0
    Last Post: 19 Nov 2006, 07:39 PM
  5. Errors after switching servers and upgrading
    By chrisb in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 12 Nov 2006, 04:43 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR