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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:28:01
Script start
Timing: Jan 18 2025 19:28:01
Module start 'layout'
Timing: Jan 18 2025 19:28:01
Module start 'content'
Timing: Jan 18 2025 19:28:01
Module end 'content'
Timing: Jan 18 2025 19:28:01
Script end

Main resources:

Total runtime0.0177 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.1641152.6563
Module start 'layout' 0.00810.0030 740.820339.5234
Module start 'content' 0.01110.0045 780.343889.5547
Module end 'content' 0.01550.0021 869.898434.3047
Script end 0.0177  904.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003318.4467140.0002
Check MTime0.00137.1507140.0001
Mysql Total
Database connection0.00094.922210.0009
Mysqli_queries0.004123.277530.0014
Looping result0.00000.095410.0000
Template Total0.001810.210.0018
Template load0.00095.045810.0009
Template processing0.00095.164110.0009
Override
Cache load0.00063.371110.0006
General
dbfile0.00021.215180.0000
String conversion0.00000.060540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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