Zen Cart Logo
Forums / General Questions / Images suddenly stopped displaying.

Images suddenly stopped displaying.

Views: 534

Results 1 to 4 of 4
27 Dec 2014, 10:09 PM
#1
eddiebett avatar

eddiebett

New Zenner

Join Date:
May 2008
Location:
Brush Prairie, WA
Posts:
6
Plugin Contributions:
0

Images suddenly stopped displaying.

I have had this site up for about 5 years and it worked fine. All of the sudden the product images do not show up in the listings just the image name shows. Not doing anything different.

The site is http://www.thehandsomewoodman.com. Any suggestions would be appreciated. I am also going to move and update it to another server if possible. It is such an old version.
Ed Bettencourt

27 Dec 2014, 10:43 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Images suddenly stopped displaying.

Your images are triggering a "500 Internal Server Error", presumably because someone has done something on your site to set exclusion rules for files in your /images folder.

Example: http://thehandsomewoodman.com/images/1-13-2011%20woodyDSC_0447.jpg ... visiting that URL displays the error.

Probable cause: I'm guessing someone has altered the /images/.htaccess file or has added a /.htaccess file which blocks images from displaying.
Zen Cart comes with a /images/.htaccess file (and similar (but different) .htaccess files exist in many other Zen Cart subdirectories. But Zen Cart does NOT come with one in the "root" folder, ie: your public_html or www folder where the top of all your Zen Cart files are located. If there's a /.htaccess file there then that was added by you or someone with access to your server.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Dec 2014, 11:59 PM
#3
eddiebett avatar

eddiebett

New Zenner

Join Date:
May 2008
Location:
Brush Prairie, WA
Posts:
6
Plugin Contributions:
0

Re: Images suddenly stopped displaying.

DrByte:

Your images are triggering a "500 Internal Server Error", presumably because someone has done something on your site to set exclusion rules for files in your /images folder.

Example: http://thehandsomewoodman.com/images/1-13-2011%20woodyDSC_0447.jpg ... visiting that URL displays the error.

Probable cause: I'm guessing someone has altered the /images/.htaccess file or has added a /.htaccess file which blocks images from displaying.
Zen Cart comes with a /images/.htaccess file (and similar (but different) .htaccess files exist in many other Zen Cart subdirectories. But Zen Cart does NOT come with one in the "root" folder, ie: your public_html or www folder where the top of all your Zen Cart files are located. If there's a /.htaccess file there then that was added by you or someone with access to your server.

Thank you I finally found it Renamed it and the photos showed back up. Thank You so much.

28 Dec 2014, 12:02 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Images suddenly stopped displaying.

That shouldn't cause any problem.

In your hosting company's control panel, do you have access to the Apache errorlog? What kinds of errors are showing up there?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.