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


Offline Joined: Aug 10, 2004 Posts: 59
|
Posted: 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
spotlight's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP/?/MYSQL 2.../PHP 4.22/CPG :8.2b
|
|
| Back to top |
|
 |
roRisc Heavy poster


Offline Joined: Jun 02, 2004 Posts: 219 Location: Montreal, Canada
|
Posted: 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 |
|
 |
Jeruvy Security Team


Offline Joined: Apr 23, 2004 Posts: 1432 Location: Canada
|
Posted: 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 |
|
 |
spotlight Nice poster


Offline Joined: Aug 10, 2004 Posts: 59
|
Posted: 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 |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: 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 |
|
 |
spotlight Nice poster


Offline Joined: Aug 10, 2004 Posts: 59
|
Posted: 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
spotlight's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP/?/MYSQL 2.../PHP 4.22/CPG :8.2b
|
|
| Back to top |
|
 |
siasmaster Newbie


Offline Joined: Jul 20, 2004 Posts: 4 Location: Tempe, AZ
|
Posted: 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 |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: 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 |
|
 |
siasmaster Newbie


Offline Joined: Jul 20, 2004 Posts: 4 Location: Tempe, AZ
|
Posted: 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 |
|
 |
rrrr Newbie


Offline Joined: Sep 06, 2004 Posts: 16
|
Posted: 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 |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
|
| Back to top |
|
 |
rrrr Newbie


Offline Joined: Sep 06, 2004 Posts: 16
|
Posted: 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 |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: 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 |
|
 |
rrrr Newbie


Offline Joined: Sep 06, 2004 Posts: 16
|
Posted: 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 |
|
 |
|
|