Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / upgrade from 1.3.7 to 1.3.8

upgrade from 1.3.7 to 1.3.8

Locked

Views: 3,585

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
19 Feb 2008, 5:12 AM
#1
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

upgrade from 1.3.7 to 1.3.8

After upgrading I am getting a blank page and followed the directions in the forum to get the error to display when I go to
https://www.aphrodisia.com.au/store_new/shop

Warning: include(store_new/shop/includes/auto_loaders/config.core.php): failed to open stream: No such file or directory in /hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/includes/application_top.php on line 90 Warning: include(): Failed opening 'store_new/shop/includes/auto_loaders/config.core.php' for inclusion (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/includes/application_top.php on line 90 Warning: dir(store_new/shop/includes/auto_loaders): failed to open dir: No such file or directory in /hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/includes/application_top.php on line 91 Warning: require(store_new/shop/includes/counter.php): failed to open stream: No such file or directory in /hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/includes/application_top.php on line 124 Fatal error: require(): Failed opening required 'store_new/shop/includes/counter.php' (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/includes/application_top.php on line 124

Are these all bugs?

19 Feb 2008, 9:22 AM
#2
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

I suspect the problem is in your /includes/configure.php file. Do you have a copy of the old file from v1.3.7 available? If so take a look at the following entries:
define(DIR_WS_CATALOG', '/');
define(DIR_WS_HTTPS_CATALOG', '/');

Do they read different than the same entry in your v1.3.8 file?
Assuming you did a normal upgrade to v.1.3.8 and did not change servers or folder locations then change these entries in V1.3.8 to match your old settings.

If you are having similar problems in admin, check /admin/includes/configure.php for the same entries.

19 Feb 2008, 10:08 AM
#3
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

This is what I have just updated to reflect the file paths under the test folder store_new.

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

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'store_new/shop/download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'store_new/shop/pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'store_new/shop/images/uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'store_new/shop/email/');

I have the similar entries for the shop/admin/includes config files.

I just updated this there has been no change, could be my cache on my pc.

Please check the above is anything is incorrect, my eyes are going barry from the screen. Late night here in Australia. :smile:

19 Feb 2008, 10:14 AM
#4
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

define('DIR_WS_CATALOG', 'store_new/shop/');

('DIR_FS_CATALOG', '/hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/');

In the includes file.

If it helps here is the admin/includes/config file

define('DIR_WS_ADMIN', 'store_new/shop/admin/');
define('DIR_WS_CATALOG', 'store_new/shop/');
define('DIR_WS_HTTPS_ADMIN', 'store_new/shop/admin/');
define('DIR_WS_HTTPS_CATALOG', 'store_new/shop/');

define('DIR_WS_IMAGES', 'store_new/shop/images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'store_new/shop/admin/images/icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'store_new/shop/images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'store_new/shop/includes/templates/classic/');
define('DIR_WS_INCLUDES', 'store_new/shop/includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'store_new/shop/admin/includes/boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'store_new/shop/admin/includes/functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'store_new/shop/admin/includes/classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'store_new/shop/admin/includes/modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'store_new/shop/includes/languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'store_new/shop/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/store/
define('DIR_FS_ADMIN', '/hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/admin/');
define('DIR_FS_CATALOG', '/hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/');

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

19 Feb 2008, 10:40 AM
#5
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

I reverted back to the old config files 1.3.7 without changing the file paths.

define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

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', '/hsphere/local/home/houseofd/aphrodisia.com.au/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/store/
define('DIR_FS_CATALOG', '/hsphere/local/home/houseofd/aphrodisia.com.au/shop/');

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

The shop is displaying, it is drawing files from the already setup shop cart under the domain https://www.aphrodisia.com.au/shop

I await your response as I wanted to be specific with the config files.

19 Feb 2008, 11:23 AM
#6
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

Well, I see you posted some more info while I was composing this very long response. It looks like you are getting back on track. Anyway, here are my recommendations. Sorry for the length.

It sounds like you have a temporary folder called store_new. So I take it you have not upgraded your live website yet, but are putting together a v1.3.8 separately, right?

You can do that, and you can view it online, but it complicates things a bit in helping your sort out this issue.

I am going to assume your live site is at http://aphrodisia.com.au/shop/.
I'm also assuming that your v.1.3.8 has been placed at http://aphrodisia.com.au/store_new/shop/

The only entries you needed to check and change were:

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

Your change to:
define('DIR_FS_CATALOG', '/hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/'); looks okay.

Based on the above, I "think" define('DIR_WS_CATALOG.... etc. should read:
define('DIR_WS_CATALOG', 'store_new/shop/');
Likewise, define('DIR_WS_HTTPS_CATALOG'..... should read
define('DIR_WS_HTTPS_CATALOG', 'store_new/shop/');

all the others should have been left in their default settings.

Reset the following back to this:

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

Note, if my assumptions about you setting up v1.3.8 as a separate test site are correct, then when you move the files up to /shop to update your live website you are going to have to change
define('DIR_WS_CATALOG', 'store_new/shop/');
to
define('DIR_WS_CATALOG', 'shop/');

and change
define('DIR_WS_HTTPS_CATALOG', 'store_new/shop/');
define('DIR_WS_HTTPS_CATALOG', 'shop/');

Similar changes need to be applied to admin/configure.php.

In the future, unless you are doing some extensive revamping of your website at the same time you upgrade, I recommend that you simply run the upgrade script to install over your current website files. Each ZenCart upgrade is very throroughly vetted before being posted and you should enounter no problems upgrading unless you have made modifications to the core files or have modified default_template files instead of using the template override method.

If you have modified the default_template files, now is the time to brush up on the template override system and start using that method. It will make future upgrading much easier.

Don't take this a being critical of your methods. I've done exactly the same thing myself, but have resolved not to do it that way again. Sometimes we can be overly cautious. In my opinion, the better way to assure I don't crash my website during an upgrade is to simply make a backup of the site just before upgrading. If the new install crashes, I can always restore using the backup and then go figure what happened and try again later.

Ron

19 Feb 2008, 11:36 AM
#7
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

thanks, I will give it a go.
I'll try it tonight. right now.

19 Feb 2008, 11:51 AM
#8
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

this has changed some things the site templates are not in place or images.

https://www.aphrodisia.com.au/store_new/shop which is the temp folder for setup.

Any ideas what I have done now.

19 Feb 2008, 12:07 PM
#9
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

My admin is not displaying either at https://www.aphrodisia.com.au/store_new/admin

This is the config settings for admin/configure.php

define('DIR_WS_ADMIN', 'store_new/shop/admin/');
define('DIR_WS_CATALOG', 'store_new/shop/');
define('DIR_WS_HTTPS_ADMIN', 'store_new/shop/admin/');
define('DIR_WS_HTTPS_CATALOG', 'store_new/shop/');

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/store/
define('DIR_FS_ADMIN', '/hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/admin/');
define('DIR_FS_CATALOG', '/hsphere/local/home/houseofd/aphrodisia.com.au/store_new/shop/');

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

19 Feb 2008, 1:21 PM
#10
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

r u going to reply soon, awaiting on a response. is it better if I just go and transfer the 1.3.8 files over the top of the live shop cart: I need a fast response as this is a clients site and at present from me upgrading orders or not displaying in admin , she has freaked out over it and I have said give me three days to sort this out, I am now on the last day. Your assistance will be much appreciated even will opt to pay for urgency of service. I really dont care at this stage I just want to see a smile on the clients face she reckons before me has paid developer at 20 k to keep this site going with not much in sales or ROI, I have referred her to change softwares but she wants to stick with this as she has pile her money into it. I am also not going to be had by a software.

I just need to get this sorted so I can get some sleep and have a happy customer.
PLease help fast. :frusty:

19 Feb 2008, 4:51 PM
#11
kaleidoscopecards avatar

kaleidoscopecards

New Zenner

Join Date:
Oct 2006
Location:
Ohio
Posts:
24
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

Wow... I haven't been part of this conversation so far and maybe I should just keep my nose out of it, but I found the last response sort of rude. Please remember that this forum is a way for all of us ZenCart users to help each other, and as we are not paying for this service, it is unfair to expect an immediate response. I myself am here looking for assistance, but I would never expect an immediate response, even from someone I was paying to do work for me. We all have lives outside of our computers (or hopefully we do) and to keep this board civil it would be great to keep this in mind when composing a message... as frustrating as our current circumstances may be.

Kindly,
Another ZenCart user (who doesn't know how to fix her problem)

20 Feb 2008, 4:18 AM
#12
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

:clap::clap:

I have done it.

I have found where the error is:

If anybody has this same problem this his how to fix. I placed a backslash in the file name.

/store_new/shop

Now my config files read:

define('DIR_WS_CATALOG', '/store_new/shop/');
define('DIR_WS_HTTPS_CATALOG', '/store_new/shop/');

and my admin config file reads

define('DIR_WS_ADMIN', '/store_new/shop/admin/');
define('DIR_WS_CATALOG', '/store_new/shop/');
define('DIR_WS_HTTPS_ADMIN', '/store_new/shop/admin/');
define('DIR_WS_HTTPS_CATALOG', '/store_new/shop/');

My store has now been upgraded successfully.

I feel good now. so stressing when it is something so small as a back slash in the file. :D

20 Feb 2008, 4:22 AM
#13
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

sorry for coming across rude. I didn't mean to offend.
:lamo:

25 Feb 2008, 7:41 AM
#14
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: upgrade from 1.3.7 to 1.3.8

Glad to hear it. That was a good catch.

I apologize, I didn't put the leading forward-slash in my examples. It's the really little things that catch us offguard.

Ron