Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: Unable to upload pictures on new install  (Read 3138 times)

0 Members and 1 Guest are viewing this topic.

Matthews

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
[Solved]: Unable to upload pictures on new install
« on: July 05, 2009, 11:50:04 pm »

I just created a new Coppermine board and have so far been unable to upload any images.  I followed all of the instructions in the documentation that came with the software: made sure the user group could upload files (even though it's the Admin account, it never hurts to be sure), and made sure that the 'Visitors can upload files' box was checked.  Whenever I tried to upload files, they would be successfully uploaded, I would then be given the option to choose an album, but I would then get a message 'The previous file could not be placed.' followed by 'You have successfully placed all the files.'

So then I came to the forum and carefully followed the steps outlined in the troubleshooting FAQ's: Set File upload boxes to "1", set URI upload boxes to "0", and set No. of boxes to "fixed".  I then tried to re-upload a single pic, and got the following error:
The file 'albums/userpics/Alfie~1.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127

Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 91x100 'albums/userpics/Alfie~1.jpg' 'albums/userpics/thumb_Alfie~1.jpg'

The convert program said:
sh: /usr/bin/convert: No such file or directory

File: /home/matthews/public_html/photo_archive/db_input.php - Line: 402


So, I created a test account and am posting here in hopes of getting some help.

Thanks in advance for your help.

SITE: http://stmatthewsoflatham.org/photo_archive/index.php
Username: TestAccount
Password: test123
« Last Edit: July 06, 2009, 10:15:20 am by Joachim Müller »
Logged

Matthews

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Unable to upload pictures on new install
« Reply #1 on: July 06, 2009, 12:04:07 am »

Nevermind... :-[ :-[ :-[  I just realized what the problem was.  My host either doesn't have ImageMagik on the server, or I have something set wrong.  Either way, problem solved.  I checked the server PHP settings and saw that it did support GD, so I just changed the image resize method to GD version 2.x, and voila, works like a charm.

Thanks a ton to the developers for a great image gallery!  Keep up the good work!
Logged

cmbmusic

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Unable to upload pictures on new install
« Reply #2 on: July 06, 2009, 06:32:02 am »

Nevermind... :-[ :-[ :-[  I just realized what the problem was.  My host either doesn't have ImageMagik on the server, or I have something set wrong.  Either way, problem solved.  I checked the server PHP settings and saw that it did support GD, so I just changed the image resize method to GD version 2.x, and voila, works like a charm.

Thanks a ton to the developers for a great image gallery!  Keep up the good work!

Thanks for posting your results and findings.  solved my problem too.  Although I have no idea why the imagemagic stopped working.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Unable to upload pictures on new install
« Reply #3 on: July 06, 2009, 09:06:11 am »

Matthews,

I'm guessing that as your instal defaulted to imagemagik you used your hosts installer, probably fantastico? This installer is a third party thing and has many problems as outlined in a lot of threads on this board and is therefore something we can neither recommend nor support.

In your case you are also running a few versions behind (another drawback of this installer is that hosts rarely are up to date).

<!--Coppermine Photo Gallery 1.4.20 (stable)-->

This is leaving you at risk

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade_why

The current release is 1.4.25. Simply download it and follow the upgrade instructions in the docs and you will be fully up to date with a propper copy of the software. It shouldn't take long. If you run into any problems start a thread in the upgrading board and we will be glad to help.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.