Forums / Install & configuration / Moved to a new server - Clear caches - images disappeared

Moved to a new server - Clear caches - images disappeared

Author Message

fabian schoen

Thursday 27 March 2008 4:46:49 pm

Hi

A ez Site 3.6.10 was moved in november 2007 to a new server by the webhosting company.
Apart from a problem with "umlauts" everything looked ok.

There were no content changes until mid of march 2008:
The user tried to upload a new image, but it wasn't shown in front end, either back end. Also no error message.
I tried the same with 'admin'. The same behaviour.
After some research we figured out, that the space limit is reached. Our "logical" conclusion was
1. Request for more space
2. Remove not used objects.

Point 1 was not done in hours, so we did point 2 in the form of "Clear <b>all caches</b>" in the admin window/back end...
... and the result is, that the images in the front and back end are no longer visible. ;(

So, my guess is, that the problem was not really related with the disk space limitation. But related with the move and ...?

Any idea, help, etc. what could cause this problem? I've found 1 bug which sounds similiar, but with an upgrade to version 3.10 / 4.x

Thanks in advance
fabian

PS: I know that 3.6.10 is an old version, but sometimes there are points against an upgrade.

Greg McAvoy-Jensen

Thursday 27 March 2008 5:35:49 pm

Fabian,

Just a couple initial thoughts:

Are file permissions and ownership ok in var?

Also, if you haven't already, you might search the forums for "images disappeared" or "images not visible" or the like; this comes up periodically.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

fabian schoen

Thursday 27 March 2008 11:41:43 pm

Greg

Thanks for the response.

I already checked and searched the forums. Found 1 or 2 similar things with misconfiguration. The most of them, are set correct from my side. I guess.

- Anonymous can read the Media Section
"Anonymous content read Section( Standard , Media )"

- oooohhhhh. I checked the error_log from the web server and found
<b>"sh: /usr/bin/convert: No such file or directory"</b>

With this phrase I found the solution.
On the new server, ImageMagick was not properly configured. My solution was to disable

[ImageMagick]
IsEnabled=false

ImageMagick in the .ini file called image.ini.append.php in the override section.

Now it looks like it is working.

thanks
fabian

eZ debug

Timing: Feb 16 2025 11:59:58
Script start
Timing: Feb 16 2025 11:59:58
Module start 'content'
Timing: Feb 16 2025 11:59:58
Module end 'content'
Timing: Feb 16 2025 11:59:58
Script end

Main resources:

Total runtime0.1057 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 591.0938180.7969
Module start 'content' 0.00540.0061 771.890694.1328
Module end 'content' 0.01150.0941 866.0234529.9219
Script end 0.1056  1,395.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00373.4576200.0002
Check MTime0.00171.5636200.0001
Mysql Total
Database connection0.00070.650010.0007
Mysqli_queries0.067563.87231410.0005
Looping result0.00070.69551390.0000
Template Total0.093988.810.0939
Template load0.00080.766110.0008
Template processing0.093088.011410.0930
Override
Cache load0.00060.565810.0006
Sytem overhead
Fetch class attribute can translate value0.00040.419010.0004
XML
Image XML parsing0.00020.226010.0002
General
dbfile0.00605.6386200.0003
String conversion0.00000.003830.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs