Image size management problem

Author Message

Pascal France

Tuesday 30 November 2010 2:32:48 am

Hi,

With OE 5.0.4 and eZP 4.2.0 from scratch.

When I upload an image in an article, I can only choose the large, medium, small and original size.
All other sizes don't work. Even those which are defined by default.

For each size which does not work when I use firebug I get:

<img id="embed_preview_image" alt="xxxx" src="/nul" align="xxxx">

Here is the settings/siteaccess/admin_siteaccess/image.ini.append.php file:

http://linuxorable.fr/test/image.ini.append.txt

What I don't understand is that
- Of course it worked perfectly so far
- The fact that even some default sizes are no longer working show that the problem is not the definition of sizes in the ini file.

But I don't know how to debug this problem.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

André R.

Tuesday 30 November 2010 3:53:26 am

Do you get problems in OE aka in admin interface?

Or on frontpage? (if that is the case then it can be explained by the fact that the settings are defined for admin siteaccess only)

EDIT: as the markup you posted suggested, this is in OE I guess.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Pascal France

Tuesday 30 November 2010 3:57:50 am

Hi André,

I meet this problem with OE in the admin interface.

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Tuesday 30 November 2010 7:01:49 am

Hi,

Here is the error log I get in /var/log/error.log when I create a new article and upload an image to insert it in the article:

[ Nov 30 2010 15:50:13 ] [xx.xx.xx.xx] eZImageManager::createImageAlias:
Failed converting var/sole/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR/image5.jpg to alias 'small' in directory 'var/solexine/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR'
[ Nov 30 2010 15:50:17 ] [xx.xx.xx.xx] eZImageManager::createImageAlias: 
Failed converting var/sole/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR/image5.jpg to alias 'medium' in directory 'var/solexine/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR' 
[ Nov 30 2010 15:50:17 ] [xx.xx.xx.xx] eZImageManager::createImageAlias: 
Failed converting var/sole/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR/image5.jpg to alias 'small' in directory 'var/solexine/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR' 
[ Nov 30 2010 15:50:18 ] [xx.xx.xx.xx] index: 
Undefined module: null 
[ Nov 30 2010 15:50:18 ] [xx.xx.xx.xx] error/view.php: 
Error ocurred using URI: /null

In fact, no alias is created from the uploaded image.

I checked the permissions: all directories have permissions 755 and image 666.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

André R.

Wednesday 01 December 2010 6:23:50 am

I'm out of ideas.. (I assume you checked permissions specifically on var/solexine/storage/images/documentation-generale/ajouter-un-fichier-pdf/image5/3802-1-fre-FR )

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Pascal France

Wednesday 01 December 2010 8:35:18 am

I sent a mail to my host to give me the path of the binary "convert".
Maybe the system can not find this binary. In such a case, I don't know what would be the error logs.

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Thursday 02 December 2010 5:28:49 am

Hi André,

The problem came from the (bad ?) installation of imagemagick. It has been reinstalled by my host and now all works fine.

Thanks for you help.

Cordially,

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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 02:01:28
Script start
Timing: Jan 18 2025 02:01:28
Module start 'layout'
Timing: Jan 18 2025 02:01:28
Module start 'content'
Timing: Jan 18 2025 02:01:29
Module end 'content'
Timing: Jan 18 2025 02:01:29
Script end

Main resources:

Total runtime1.4824 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0313152.6406
Module start 'layout' 0.00570.0042 740.671939.4844
Module start 'content' 0.00991.4707 780.1563588.5781
Module end 'content' 1.48060.0018 1,368.734420.1484
Script end 1.4824  1,388.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2505160.0002
Check MTime0.00140.0963160.0001
Mysql Total
Database connection0.00070.045510.0007
Mysqli_queries1.407294.9221700.0201
Looping result0.00090.0576680.0000
Template Total1.437797.020.7189
Template load0.00270.180820.0013
Template processing1.435196.804220.7175
Template load and register function0.00020.016510.0002
states
state_id_array0.00180.118510.0018
state_identifier_array0.00160.108720.0008
Override
Cache load0.00230.1525470.0000
Sytem overhead
Fetch class attribute can translate value0.00110.071120.0005
Fetch class attribute name0.00140.091880.0002
XML
Image XML parsing0.00070.045720.0003
class_abstraction
Instantiating content class attribute0.00000.001590.0000
General
dbfile0.00200.1350170.0001
String conversion0.00000.000840.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
7content/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
1content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs