Zen Cart Logo
Forums / General Questions / Home Page Fails to Display

Home Page Fails to Display

Views: 576

Results 1 to 8 of 8
3 Sep 2012, 2:51 PM
#1
lar48ry avatar

lar48ry

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Home Page Fails to Display

After a few fits and starts, I finally got the Zen Cart program working. Everything seemed to be working and I was following the "e-Start Your Web Store with Zen-Cart" (latest version). When I got to the part about "Specifying your contact information" I made some changes and then wanted to see the impact of those changes I went to (http://www.highcaliberknives1.com/zenproducts/index.php?main_page=) the home page would not display. All I get is a blank page, no warnings or error messages popped up.

Before I started making these modifications the home page did display - and I was happy. No changes have been made in any css files either.

Does anyone have any thoughts on why this could be happening?

I am working on a localhost also.

Thanks

3 Sep 2012, 3:14 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,096
Plugin Contributions:
56

Re: Home Page Fails to Display

Whenever you get a "blank/white page" or part of the page doesn't render (like the sideboxes are there, but the main content isn't), check your /cache folder for any Debug-*.log files. Those files identify the error(s) that caused the page to "not display".

If you search the forums and FAQs for "blank page", there should be more information ....

3 Sep 2012, 4:03 PM
#3
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Re: Home Page Fails to Display

How did you make the changes to "specifying your contact information"? Did you go in to the admin page, and change the store address/phone # etc there? Or did you go into one of the .php files and change something there?

What happens when you roll back to the pre-change version (You did backup first right?)

Does the admin still show, and the storefront is broke, or did both break?

4 Sep 2012, 2:52 PM
#4
lar48ry avatar

lar48ry

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Re: Home Page Fails to Display

lat9 and joejoejoe,

I appreciate the responses. I took a look at the myDEBUG reports and it listed an error "includes\languages\english\email_extras.php on line 30". This shows > define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . /'</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>')/;. So I am not quite certain which part it really didn't like.

So I took a look at my data base and it correctly indicates the address change I made (yes I did go through the Admin Panel (Configuration - My Store).

I called up my data base via phpadmin panel to verify that the changes I made were there. If this is where the problem is I don't see it, The only thing that I could think of was that the text length was restricted, but that doesn't appear to be the case.

Thank you,
Larry

4 Sep 2012, 2:54 PM
#5
lar48ry avatar

lar48ry

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Re: Home Page Fails to Display

An additional item, I was also working in the tax zone area, but I don't think that had any impact here.

4 Sep 2012, 3:08 PM
#6
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Re: Home Page Fails to Display

Did any of those address/name changes have any punctuation in them? LIke an ' or " or /() ??

4 Sep 2012, 3:23 PM
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,096
Plugin Contributions:
56

Re: Home Page Fails to Display

Change the line in email_extras.php from

define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . /*'</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>')*/; 

to

define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME/* . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>'*/); 

Note that I moved the /* and */ ever-so-slightly ...

5 Sep 2012, 3:44 PM
#8
lar48ry avatar

lar48ry

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Re: Home Page Fails to Display

lat9,

Wow!!! That suggestion fixed the problem.

This does raise the question though, How many other extremely minor coding situations are still out there?

Really appreciated the help!!!

Thanks