Share » Forums » Install & configuration » Not converting images

Not converting images

Not converting images

Sunday 02 March 2003 6:45:22 pm - 5 replies

Author Message

Tony Wood

Monday 03 March 2003 1:24:48 am

> I have ImageMagick, which must have been installed when I
> reinstalled my RedHat 7.3 install into /usr/X11R6/bin
>
> This is in my image.ini.php
>
> Having tried to keep things very simple I used a minimal set
> of options when I recompile PHP (v4.3.1) but I did ask it to
> use GD. My 'fine tune' check results in the install of eZ
> Publish 2.9.7 tell me there are no outstanding image
> conversion issues with my setup.
>
> When I try to create a new image it uploads okay - as I can
> find the renamed file in the originals/image directory. But
> nothing ever displays and it doesn't carry out the
> conversion.
>
> I don't know if these help - from the error_log:
>
> PHP Fatal error: Call to a member function on a non-object
> in
> /data/WWW/html/ez3/kernel/classes/datatypes/ezbinaryfile/ezbinaryfiletype.php
> on line 106
> sh: convert: command not found
> [Mon Mar 03 02:42:45 2003] [error] [client 161.73.38.213]
> File does not exist:
> /data/WWW/html/ez3/var/storage/variations/image/p/h/p/phpA2SFgU_100x100_665.jpg,
> referer:
> http://ez3.jcsolutions.co.uk/admin/content/edit/220/3//
> sh: convert: command not found
> sh: convert: command not found
> [Mon Mar 03 02:42:56 2003] [error] [client 161.73.38.213]
> File does not exist:
> /data/WWW/html/ez3/var/storage/variations/image/p/h/p/php2pZOj8_600x600_665.jpg,
> referer:
> http://ez3.jcsolutions.co.uk/admin/content/versionview/220/3//
> [Mon Mar 03 02:43:05 2003] [error] [client 161.73.38.213]
> File does not exist:
> /data/WWW/html/ez3/var/storage/variations/image/p/h/p/php2pZOj8_600x600_665.jpg,
> referer:
> http://ez3.jcsolutions.co.uk/admin/content/versionview/220/3//
> sh: convert: command not found
> [Mon Mar 03 02:44:39 2003] [error] [client 161.73.38.213]
> File does not exist:
> /data/WWW/html/ez3/var/storage/variations/image/p/h/p/php2pZOj8_100x100_665.jpg,
> referer:
> http://ez3.jcsolutions.co.uk/admin/content/edit/220/3//
>
> What can be happening and how might I fix it?
>
> (As you can see - I finally got eZ3 up and running - after a
> fashion).
>
> Jock Coats

Hi,

This is a strange one as the default install on RH 7.3 works fine with eZ3... try running 'convert' from the command line to see if it can be found. Then check the the apache user has rights to run the 'convert' command.

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Jonathan Coats

Monday 03 March 2003 2:11:03 am

>
> Hi,
>
> This is a strange one as the default install on RH 7.3 works
> fine with eZ3... try running 'convert' from the command line
> to see if it can be found. Then check the the apache user
> has rights to run the 'convert' command.
>
> Tony

Thanks. Mine is very much not standard, as accepting defaults with 7.3 did not work for me so I reinstalled the whole machine and then did the MySQL, PHP and Apache bits from source. But I got eZ Publish to run which I hadn't done before.

However, I will check the apache user/convert command, since the apache user is not standard. It ought to use GD before ImageMagick though oughtn't it?

Cheers,

Jock

Anders Jensen-Urstad

Tuesday 04 March 2003 9:35:17 am

> >
> > Hi,
> >
> > This is a strange one as the default install on RH 7.3
> works
> > fine with eZ3... try running 'convert' from the command
> line
> > to see if it can be found. Then check the the apache
> user
> > has rights to run the 'convert' command.
> >
> > Tony
>
> Thanks. Mine is very much not standard, as accepting
> defaults with 7.3 did not work for me so I reinstalled the
> whole machine and then did the MySQL, PHP and Apache bits
> from source. But I got eZ Publish to run which I hadn't
> done before.
>
> However, I will check the apache user/convert command, since
> the apache user is not standard. It ought to use GD before
> ImageMagick though oughtn't it?
>
> Cheers,
>
> Jock

Take a look at the section [imagemagick_program] in settings/setup.ini and make sure that convert is in one of the paths specified in unix_SearchPaths.

Anders Jensen-Urstad

Tuesday 04 March 2003 9:35:17 am

> >
> > Hi,
> >
> > This is a strange one as the default install on RH 7.3
> works
> > fine with eZ3... try running 'convert' from the command
> line
> > to see if it can be found. Then check the the apache
> user
> > has rights to run the 'convert' command.
> >
> > Tony
>
> Thanks. Mine is very much not standard, as accepting
> defaults with 7.3 did not work for me so I reinstalled the
> whole machine and then did the MySQL, PHP and Apache bits
> from source. But I got eZ Publish to run which I hadn't
> done before.
>
> However, I will check the apache user/convert command, since
> the apache user is not standard. It ought to use GD before
> ImageMagick though oughtn't it?
>
> Cheers,
>
> Jock

Take a look at the section [imagemagick_program] in settings/setup.ini and make sure that convert is in one of the paths specified in unix_SearchPaths.

Anders Jensen-Urstad

Tuesday 04 March 2003 9:35:17 am

> >
> > Hi,
> >
> > This is a strange one as the default install on RH 7.3
> works
> > fine with eZ3... try running 'convert' from the command
> line
> > to see if it can be found. Then check the the apache
> user
> > has rights to run the 'convert' command.
> >
> > Tony
>
> Thanks. Mine is very much not standard, as accepting
> defaults with 7.3 did not work for me so I reinstalled the
> whole machine and then did the MySQL, PHP and Apache bits
> from source. But I got eZ Publish to run which I hadn't
> done before.
>
> However, I will check the apache user/convert command, since
> the apache user is not standard. It ought to use GD before
> ImageMagick though oughtn't it?
>
> Cheers,
>
> Jock

Take a look at the section [imagemagick_program] in settings/setup.ini and make sure that convert is in one of the paths specified in unix_SearchPaths.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu