EZImageManager issues - cannot create image alias

Author Message

Rob Gaus

Thursday 27 November 2008 9:26:17 am

Bare with me, this requires a little bit of background.

- upgraded from 3.6.2 to 4.0.1
- ability to create images on 3.6.2 seemed to work properly
- after upgrade when try to upload image get the following error entries:

[ Nov 27 2008 17:07:04 ] [209.217.81.65] eZContentClassAttribute::attribute:
Attribute 'EZ_DATATYPESTRING_MAX_IMAGE_FILESIZE_FIELD' does not exist
[ Nov 27 2008 17:07:08 ] [209.217.81.65] eZLocale:
Could not load country settings for
[ Nov 27 2008 17:07:08 ] [209.217.81.65] eZLocale:
Could not load language settings for array
[ Nov 27 2008 17:07:09 ] [209.217.81.65] eZImageManager::createImageAlias:
The reference alias original file does not exist
[ Nov 27 2008 17:07:09 ] [209.217.81.65] :
Original alias does not exists, cannot create other aliases without it
[ Nov 27 2008 17:07:09 ] [209.217.81.65] eZImageManager::createImageAlias:
Failed creating the referenced alias reference, cannot create alias small

- after playing around I realized that I could get the system to create the image by triggering an error by leaving out the 'name' field. This would create the folders and create the image aliases (to a point) see blow. But still with this error logged:

[ Nov 27 2008 17:08:50 ] [209.217.81.65] eZContentClassAttribute::attribute:
Attribute 'EZ_DATATYPESTRING_MAX_IMAGE_FILESIZE_FIELD' does not exist
[ Nov 27 2008 17:08:52 ] [209.217.81.65] eZLocale:
Could not load country settings for
[ Nov 27 2008 17:08:52 ] [209.217.81.65] eZLocale:
Could not load language settings for array

I would then enter the name field for the image and all seemed well but again with this error logged:

[ Nov 27 2008 17:09:37 ] [209.217.81.65] eZContentClassAttribute::attribute:
Attribute 'EZ_DATATYPESTRING_MAX_IMAGE_FILESIZE_FIELD' does not exist
[ Nov 27 2008 17:09:38 ] [209.217.81.65] eZLocale:
Could not load country settings for
[ Nov 27 2008 17:09:38 ] [209.217.81.65] eZLocale:
Could not load language settings for array
[ Nov 27 2008 17:09:38 ] [209.217.81.65] eZImageManager::createImageAlias:
The reference alias original file does not exist
[ Nov 27 2008 17:09:38 ] [209.217.81.65] :
Original alias does not exists, cannot create other aliases without it
[ Nov 27 2008 17:09:38 ] [209.217.81.65] eZImageManager::createImageAlias:
Failed creating the referenced alias reference, cannot create alias small

But then later realized that even with this it did not create all of the image alias' listed in the image.ini:
- reference
- small
- medium
- large
- levelone
- leveltwo
- levelthree

It only created:
- medium
- reference
- small

My question is simply why is it not creating all of the image aliases? Any suggestions where to look or settings to check?

I've wasted countless hours troubleshooting this issue only to end up right back at the beginning scratching my head.

Thanks in advance, Rob.

Rob Gaus

Friday 28 November 2008 8:00:10 am

Further info: I've managed to clear the error log to this issue:

[ Nov 28 2008 16:46:31 ] [209.217.81.98] eZContentClassAttribute::attribute:
Attribute 'EZ_DATATYPESTRING_MAX_IMAGE_FILESIZE_FIELD' does not exist

When I go through the EzPublish admin interface:

Setup > Classes > Image

I'm able to edit the Image [URLImage] attrbute specifically the Max file size but when I come back to it the field is back to its previous setting. There is no error log entry.

I am able to go to the database directly and change this value but it doesnt prevent the above error from occurring.

Thoughts?

Thanks again, Rob.

Ousmane KANTE

Monday 16 February 2009 5:28:23 am

Hello,
I've the same problème,

[ Feb 16 2009 13:05:25 ] [217.128.63.112] eZImageManager::createImageAlias:
Failed converting var/fr/storage/images/diaporama/test-le-bar/368-1-fre-FR/test-Le-bar.jpg to alias 'reference' in directory 'var/fr/storage/images/diaporama/test-le-bar/368-1-fre-FR'
[ Feb 16 2009 13:05:25 ] [217.128.63.112] eZImageManager::createImageAlias:
Failed creating the referenced alias reference, cannot create alias large
[ Feb 16 2009 13:06:59 ] [217.128.109.3] index:
Undefined module: stat
[ Feb 16 2009 13:06:59 ] [217.128.109.3] error/view.php:
Error ocurred using URI: /stat
[ Feb 16 2009 13:07:38 ] [217.128.109.3] eZImageManager::createImageAlias:
Failed converting var/fr/storage/images/diaporama/test-le-bar/368-1-fre-FR/test-Le-bar.jpg to alias 'diapo_photo' in directory 'var/fr/storage/images/diaporama/test-le-bar/368-1-fre-FR'

has anyone experiment that?

My Image.ini settings are :

[ImageMagick]
IsEnabled=true
ExecutableUnix=convert
ExecutablePath=/usr/bin/

[AliasSettings]
AliasList[]=logo
AliasList[]=photo_chef
AliasList[]=diapo_photo
AliasList[]=image_carte
AliasList[]=arrete_image


[logo]
Reference=reference
Filters[]=geometry/scaleexact=761;77

[photo_chef]
Reference=reference
Filters[]=geometry/scaleexact=513;118

[diapo_photo]
Filters[]=geometry/scaleexact=400;224

[image_carte]
Reference=reference
Filters[]=geometry/scaleexact=246;176

[arrete_image]
Reference=reference
Filters[]=geometry/scaleexact=241;89

No matter, convert exists in /usr/bin and apache has access to that directory.

Thanks..

Consultant Ez Publish- Sapiens Consulting

meriam santos

Tuesday 14 April 2009 8:52:57 pm

Hi there,

were you able to solve this error? anybody who knows the solution to this? please

please let me know as i'm having the same problem.

thanks..

Thomas ZILLIOX

Thursday 17 March 2011 9:32:36 am

Hi !

I found some answer on another topic : http://share.ez.no/forums/install-configuration/creation-of-image-variation-doesnt-work-someone-can-help#comment7405

See you,

Thomas.

--
Developer at Open Wide

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