Zen Cart Logo
Forums / Upgrading to 1.5.x / Blank Page after Upgrading

Blank Page after Upgrading

Views: 1,423

Results 1 to 6 of 6
18 Sep 2013, 2:35 PM
#1
klingstedtbrothers avatar

klingstedtbrothers

New Zenner

Join Date:
Jan 2008
Location:
Canton, Ohio
Posts:
24
Plugin Contributions:
0

Blank Page after Upgrading

Log:
[18-Sep-2013 07:26:27] PHP Fatal error: include() [<a href='function.include'>function.include</a>]: Cannot redeclare class querycache in /home/content/80/6628180/html/privatestore/includes/autoload_func.php on line 60

I've re-uploaded this file several times.

Here is the line it claims the error is occuring:

if (file_exists($classPath . $entry['loadFile'])) include($classPath . $entry['loadFile']); else $debugOutput .= 'FAILED: ';

Any help would be appreciated. Thanks!

18 Sep 2013, 8:29 PM
#2
klingstedtbrothers avatar

klingstedtbrothers

New Zenner

Join Date:
Jan 2008
Location:
Canton, Ohio
Posts:
24
Plugin Contributions:
0

Re: Blank Page after Upgrading

There are no customizations in the file, it's a fresh copy from the download. Any help would be greatly appreciated. I have no idea what any of that means.

19 Sep 2013, 5:38 PM
#4
klingstedtbrothers avatar

klingstedtbrothers

New Zenner

Join Date:
Jan 2008
Location:
Canton, Ohio
Posts:
24
Plugin Contributions:
0

Re: Blank Page after Upgrading

dbltoe:

You might want to start at http://www.zen-cart.com/showthread.php?200507-query_factory-php-on-line-46-errors-when-upgrade-from-150-to-151&p=1152949#post1152949

Thanks for the reply. I've read that thread, but I don't really understand what I'm supposed to do. I tried deleting all the files except my template files and the config files and re-uploading a fresh copy of 1.5.1, but that just made it worse. Now neither the front or back end are working. The catalog page (which was blank before) now is the "System Setup Required" page, even though I've done the install. This is the error I'm getting now from the blank admin page:

[19-Sep-2013 09:44:09] PHP Warning:  require(/home/content/k/b/w/kbwebdesign/html/privatestore/includes/autoload_func.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/content/80/6628180/html/privatestore/admin/includes/application_top.php on line 147
[19-Sep-2013 09:44:09] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/content/k/b/w/kbwebdesign/html/privatestore/includes/autoload_func.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/80/6628180/html/privatestore/admin/includes/application_top.php on line 147

I'm upgrading my php from 5.2 to 5.3, hopefully that will make a difference. The includes/autoload_func.php file doesnt even exist on the server anymore, and is not included with a fresh install of 1.5.1. The admin version doesn't exist there either since the admin folder is now renamed. I wish I knew where this stuff was being incorrectly referenced, because I've double checked the config files and they are both correct. I've also cleared by browser cache. Maybe the template overrides? I wouldn't even know where to start.

19 Sep 2013, 5:50 PM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,808
Plugin Contributions:
15

Re: Blank Page after Upgrading

KlingstedtBrothers:

I'm upgrading my php from 5.2 to 5.3, hopefully that will make a difference. The includes/autoload_func.php file doesnt even exist on the server anymore, and is not included with a fresh install of 1.5.1. The admin version doesn't exist there either since the admin folder is now renamed. I wish I knew where this stuff was being incorrectly referenced, because I've double checked the config files and they are both correct. I've also cleared by browser cache. Maybe the template overrides? I wouldn't even know where to start.:shocking:
This is why we need answers to the posting tips. 1.5.1 is gonna bomb with anything lower than 5.2.14.
I hope you are not using a script installer.
Please answer as many of the posting tip items as you can.
Do you have backups of your old database?
Take a look at http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading for a better way to work this. You (like many) are trying to kill a fly with a bazooka when you do a reload mid-stream.

20 Sep 2013, 2:26 PM
#6
klingstedtbrothers avatar

klingstedtbrothers

New Zenner

Join Date:
Jan 2008
Location:
Canton, Ohio
Posts:
24
Plugin Contributions:
0

Re: Blank Page after Upgrading

I upgraded my php, but I also noticed there were files missing from the install. I re-downloaded the full package and re-uploaded to my site, re-installed, and it seemed to fix my issues. Although my template was completely screwed, I had to redesign the site with a new one. Thanks for the help.