Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2006
    Posts
    51
    Plugin Contributions
    0

    Default Multiple upgrade attempts - still not working

    I downloaded the DB for the live site, created a /upgrade folder and downloaded the newest zencart software. I created a new DB and ammended the configure.php files so that the software asked me if I wanted to upgrade my DB. I choose yes and with the exception of about 8-9 skipped lines it successfully upgraded. When I choose continue and then "go to store" or "go to admin" I get the initial zen cart install screen. I tried 6 times and worked 9 hours straight but I always get the same thing. I'm hoping its something as simple as my configure.php file is incorrect? Any suggestions would be greatly appreciated. Here is my configure.php file with private info XXX'd for security:


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

    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.xxx.com');
    define('HTTPS_SERVER', 'https://www.xxx.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', '/upgrade/');
    define('DIR_WS_HTTPS_CATALOG', '/upgrade/');
    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', '/upgrade/');
    // * 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', '/home/content/a/r/e/xxx/html/upgrade');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/upgrade/download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/upgrade/pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . '/upgrade/uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . '/upgrade/email/');
    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'xxx');
    define('DB_SERVER_USERNAME', 'xxxx');
    define('DB_SERVER_PASSWORD', 'xxxx');
    define('DB_DATABASE', 'zenupgrade');
    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', '/home/content/a/r/e/xxx/html/upgrade/cache');
    // EOF

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Multiple upgrade attempts - still not working

    The "initial install screen" only shows up when the system looks like it's new. That can be triggered by either an empty database, or the data in the configure.php files is wrong, either an incorrect db_prefix or incorrect paths; or missing files from your upload.
    The most common problem with website issues is that sometimes FTP uploads will fail (or the download failed and thus you're missing files when trying to upload them to the new folder).
    .

    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
    Nov 2006
    Posts
    51
    Plugin Contributions
    0

    Default Re: Multiple upgrade attempts - still not working

    I deleted and started again completely reloading the software 6 times. 3 of those times when I got the install screen I proceeded to go back to /zc_install and run the "upgrade DB" again with the same result. Does the configure.php file i pasted look correct (obviously minus the pw etc)?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Multiple upgrade attempts - still not working

    Actually, no, the configure.php you posted doesn't look correct. How did you arrive at it? Did you edit the file manually? If so, why?
    .

    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.

  5. #5
    Join Date
    Nov 2006
    Posts
    51
    Plugin Contributions
    0

    Default Re: Multiple upgrade attempts - still not working

    the upgrade instructions said if you don't see the words "upgrade" to modify the configure.php so that it will see your new database you created for your upgrade you are installing in a separate i.e "/upgrade" folder. I modified it with the folder /upgrade and the new DB information. Was that not correct?

  6. #6
    Join Date
    Nov 2006
    Posts
    51
    Plugin Contributions
    0

    Default Re: Multiple upgrade attempts - still not working

    Should i have installed the software in the folder first and then gone back, uploaded the contents of the DB into the newly created DB and then gone through the upgrade procedure/zc_install again?

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Multiple upgrade attempts - still not working

    Quote Originally Posted by booghaboobaby View Post
    Should i have installed the software in the folder first and then gone back, uploaded the contents of the DB into the newly created DB and then gone through the upgrade procedure/zc_install again?
    Yes, that would be more effective.
    .

    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.

 

 

Similar Threads

  1. v154 I just restored to a working date and still not working
    By spawnie69 in forum General Questions
    Replies: 151
    Last Post: 21 Mar 2016, 02:22 AM
  2. v151 Captcha not working, tried uninstalling, still not completing.
    By neophyteuk in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 18 Dec 2014, 05:08 PM
  3. v139h International shipping is STILL not working.. Upgrade new module and still nothing..
    By chameleonclogs in forum Addon Shipping Modules
    Replies: 9
    Last Post: 1 Mar 2013, 12:17 AM
  4. CC fraud with multiple attempts
    By alsmith in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 27 Aug 2008, 12:17 AM

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