Forums / General Questions / All graphics on my test site suddenly disappear

All graphics on my test site suddenly disappear

Locked

Started by lukhach on 3 Jul 2007, 9:54 PM · Views: 1,919

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
3 Jul 2007, 9:54 PM
#1
lukhach avatar

lukhach

New Zenner

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

All graphics on my test site suddenly disappear

My test site was working great the last few months. I have not access if a few weeks. Today when I open the URL the website still seem to work but all the graphics are gone.

What could have happen? Please help... I have an urgent need to get it running again.

Thanks for your help

http://vnlisting.homelinux.com/cdmovies

3 Jul 2007, 10:03 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: All graphics on my test site suddenly disappear

the following is the stylesheet being loaded with your site:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 [email protected] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.0 (Fedora) Server at vnlisting.homelinux.com Port 80</address>
</body></html>

This is not what goes with Zen Cart - check your files for content

Zen-Venom Get Bitten

3 Jul 2007, 10:21 PM
#3
lukhach avatar

lukhach

New Zenner

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

Re: All graphics on my test site suddenly disappear

Thank you Kobra.

I think it has something to do with my htaccess file. Here is my htaccess file.

$Id: .htaccess 1105 2005-04-04 22:05:35Z birdbrain $

This is used with Apache WebServers

The following blocks direct HTTP requests in this directory recursively

For this to work, you must include the parameter 'Limit' to the AllowOverride configuration

Example:

#<Directory "/usr/local/apache/htdocs">

AllowOverride Limit

'All' with also work. (This configuration is in your apache/conf/httpd.conf file)

This does not affect PHP include/require functions

Example: http://server/catalog/includes/application_top.php will not work

<Files *.php>
Order Deny,Allow
Deny from all
</Files>

3 Jul 2007, 10:24 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: All graphics on my test site suddenly disappear

The text that has replaced your stylesheet is one that is automatically generated when your server blocks access to the stylesheet.

A common reason for this is a dodgy .htaccess file in your store's root or includes folder.

I'd check whether you have one, and if so rename it to .htaccess_OLD or something similar, and see if that helps.

UPDATE: Having read your post - you're on the right track (and faster than me!)

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

3 Jul 2007, 10:39 PM
#5
lukhach avatar

lukhach

New Zenner

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

Re: All graphics on my test site suddenly disappear

Thank you Kuroi

Does the htaccess posted above look right? It doesn't seem to be correct where it deny access to all. I did not make any changes to this htaccess file at all.
When I rename this htaccess the website seems to work but the problem still exists in the admin pages.

Is there any security risk to the site if I remove/rename this htaccess?

4 Jul 2007, 1:56 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: All graphics on my test site suddenly disappear

There is a seperate .htaccess in the admin area..

Talk to your host as if this was ok before I would venture that they have altered the allowable use of the htaccess file.

What you posted is a stock default one that is part of the distribution

Zen-Venom Get Bitten