Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Coppermine :: Archives ⇒ Can´t upload photos-ImageMagick - Return value 127, -1... :: Archived


Can´t upload photos-ImageMagick - Return value 127, -1... :: Archived
Please post bugs in the Projects Module.
Post anything and everything else about Coppermine in this forum.

Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives

Topic Archived View previous topic :: View next topic  
Author Message
spotlight
Nice poster
Nice poster

Offline Offline
Joined: Aug 10, 2004
Posts: 59

PostPosted: Sun Aug 22, 2004 11:34 pm
Post subject: Can´t upload photos-ImageMagick - Return value 127, -1...

Hi finalley i install teh CPGNuje i´t look fine and very fast, i been using nuke for more than a year and i will change to cpg, so please keep the support! i´m having some problems i´m using cpgnuke 8.2b adn the copermine don´t work in the adnminstrator section all the configuration looks fine, also the albums are 777 i create a directory with 777 permisions and put there some photos in jpg and in low quality also the resolution is above the defined in the configuration, when i try tu make the batch it show al the thumbnails market when i press the buton to upload i take some time (7 seconds) and goes to a blank page and no instert at all, also if i try to upload photos like a registered user says these: "This is not a image or image has errors"

in the top of teh page these:
jpegtopnm 'modules/coppermine/albums/userpics/10004/1.jpg' | pnmscale -xsize=1024 -ysize=752 | pnmtojpeg -quality=80 > modules/coppermine/albums/userpics/10004/1.jpg

I´m so confused any help please.

Gracias Very Happy


spotlight's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP/?/MYSQL 2.../PHP 4.22/CPG :8.2b
Back to top
View user's profile Visit poster's website
roRisc
Heavy poster
Heavy poster

Offline Offline
Joined: Jun 02, 2004
Posts: 219
Location: Montreal, Canada
PostPosted: Thu Aug 26, 2004 3:52 am
Post subject: Re: Can´t upload photos

what's the site link?


roRisc's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Gentoo Linux, Apache2 - mod-php
Back to top
View user's profile Visit poster's website
Jeruvy
Security Team
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Thu Aug 26, 2004 2:00 pm
Post subject: Re: Can´t upload photos

I had this problem with 8.2b Coppermine simply wouldn't do anything with pictures. Granted I just wanted to upload ONE picture for test purposes, no.

No picture was uploaded !

If you have really selected a picture to upload, check that the server allows file uploads...

File: C:\Apache\Apache2\html\modules\coppermine\db_input.php - Line: 268

I'm going to stab that the TMP_DIR is causing the problem and rendering a NULL value for this line.

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger Photo Gallery
spotlight
Nice poster
Nice poster

Offline Offline
Joined: Aug 10, 2004
Posts: 59

PostPosted: Tue Aug 31, 2004 10:06 pm
Post subject: Re: Can´t upload photos

I think that teh prblem is that the server i´m using don´t have the GD libraries that´s all, when they install them and solve the problem i will post areply.

thanks

Luis


spotlight's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP/?/MYSQL 2.../PHP 4.22/CPG :8.2b
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Wed Sep 01, 2004 7:06 am
Post subject: Re: Can´t upload photos

open coppermine/db_input.php ≈ line 304
change
PHP:
            cpg_die(ERROR, "This is not a image or image has errors", __FILE__, __LINE__);
to
PHP:
            cpg_die(ERROR,$ERROR, __FILE__, __LINE__);
it should show a better error description then....

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
spotlight
Nice poster
Nice poster

Offline Offline
Joined: Aug 10, 2004
Posts: 59

PostPosted: Wed Sep 01, 2004 12:58 pm
Post subject: Re: Can´t upload photos

I make the change and i get a new error
in the top of the page is this:

jpegtopnm 'modules/coppermine/albums/userpics/10004/astonMartinDB7Vantage1.jpg' | pnmscale -xsize=1024 -ysize=768 | pnmtojpeg -quality=80 > modules/coppermine/albums/userpics/10004/astonMartinDB7Vantage1.jpg Cargando la velocidad depende de su conexion...

in the center:

Error

Incapaz de crear thumbnail o imagen de tamaño reducido.
(can´t create thumbnail or reduced image)

Tha is all

Confused


spotlight's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP/?/MYSQL 2.../PHP 4.22/CPG :8.2b
Back to top
View user's profile Visit poster's website
siasmaster
Newbie
Newbie

Offline Offline
Joined: Jul 20, 2004
Posts: 4
Location: Tempe, AZ
PostPosted: Fri Sep 03, 2004 12:00 am
Post subject: Re: Can´t upload photos

I'm having the same problem and I've changed the code and now I get no error message...


siasmaster's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 3.23.49/PHP version: 4.1.2
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Fri Sep 03, 2004 2:49 am
Post subject: Re: Can´t upload photos

Try the new db_input and if you still have same issue let me know a little more... like GD or IM and the command line if IM.
what OS/Apache are you using?

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
siasmaster
Newbie
Newbie

Offline Offline
Joined: Jul 20, 2004
Posts: 4
Location: Tempe, AZ
PostPosted: Fri Sep 03, 2004 8:21 pm
Post subject: Re: Can´t upload photos

akamu wrote:
Try the new db_input and if you still have same issue let me know a little more... like GD or IM and the command line if IM.
what OS/Apache are you using?

I'm still having the same issue. I don't know much about my server, it's through www.activewebhosting.com I added the PHP and MySQL info into my sig if it helps. They told me that the server is Linux and has IM installed. I've run CPG independently with no problems on a different domain with the same hosting company. If you want I can give you the URLs to my CPGnuke and also the CPG on the other domain.

_________________
MySQL 3.23.49/PHP version: 4.1.2
CPGnuke v8.2b

siasmaster's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 3.23.49/PHP version: 4.1.2
Back to top
View user's profile Visit poster's website
rrrr
Newbie
Newbie

Offline Offline
Joined: Sep 06, 2004
Posts: 16

PostPosted: Wed Sep 08, 2004 10:05 pm
Post subject: Re: Can´t upload photos

i am using the new db_input and have made a few changes but this error comes up

Quote::
Error executing ImageMagick - Return value: 127

File: /home/yakker/public_html/Yakker/modules/coppermine/db_input.php - Line: 309

with this edited file

that is all i clould do


rrrr's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
cpg=82.8 php=4.3.8 mysql=4.0.20 linux
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Thu Sep 09, 2004 1:44 am
Post subject: Re: Can´t upload photos

Quote::
Error executing ImageMagick - Return value: 127
Please see the sticky regarding this at: nukephotogallery.com/?...;p=921#921
It also refers to these info sources:
coppermine.sourceforge...magemagick
www.experts-exchange.c...45300.html

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
rrrr
Newbie
Newbie

Offline Offline
Joined: Sep 06, 2004
Posts: 16

PostPosted: Sun Sep 12, 2004 12:58 pm
Post subject: Re: Can´t upload photos-ImageMagick - Return value 127, -1.

i cant make heads or tails of the fix from those aretices can someone please tell us what to do???
?:)


rrrr's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
cpg=82.8 php=4.3.8 mysql=4.0.20 linux
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Sun Sep 12, 2004 9:02 pm
Post subject: Re: Can´t upload photos-ImageMagick - Return value 127, -1.

use GD or figure out how to set up imagemagick on your server, the path is the issue

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
rrrr
Newbie
Newbie

Offline Offline
Joined: Sep 06, 2004
Posts: 16

PostPosted: Tue Sep 14, 2004 11:42 pm
Post subject: Re: Can´t upload photos-ImageMagick - Return value 127, -1.

the path is the issue??
that sound like something really really zen
i have no idea what you are talking about i am a noob can't program and want to fix his site


rrrr's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
cpg=82.8 php=4.3.8 mysql=4.0.20 linux
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives
Page 1 of 1
All times are GMT

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy