Forums / General / Images just disappeared

Images just disappeared

Author Message

Matt Brady

Monday 17 July 2006 12:39:22 am

All the embedded images have just disappeared from my site. I can view them in the admin area but not the public area. I have changed nothing on the site for the last two weeks and everything was fine until I logged into the admin area and did a basic text amendment on the pagelayout template. I'm using 3.8. I have rechecked the template code. I have tried clearing the caches, both automatically and manually. I have uploaded the images again. I have checked permissions both through the admin area and on the server.... and still nothing.
Any ideas anyone?

It's not easy being easy.

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

eZ debug

Timing: Jan 18 2025 11:25:29
Script start
Timing: Jan 18 2025 11:25:29
Module start 'content'
Timing: Jan 18 2025 11:25:31
Module end 'content'
Timing: Jan 18 2025 11:25:31
Script end

Main resources:

Total runtime1.8932 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.6016180.8516
Module start 'content' 0.00701.6525 768.4531556.4922
Module end 'content' 1.65960.2336 1,324.9453336.7656
Script end 1.8931  1,661.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.2527210.0002
Check MTime0.00160.0835210.0001
Mysql Total
Database connection0.00080.044810.0008
Mysqli_queries1.813395.77831970.0092
Looping result0.00250.13121950.0000
Template Total1.859598.220.9297
Template load0.00240.126820.0012
Template processing1.857198.091520.9285
Template load and register function0.00020.008510.0002
states
state_id_array0.00180.093110.0018
state_identifier_array0.00200.105520.0010
Override
Cache load0.00210.1090290.0001
Sytem overhead
Fetch class attribute can translate value0.00170.088830.0006
Fetch class attribute name0.00110.058350.0002
XML
Image XML parsing0.00130.070730.0004
class_abstraction
Instantiating content class attribute0.00000.000760.0000
General
dbfile0.00340.1813270.0001
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs