Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Error return value 126 , anyone??  (Read 20108 times)

0 Members and 1 Guest are viewing this topic.

dementeddogz

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Error return value 126 , anyone??
« on: November 01, 2003, 08:37:09 pm »

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?
Logged

dementeddogz

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Error return value 126 , anyone??
« Reply #1 on: November 01, 2003, 08:51:17 pm »

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.
Logged

dementeddogz

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Error return value 126 , anyone??
« Reply #2 on: November 01, 2003, 11:43:45 pm »

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
Logged

dementeddogz

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Error return value 126 , anyone??
« Reply #3 on: November 02, 2003, 12:07:00 pm »

anyone?
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Error return value 126 , anyone??
« Reply #4 on: November 02, 2003, 02:49:10 pm »

Have you tried searching? Your problem soundslike the following:
http://forum.coppermine-gallery.net/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
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Error return value 126 , anyone??
« Reply #5 on: November 02, 2003, 02:51:19 pm »

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

This line looks interesting:
Quote
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'


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

dementeddogz

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Error return value 126 , anyone??
« Reply #6 on: November 02, 2003, 04:58:40 pm »

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


was /usr/local/bin/
Logged

dementeddogz

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Error return value 126 , anyone??
« Reply #7 on: November 02, 2003, 05:24:34 pm »

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
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Error return value 126 , anyone??
« Reply #8 on: November 02, 2003, 05:28:35 pm »

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
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Error return value 126 , anyone??
« Reply #9 on: November 02, 2003, 05:35:29 pm »

nuke version 6.8

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

dementeddogz

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Error return value 126 , anyone??
« Reply #10 on: November 02, 2003, 06:41:09 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 14 queries.