Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Help! Whole store has disappeared!

Help! Whole store has disappeared!

Locked

Views: 1,761

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 May 2008, 7:58 AM
#1
drew_s avatar

drew_s

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Help! Whole store has disappeared!

Hey all,
I was just about finished setting up the store when I tried to find out how to delete that annoying "Congratulations! You've installed Zen Cart...." at the top of the page.

Without knowing about the Override system, I edited the index.php file in the English folder under Languages under Includes. Now that I made the change, my site is gone! I tried undoing the change (which I did) but it didn't help. I even tried copying an unedited copy from another backup directory.

Anyone know how to recover from this?? Any help is GREATLY appreciated.

  • Drew
13 May 2008, 7:59 AM
#2
drew_s avatar

drew_s

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Re: Help! Whole store has disappeared!

Hey all,
I was just about finished setting up the store when I tried to find out how to delete that annoying "Congratulations! You've installed Zen Cart...." at the top of the page.

Without knowing about the Override system, I edited the index.php file in the English folder under Languages under Includes. Now that I made the change, my site is gone! I tried undoing the change (which I did) but it didn't help. I even tried copying an unedited copy from another backup directory.

Anyone know how to recover from this?? Any help is GREATLY appreciated.

  • Drew
13 May 2008, 8:00 AM
#3
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Help! Whole store has disappeared!

Sounds like a bad upload of the file after your edits.

13 May 2008, 8:01 AM
#4
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Help! Whole store has disappeared!

Please don't double post. Sounds like a bad upload of the edited file

MODERATOR NOTE: The double-posted threads have now been merged together.*

13 May 2008, 8:09 AM
#5
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Help! Whole store has disappeared!

Re-upload originals of the affected file(s), so you go back to square-one.

You should use ADMIN>>>TOOLS>>>developers tool kit to find text strings that you want to "erase" or edit. Typically, these are preceded in the PHP with the word "define".

The part you edit in a "define" statement is the text string enclosed in a set of single quotes: eg:-

  define('BOX_TELL_A_FRIEND_TEXT', 'Tell someone you know about this product.');

Let's say you don't want any text to show for this define. You simply remove the text, making sure to LEAVE the single quotes:-

  define('BOX_TELL_A_FRIEND_TEXT', '');
13 May 2008, 4:52 PM
#6
drew_s avatar

drew_s

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Re: Help! Whole store has disappeared!

Sorry about the double-post. I'm a little frantic and I didn't know what category to put this in.

The original index.php was restored to it's original state but there was no change. It's as if the code that displays the home page has simply vanished (or at least the calling of the code).

The site is https://www.solarlogos.net/catalog/

It can be seen that there is no referring URL so something is definitely up.

I've attached a zip file that contains:

  1. the index.php file that is under includes/languages/english
  2. index.php under the root directory of the store

I've gone through them but cannot find any obvious problems. Again the only file that I modified was the first index.php under the English folder and it was only to delete some displayed text. Nothing else was touched!

I've tried uploading again and again. Nothing.

HAHA!! I found the problem! When editing the file, I made a backup of the original and called it index_old.php. When I deleted it, the problem disappeared! It must not like any file name that's even similar to the original.

Thanks for putting me in this train of thought!

  • Drew

Any help here is greatly appreciated.