Zen Cart Logo
Forums / General Questions / admin ok but site vanished!

admin ok but site vanished!

Locked

Views: 822

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
20 Feb 2008, 6:08 PM
#1
dml311071 avatar

dml311071

New Zenner

Join Date:
Sep 2006
Location:
Grimsby UK
Posts:
98
Plugin Contributions:
0

admin ok but site vanished!

Hi

The strangest thing:

my site www.gravisuk.com/index.php has vanished. I can log into the ftp and the database and see all of the site and database but when I go to the site URL, there is just a blank page!

I was editing the amount of letters used in the product description and whether a category image was shown at the top of the page when I happened to refresh my store page to view the changes.

Nothing, blank page, no source code.... nothing:shocking:

If I log into the admin, all works fine! can view everything that admin provides.

I have tried resetting the boxes...nothing
and viewed the index.php file nothing appears wrong there

I can't see any other access on the server log. What have I done?

Urgently need help with this one, the site is about to go live.

Thanks in advance

Dave

also this is the link from admin when attempting to view the store (I have enabled SSL in admin):
https://www.gravisuk.com/index.php?main_page=
Also Firefox shows the store is in quirks mode as if there was no DOCTYPE

20 Feb 2008, 6:12 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,611
Plugin Contributions:
0

Re: admin ok but site vanished!

I was editing the amount of letters used in the product description

How and where did you do this?

20 Feb 2008, 6:23 PM
#3
dml311071 avatar

dml311071

New Zenner

Join Date:
Sep 2006
Location:
Grimsby UK
Posts:
98
Plugin Contributions:
0

Re: admin ok but site vanished!

Hi Kim

Thanks for the fast response.

I was in the Admin -> Configuration -> Product Listing

editing the filed that defaults to 150, I changed it to zero then refreshed and whump!

20 Feb 2008, 6:27 PM
#4
dml311071 avatar

dml311071

New Zenner

Join Date:
Sep 2006
Location:
Grimsby UK
Posts:
98
Plugin Contributions:
0

Re: admin ok but site vanished!

I am running ZC 1.3.8a with SSL enabled on a dedicated server (fixed ip domain and dedicated certificate).

20 Feb 2008, 6:49 PM
#5
dml311071 avatar

dml311071

New Zenner

Join Date:
Sep 2006
Location:
Grimsby UK
Posts:
98
Plugin Contributions:
0

Re: admin ok but site vanished!

Kim

I've found it!

All sorted.

this is what I had done (I forgot that I was editing a php file in my overrides)

line 30 of includes/languages/english/MY_TEMPLATE/email_extras.php

 
define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' ' . STORE_NAME . ' ' . STORE_NAME . ');

instead of

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

I was trying to alter the copyright notice in the emails.

That was it.:oops:

I would be more embarrassed but I did not think for a minute that this would result in the main page not opening.

I never suspected that the email modules would have an effect like that.

Live and learn.

Thanks Kim