Share » Forums » General » Images just disappeared

Images just disappeared

Images just disappeared

Monday 17 July 2006 12:39:22 am - 3 replies

Author Message

Egil Fujikawa Nes

Monday 17 July 2006 9:47:50 am

Hi Matt

Did you check that nobody been changing the your Apache rewrite config on the public vhost:

RewriteRule !\.(gif|css|jpg|png|js|asf|avi|wmv|swf|xsl|jar)$ /index.php

Just a suggestion, seems like you been checking most other things.

Best regards
Egil Fujikawa Nes

BuildCMS - Av. Paulista 777, 15° Andar - CEP: 01311-100 - São Paulo
URL: http://www.buildcms.com

Matt Brady

Monday 17 July 2006 5:48:27 pm

Thanks... yes, the hosting company had done some upgrades and that seemed to be the problem.

It's not easy being easy.

Egil Fujikawa Nes

Monday 17 July 2006 11:09:07 pm

Good you could find the problem Matt

For other that maybe have the same problem (I know somebody will) and found this post, here is how you can check if rewrite rules are the problem that your pictures isn't shown.

Open you web page in a browser and view the HTML source code. Look for a picture in the source code. It should look something like this:

<img src="/var/site/storage/images/media/images/summer/332-1-eng-GB/summer.jpg" width="580" height="150"  style="border: 0px;" alt="Summer" title="Summer" />

If you HTML shows something like this:

<img src="" width="580" height="150"  style="border: 0px;" alt="" title="" />

or simply nothing at all, then you have a permission or eZ publish related problem.
If you have correct HTML code you should try to access the full URL from you browser, like this:
http://your_domain_name/var/site/storage/images/media/images/summer/332-1-eng-GB/summer.jpg

If this results in a <i>kernel (20) / Error</i> from eZ publish you probably have a problem with your rewrite configuration in Apache.

Best regards
Egil Fujikawa Nes

BuildCMS - Av. Paulista 777, 15° Andar - CEP: 01311-100 - São Paulo
URL: http://www.buildcms.com

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu