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: Jan 18 2025 16:11:37
Script start
Timing: Jan 18 2025 16:11:37
Module start 'content'
Timing: Jan 18 2025 16:11:38
Module end 'content'
Timing: Jan 18 2025 16:11:38
Script end

Main resources:

Total runtime0.5483 sec
Peak memory usage4,096.0000 KB
Database Queries58

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.4063180.8047
Module start 'content' 0.00520.5383 770.2109553.6406
Module end 'content' 0.54340.0048 1,323.851646.0391
Script end 0.5483  1,369.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.5318140.0002
Check MTime0.00120.2176140.0001
Mysql Total
Database connection0.00070.123510.0007
Mysqli_queries0.506092.2878580.0087
Looping result0.00050.0891560.0000
Template Total0.522695.320.2613
Template load0.00200.367720.0010
Template processing0.520594.933520.2603
Template load and register function0.00010.022610.0001
states
state_id_array0.00100.187410.0010
state_identifier_array0.00080.138120.0004
Override
Cache load0.00170.3179400.0000
Sytem overhead
Fetch class attribute can translate value0.00060.113820.0003
Fetch class attribute name0.00090.159740.0002
XML
Image XML parsing0.00050.097920.0003
class_abstraction
Instantiating content class attribute0.00000.001840.0000
General
dbfile0.00200.3594200.0001
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs