Forums / Upgrading to 1.5.x / Blank front page after restore (due to issue with upgrade)

Blank front page after restore (due to issue with upgrade)

Views: 1,002

Results 1 to 9 of 9
6 Jul 2014, 2:40 AM
#1
shakra avatar

shakra

New Zenner

Join Date:
Oct 2010
Posts:
17
Plugin Contributions:
0

Blank front page after restore (due to issue with upgrade)

Hi,

Have spent countless hours searching for a solution to this problem. Apologies in advance if I'm posting this in the wrong place (mods: please relocate if need be)

This is what I have done so far in attempting to upgrade from 1.3.9h to 1.5.1

Backed everything up, all site fites via ftp, and db via myphpadmin

I did something wrong so want to roll back to the 1.3.9h that we had working last week.

Database has been successfully restored by my hosting company.

Deleted all site files from webhosting server using FileZilla.

Re-uploaded all of my site files from my unedited backup. and now where we should be seeing the front page for the shop I am just seeing a white blank page.

Guessing it's something to do with a config issue? But I am at a loss.... Hoping DrByte will have some info on this...

The site is at https://www.leapfroginkspot.com.au/catalog/

Thanks zenners

6 Jul 2014, 3:17 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Blank front page after restore (due to issue with upgrade)

Do you have a redirect in effect? That might be causing your problem. Whether using the /catalog or not, we're taken to /catalog. If your includes/configure.php is not correctly set, this may be your problem.

Best thing to do now while you are having this problem is to maybe kill the redirect and move everything to the root.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

6 Jul 2014, 3:25 AM
#3
shakra avatar

shakra

New Zenner

Join Date:
Oct 2010
Posts:
17
Plugin Contributions:
0

Re: Blank front page after restore (due to issue with upgrade)

I just checked the log files in my cache folder which stated this:

[06-Jul-2014 11:11:47] PHP Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home4/leapfrog/public_html/catalog/includes/languages/english/extra_definitions/fanbox_sidebox_defines.php on line 13
[06-Jul-2014 11:11:47] PHP Parse error: syntax error, unexpected '<' in /home4/leapfrog/public_html/catalog/includes/languages/english/extra_definitions/fanbox_sidebox_defines.php on line 13

I have since fixed the issue with "unexpected characters" and now the only thing remaining in my error log file is the following:

[06-Jul-2014 11:23:29] PHP Parse error: syntax error, unexpected T_STRING in /home4/leapfrog/public_html/catalog/includes/languages/english/extra_definitions/fanbox_sidebox_defines.php on line 13

If I delete the fanbox_sidebox_defines.php altogether, it breaks the front page headings on categories and products.. not sure why this is happening.. I'm going nuts here :(

6 Jul 2014, 3:49 AM
#4
shakra avatar

shakra

New Zenner

Join Date:
Oct 2010
Posts:
17
Plugin Contributions:
0

Re: Blank front page after restore (due to issue with upgrade)

have removed all redirects now.

error log =

[06-Jul-2014 11:49:10] PHP Parse error: syntax error, unexpected T_STRING in /home4/leapfrog/public_html/catalog/includes/languages/english/extra_definitions/fanbox_sidebox_defines.php on line 13

6 Jul 2014, 4:06 AM
#5
shakra avatar

shakra

New Zenner

Join Date:
Oct 2010
Posts:
17
Plugin Contributions:
0

Re: Blank front page after restore (due to issue with upgrade)

ok a step in the right direction.. I downloaded and reinstalled the fanbox_sidebox mod from http://www.kerrinhardy.com/2010/05/16/add-a-facebook-page-fan-box-to-your-zen-cart-store/

Now the new issue is that my sidebox headings are not displaying and also notice the heading on the tab seems to say ZenCart Installation.. any idea where the code resides that controls these bits?

Screenshot:
Attachment 14248

6 Jul 2014, 4:13 AM
#6
shakra avatar

shakra

New Zenner

Join Date:
Oct 2010
Posts:
17
Plugin Contributions:
0

Re: Blank front page after restore (due to issue with upgrade)

I've fixed my latest issue of sidebox heading not displaying by reinstalling from my site backup the following file
/catalog/includes/languages/english.php

Hopefully this is the end of the issues and I can focus on my upgrade to 1.5.1

Thanks to anyone who spent any time looking in to this, and good luck to anyone who is reading this now to troubleshoot an issue of their own!

Feeling victorious that I've managed to systematically get through that after 3 sleepless nights this week :shocking: :smartalec:

6 Jul 2014, 4:25 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Blank front page after restore (due to issue with upgrade)

You ARE doing a "test upgrade" in a separate folder and database, before touching your live site ... right?
http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading
http://www.zen-cart.com/upgrade

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

6 Jul 2014, 8:31 AM
#8
shakra avatar

shakra

New Zenner

Join Date:
Oct 2010
Posts:
17
Plugin Contributions:
0

Re: Blank front page after restore (due to issue with upgrade)

yes.. but I stupidly attempted to use the live database for the test site and it bungled up a whole bunch of things.. so back tracking and starting again.. just realised when I go to myphpadmin it says Version information: 4.1.8, latest stable version: 4.2.5 so I may not even be able to upgrade to 1.5.1 yet anyway... still trying to figure out if thats right or not

6 Jul 2014, 1:27 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Blank front page after restore (due to issue with upgrade)

Zen Cart doesn't care what version of phpMyAdmin you use. That's just a tool to manipulate the database. What matters is your MySQL version ... which is probably fine ... but do check it to be sure.

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