Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 1.5.x / Still trying to get the site running normally since upgrade 1.3.9h -> 1.5.4

Still trying to get the site running normally since upgrade 1.3.9h -> 1.5.4

Locked
This thread is locked. New replies are disabled.
12 May 2016, 11:55 PM
#1
kenton avatar

kenton

New Zenner

Join Date:
Sep 2011
Posts:
38
Plugin Contributions:
0

Post #1 by kenton

Still having a multitude of problems ....
What version of Zen Cart are you using? 1.5.4
Has your site been upgraded? When? From what version(s)? Yes 1.3.9h
If you've upgraded, HOW did you upgrade? (official upgrade procedure or an automated script from your hosting company?) Automated Script
What plugins/addons have you installed? When? If your problems are payment-related, what payment module(s) are you using? If it's shipping-related, which shipping module(s) are you using? Can't see modules any more (stock by attribute etc)
If your problems are language-pack related (non-English), have you checked that all the language files are loaded and correct?N/A
HOW did you install Zen Cart? (upload via FTP and run zc_install, or a one-click install from your hosting company? (one-click installs might mean you don't have enough information about your site/server to make customizations easily))one-click
What version of PHP and MySQL is your server using? (See Admin->Tools->Server Info)5.6.19
WHEN did the problem "start"? How does that compare with other events of your hosting company, changes you've made to your site files/addons, or your admin settings, etc?Since I stuffed the upgrade. I had my admin directory a different name
Please post the contents of related "debug logs" generated by Zen Cart

[10-May-2016 21:47:54 America/Los_Angeles] PHP Warning:  require(includes/init_includes/init_cache_key_check.php): failed to open stream: No such file or directory in /zzzzzzzzzzzz/includes/autoload_func.php on line 48
[10-May-2016 21:47:54 America/Los_Angeles] PHP Fatal error:  require(): Failed opening required 'includes/init_includes/init_cache_key_check.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /zzzzzzzzzzzz/includes/autoload_func.php on line 48

If this is your first store, have you tested all aspects of transactions before going live?
In what ways is your site customized or different from a brand new uncustomized install?
Please post your site URL* so we can take a look at it. This is especially important if you're encountering display/layout problems, so the problem can be seen directly. https://www.skysports.com.au
If you're encountering problems that could be related to your server or hosting company, include the name of your hosting company (not their URL).

I'm thinking it may be best if I just do a vanilla install. If it is, what's the best way of doing this?

13 May 2016, 12:27 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Post #2 by frank18

Kenton:

If you've upgraded, HOW did you upgrade? (official upgrade procedure or an automated script from your hosting company?) **Automated Script **

Never, never use these auto scripts to update a ZC site

Kenton:

[10-May-2016 21:47:54 America/Los_Angeles] PHP Warning: require(includes/init_includes/init_cache_key_check.php): failed to open stream: No such file or directory in /zzzzzzzzzzzz/includes/autoload_func.php on line 4
[10-May-2016 21:47:54 America/Los_Angeles] PHP Fatal error: require(): Failed opening required 'includes/init_includes/init_cache_key_check.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /zzzzzzzzzzzz/includes/autoload_func.php on line 48


That indicates that the file includes/init_includes/init_cache_key_check.php does not exists on your server

> **Kenton:**
>
> If you're encountering problems that could be related to your server or hosting company, include the name of your hosting company (not their URL).
> 
> I'm thinking it may be best if I just do a vanilla install. If it is, what's the best way of doing this?

You may want to download a full file set and copy the missing file to that location first. Chances are that you will encounter further problems after you have done that.

Cheers / Frank (from up the road)

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 May 2016, 12:53 AM
#3
kenton avatar

kenton

New Zenner

Join Date:
Sep 2011
Posts:
38
Plugin Contributions:
0

Post #3 by kenton

frank18:

That indicates that the file includes/init_includes/init_cache_key_check.php does not exists on your server

Yes, but it's not in my download either which is the latest 1.5.4. That is what I checked first.

13 May 2016, 1:04 AM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Post #4 by frank18

Kenton:

Yes, but it's not in my download either which is the latest 1.5.4. That is what I checked first.

My bad, it is not in the set... I even think that file was made obsolete some time ago, but not sure (too many versions ago..... all my stores and my client's stores are running on 1.5.5a)

Here is a zip of that file:Attachment #16308

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 May 2016, 1:32 AM
#5
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Post #5 by frank18

frank18:

My bad, it is not in the set...

Yes, it is in the set, specifically in the admin/includes/init_includes/ folder - may have looked into the store folder instead of the admin folder......

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 May 2016, 12:47 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #6 by mc12345678

Yeah, as frank said, you could continue to upload files identified as missing to then come across some other issue. More than likely the one-click install didn't merge old files with new ones and therefore just that alone would have affected your plugin install, but also there was a change from ZC 1.3.9 to 1.5.x that requires different action/information for plugins to appear in the admin.

As far as a vanilla install, that is/would have been the way to go the first time at least to address the software issues. The guidance for such a install/upgrade can be found at: http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

13 May 2016, 2:16 PM
#7
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Post #7 by carlwhat

Kenton:

[10-May-2016 21:47:54 America/Los_Angeles] PHP Warning: require(includes/init_includes/init_cache_key_check.php): failed to open stream: No such file or directory in /zzzzzzzzzzzz/includes/autoload_func.php on line 48
[10-May-2016 21:47:54 America/Los_Angeles] PHP Fatal error: require(): Failed opening required 'includes/init_includes/init_cache_key_check.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /zzzzzzzzzzzz/includes/autoload_func.php on line 48


i think something is wrong with your config file.  the includes/autoload_func.php exits on the CATALOG side, while the missing file is on the ADMIN side.  i'm assuming that /zzzzzzzzzzzz/ is your base directory, as that is where its loading the autoload_func.php.  and since there is no indication of an ADMIN directory in the logs, i think that is where your problem actually resides.  unless you have completely deleted the ADMIN directory in the posted log as opposed to merely obfuscating it....

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

13 May 2016, 2:22 PM
#8
drbyte avatar

drbyte

Sensei

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

Post #8 by drbyte

carlwhat:

i think something is wrong with your config file. the includes/autoload_func.php exits on the CATALOG side, while the missing file is on the ADMIN side. i'm assuming that /zzzzzzzzzzzz/ is your base directory, as that is where its loading the autoload_func.php. and since there is no indication of an ADMIN directory in the logs, i think that is where your problem actually resides. unless you have completely deleted the ADMIN directory in the posted log as opposed to merely obfuscating it....
Careful ...

The admin and non-admin both use the same /includes/autoload_func.php file.
They just feed it different data. The data comes from the rules listed in the respective includes/auto_loaders/ folders (admin vs catalog/storefront).
And, some admin components are loaded directly from the non-admin area because they both use the same code for those components.

.
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.

13 May 2016, 2:42 PM
#9
drbyte avatar

drbyte

Sensei

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

Post #9 by drbyte

v154 does indeed attempt to load the init_cache_key_check.php file, from /admin/includes/init_includes/init_cache_key_check.php ... so that file does need to be on your server for it to work.

.
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.

13 May 2016, 2:45 PM
#10
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Post #10 by carlwhat

ok, my mistake. i reproduced the error on my test site, and the admin directory does NOT appear in the logs. which i thought would happen, and hence my conclusion.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

13 May 2016, 2:46 PM
#11
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Post #11 by carlwhat

DrByte:

v154 does indeed attempt to load the init_cache_key_check.php file, from /admin/includes/init_includes/init_cache_key_check.php ... so that file does need to be on your server for it to work.

my conclusion was based on solely thinking the admin directory would show up in the logs; but i have verified that it does not.

i did not mean to imply that the file was not needed or that it would not get loaded....

sorry for any confusion!

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

13 May 2016, 3:04 PM
#12
drbyte avatar

drbyte

Sensei

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

Post #12 by drbyte

No worries.

It's up to Kenton now.

And if one is upgrading to v154, then I'd recommend going all the way to v155.

.
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.

13 May 2016, 10:19 PM
#13
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Post #13 by frank18

DrByte:

.........

And if one is upgrading to v154, then I'd recommend going all the way to v155.

To be honest, exactly that was my first thought when I noted the title of the thread.... why not going the full hog??

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 May 2016, 10:48 PM
#14
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #14 by mc12345678

frank18:

To be honest, exactly that was my first thought when I noted the title of the thread.... why not going the full hog??

Because the host didn't offer an automated install for version 1.5.5............. had same thought but figured getting there would become easier based on the actions/discussion from Kenton.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

6 Jun 2016, 2:06 AM
#15
kenton avatar

kenton

New Zenner

Join Date:
Sep 2011
Posts:
38
Plugin Contributions:
0

Post #15 by kenton

I did a vanilla install of 155a.
Copied files and data from backup to new version.
Had a few issues but all seems pretty much sorted now :)

6 Jun 2016, 2:11 AM
#16
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Post #16 by frank18

Kenton:

I did a vanilla install of 155a.
Copied files and data from backup to new version.
Had a few issues but all seems pretty much sorted now :)

Thanks for letting us know that it is working for you now :smile:

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.