Forums / Templates, Stylesheets, Page Layout / Missing HOME page? Why is it blank?

Missing HOME page? Why is it blank?

Locked

Views: 4,590

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
26 May 2009, 4:18 AM
#1
katt avatar

katt

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Missing HOME page? Why is it blank?

I have perused a bit thru here but did not find an answer that works ...

I got zen cart installed fine ... was editing colours & stuff .. all fine ... went thru FAQ to change the middle section of the page & the "New Products" panel there & found how to change the line "Congratulations! You have successfully installed ..." etc ... followed the steps but when I saved & viewed there was nothing but a BLANK page for my index ....

Yes, I went tot my back-up copy & found it too somehow had been changed too so it was no good ... and no, I have no idea how that happened ....

Yes, I tried the debugger & used the one in my cPanel too ... it reads as saying the needed files for correct display are not found ....

The cart was installed fine 05/25/09 ...

I am using version 1.3.8a

No upgrades, no installed addons, only customization I did was for changing colours of bars in the CLASSIC GREEN to my own shade of purple to go with my uploaded banner, I re-sized a few sections & uploaded a product as testing (that page loads just fine by the way... strange enuff)

URLs with edits to prevent search engines tagging it...

issue URL: http://ewc2007.com/store/

fine page URL: http://ewc2007.com/store/index.php?main_page=product_info&cPath=1_6&products_id=1

(yes permissions wide open cuz I have yet to get them set right... but with it having current issues I am not too worried about anything yet and the pics there were not stretched before this)

I am not sure if there are other questions I should answer ... but all was fine until I tried to follow the steps in the FAQ to make the small changes in the text ....

Katt (looking for any help other than being told to re-install the whole thing which is already Plan B of course)

26 May 2009, 4:53 AM
#2
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

Is the last file you tried to edit includes/languages/english/ index.php or header.php ? My "guess" would be that you removed one or both of the ' needed.

Upload a fresh copy of just that page (from a full fileset) to your server.

Does that help?

Tina

26 May 2009, 5:00 AM
#3
katt avatar

katt

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

It was index.php

But I left the quotation marks, knowing from basic CSS & HTML that those are needed .....

And unfortunately I do not have a "clean" copy cuz my back-up went weird too somehow .....

This is my copy from store/includes/languages/english/index.php as it lays out for me in Notepad:

<?php/** * @package languageDefines * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: index.php 6550 2007-07-05 03:54:54Z drbyte $ */define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');// Showcase vs Storeif (STORE_STATUS == '0') { define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');} else { define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');}define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');define('TEXT_INFORMATION', 'Define your main Index page copy here.');//moved to english//define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');//define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');//define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');//define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) { // This section deals with product-listing page contents define('HEADING_TITLE', 'Available Products'); define('TABLE_HEADING_IMAGE', 'Product Image'); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', 'Filter Results by:'); define('TEXT_BUY', 'Buy 1 \''); define('TEXT_NOW', '\' now'); define('TEXT_ALL_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');} elseif ($category_depth == 'top') { // This section deals with the "home" page at the top level with no options/products selected /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/ define('HEADING_TITLE', 'You have successfully installed your Zen Cart™ E-Commerce Solution.');} elseif ($category_depth == 'nested') { // This section deals with displaying a subcategory /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/ define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'); }?>

the back-up copy is the same too .....

I did follow as best the steps per this FAQ: https://www.zen-cart.com/tutorials/index.php?article=129

Katt

26 May 2009, 5:06 AM
#4
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

Upload a fresh copy of just that page (from a full fileset) to your server - download and unzip the full fileset - you can get the download here: http://www.zen-cart.com/index.php

26 May 2009, 5:12 AM
#5
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

Katt,

Try this - save as index.php

<?php /** * @package languageDefines * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: index.php 6550 2007-07-05 03:54:54Z drbyte $ */ define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>'); // Showcase vs Store if (STORE_STATUS == '0') { define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?'); } else { define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.'); } define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?'); define('TEXT_INFORMATION', 'Define your main Index page copy here.'); //moved to english //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products'); //define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); //define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); //define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) { // This section deals with product-listing page contents define('HEADING_TITLE', 'Available Products'); define('TABLE_HEADING_IMAGE', 'Product Image'); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', 'Filter Results by:'); define('TEXT_BUY', 'Buy 1 \''); define('TEXT_NOW', '\' now'); define('TEXT_ALL_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { // This section deals with the "home" page at the top level with no options/products selected /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/ define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'); } elseif ($category_depth == 'nested') { // This section deals with displaying a subcategory /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/ define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'); } ?>
26 May 2009, 5:27 AM
#6
katt avatar

katt

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

Well i grabbed a fresh zip ... un-zipped it on a TOTALLY different drive & copied the index.php from one to the other ... the page loads now vs blank white screen ....

http://ewc2007 .com/ store

But I am leery of making those text changes tonight .... I will try in the morning after sleep & before class ... uptraining as cell phone techie ... computers & art are more fun ... and a heck of a lot less stressful ... LOL

Thanks & g'night!

Katt

26 May 2009, 5:44 AM
#7
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

Katt - before you call it a night - you should change the permissions on your configure files.

Tina

26 May 2009, 5:49 AM
#8
katt avatar

katt

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

What is the correct setting that gives me permission to make changes safely? 0755 was wrong ... 0777 is wide open ... is there a better?

Katt

26 May 2009, 2:33 PM
#9
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

Your two configure files should be at 444

Tina

26 May 2009, 11:52 PM
#10
katt avatar

katt

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

Thanks Tina ... all changed now ... gonna check out some templates to see if that saves me "breaking: it again .... LOL

:lamo:

Katt

27 May 2009, 3:26 PM
#11
larrydavidson avatar

larrydavidson

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

Hi everyone,

I had the exact same problem as Katt. Thanks so much for posting the index.php file to the forum - that got my blank page to re-appear. But I am still having some issues re: customzing this page. I DO want to replace the "congratulations..." phrase and so I duplicated the index.php (renamed the original on my local drive to indexa.php so as not confuse myself (happens too often:frusty:))

I did as a previous post explained and changed the "Customer Greeting" attribute to 0 but the text is still there.

So I then made the changes to the text in the copy of index.php and uploaded to my newly created "custom" folder (under ENGLISH) but still no success in either changing the phrase...

This is obviously user-error - I am no php guru and know just enough to really mess things up - obviously. Any idea what I may be doing wrong?

Thanks so much for any assistance you guys can offer
Larry - a total ZC newbie

BTW: I switched from Virtuemart - ZC is a much better and more robust solution and I look forward to getting to know this product well so that I can offer it as the standard ecommerce solution to my clients. Keep up the good work!

Cheers and thanks so much!
Larry

6 Jun 2009, 3:29 AM
#12
katt avatar

katt

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

Yes its me again .... sorry ....

All was good until I had to change servers .... my hosting company had an issue & had to move my stuff ... they made a new connection & a new a database & re-uploaded all my stuff ....

But my white page is back ..... :censored:

I can edit the store/includes/configure.php so it points to the shop, but when I edit the one line:

define('DIR_FS_CATALOG', '/home/ewccom/public_html/store/');

& change the old server detail "ewccom" to the new "ewc2007" the page goes blank .... I can edit the other areas on the page just fine .... it is just that one line that created the problem....

Sorry to be a pain, but I believe I have tried everything I tried from before with no luck ..... I even did a straight re-upload of the files off my HD to the server in an attempt to fix it too ....

Any suggestions would be great ...... :dontgetit

Katt

15 Sep 2009, 1:13 AM
#13
pattullo avatar

pattullo

New Zenner

Join Date:
Sep 2009
Location:
Vermont
Posts:
1
Plugin Contributions:
0

Re: Missing HOME page? Why is it blank?

Not sure if this will help others in the future, but I just had the white screen scare, and immediately came to this site to find help. When I read the response about maybe deleting an apostrophe, a light bulb went off in my head. Knowing that I had not deleted an apostrophe, I wondered, "What if I put in an extra apostrophe, would this cause this issue?" That is what caused my problem! I had changed the heading to read "Welcome to the Village Frame Shoppe's online gallery..." When I removed the apostrophe in "Frame Shoppe's" my home page re-appeared. When i put it back, it went away again. Check that out and see if it solves your issue.