Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Upgrading from 1.3.x to 1.3.9 / Multiple upgrade attempts - still not working

Multiple upgrade attempts - still not working

Locked

Started by booghaboobaby on 14 Apr 2011, 4:49 AM · Views: 1,301

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
14 Apr 2011, 4:49 AM
#1
booghaboobaby avatar

booghaboobaby

New Zenner

Join Date:
Nov 2006
Posts:
51
Plugin Contributions:
0

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
14 Apr 2011, 6:30 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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.

14 Apr 2011, 7:04 AM
#3
booghaboobaby avatar

booghaboobaby

New Zenner

Join Date:
Nov 2006
Posts:
51
Plugin Contributions:
0

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)?

14 Apr 2011, 12:31 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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.

15 Apr 2011, 4:17 AM
#5
booghaboobaby avatar

booghaboobaby

New Zenner

Join Date:
Nov 2006
Posts:
51
Plugin Contributions:
0

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?

15 Apr 2011, 4:37 AM
#6
booghaboobaby avatar

booghaboobaby

New Zenner

Join Date:
Nov 2006
Posts:
51
Plugin Contributions:
0

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?

15 Apr 2011, 2:09 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Multiple upgrade attempts - still not working

booghaboobaby:

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.