News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Error return value 126 , anyone??

Started by dementeddogz, November 01, 2003, 08:37:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dementeddogz

Ok ive read what i could find on this site but im still getting the error :
Error executing ImageMagick - Return value: 127

I had my host add ImageMagick and set the path , chmode the fright files to 777 and still retained the error.

System Linux daffy.perf.redhat.com 2.4.18-11smp #1 SMP Thu Aug 15 06:41:59 EDT 2002 i686 unknown
Build Date Sep 26 2002
Configure Command  './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring' '--enable-mbstr-enc-trans' '--with-apxs=/usr/sbin/apxs'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php.ini
ZEND_DEBUG disabled
Thread Safety disabled


any ideas?

dementeddogz

forgot to add debug info


Warning: Cannot execute using backquotes in safe mode in /home/httpd/vhosts/thedemonknights.com/httpdocs/modules/coppermine/include/picmgmtbatch.inc.php on line 144
Error executing ImageMagick - Return value: 127


Cmd line :
/usr/local/bin/mogrify/convert -quality 80 -antialias -geometry 100x89 'modules/coppermine/albums/userpics/ark.jpg' 'modules/coppermine/albums/userpics/thumb_ark.jpg'



The convert program said





Hell while im at it , im showing as "registered" as everyone else . how would i change that? its telling me i cant edit myself i have to edit through profile which wont allow me to edit it.

dementeddogz

fixed it to this point Error executing ImageMagick - Return value: 126

debug info

Error executing ImageMagick - Return value: 126


Cmd line :
/usr/local/bin/mogrify/convert -quality 80 -antialias -geometry 100x89 'modules/coppermine/albums/userpics/ark.jpg' 'modules/coppermine/albums/userpics/thumb_ark.jpg'



The convert program said:
sh: /usr/local/bin/mogrify/convert: Not a directory

dementeddogz


moorey

Have you tried searching? Your problem soundslike the following:
http://coppermine-gallery.com/forum/index.php?topic=38

Make sure your path to convert is correct.

If you have shell access, try and see if the following file and exist and if it's the right one.

Quote/usr/local/bin/mogrify/convert

moorey

In fact, what's the above configure message from? ImageMagick?

This line looks interesting:
QuoteConfigure Command './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'

If it is ImageMagicks, then the convert utility really should be at
Quote/usr/bin/convert

dementeddogz

actually i just got it fixed. was sent the wrong info :p


was /usr/local/bin/

dementeddogz

Actually im having one last issue. Its up and running but its not showing under my admin menu for modules so i cant activate it? any ideas?


and looks like its got everyone set up the same im showing as a registered user, just like everyone else. wont let me edit myself , tells me to go to profile but cant change it there. Im sure i can prob work this issue out eventually though

DJMaze

phpNuke version ?
CPG for phpNuke version ?

cos there's a difference in CPG for Nuke 5.5-6.0 and CPG for phpNuke 6.5
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

dementeddogz

nuke version 6.8

cpg - beats me. im getting there but still fairly new to nuke :p

dementeddogz

got it to show up in modules and got it fixed so that issues resolved. still not sure about member settings going to see if i can try to get a member to see if he can access any admin features but i know im still showing up as just a registered user not an admin


EDIT : users say they dont see any of the admin links.