forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Levz on August 06, 2009, 05:45:38 pm

Title: [Solved]: The previous file could not be placed
Post by: Levz on August 06, 2009, 05:45:38 pm
Ok, so i am having lots of trouble uploading. I have followed the steps outlined a couple times over. There is obviously something i'm missing but i can't catch it.

http://www.2wheelsouljaz.com/gallery


This is the message i'm getting.


The previous file could not be placed.

You have successfully placed all the files.
Title: Re: The previous file could not be placed
Post by: Joe Carver on August 06, 2009, 05:55:47 pm
No one will be able to help you until you follow these steps before returning.

4.11.4 Upload troubleshooting (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble)

4.11.5 Asking for support on upload issues (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support)
Title: Re: The previous file could not be placed
Post by: Levz on August 06, 2009, 07:24:39 pm
test user account: test/testing
Title: Re: The previous file could not be placed
Post by: Joe Carver on August 06, 2009, 08:04:11 pm
Got the same results with a small .gif and small .jpg.

Could not see what you are using for image processing, ImageMagick or GD?
Title: Re: The previous file could not be placed
Post by: Levz on August 06, 2009, 08:44:18 pm
Where would i see that info?
Title: Re: The previous file could not be placed
Post by: Nibbler on August 06, 2009, 09:16:40 pm
Configure the upload options exactly as described in the link provided above. Check what you have set for the 'resize method' in config.
Title: Re: The previous file could not be placed
Post by: Levz on August 06, 2009, 10:36:38 pm
The config screen is exactly as suggested.

The group panel is exactly as suggested.

The folder permissions where exactly as required.

upload_tmp_dir shows 'no value' how do i specify that?


Title: Re: The previous file could not be placed
Post by: Joachim Müller on August 06, 2009, 10:42:24 pm
The group panel is exactly as suggested.
No, it's not. The number of URI upload fields is suppossed to be set to zero - you have set it to one instead of zero.
Title: Re: The previous file could not be placed
Post by: Levz on August 06, 2009, 11:15:31 pm
ughh....ok.... :-[

so i guess this is the real error you are talking about.

The file 'albums/userpics/DSC03238~4.JPG' can't be inserted in the album

Error executing ImageMagick - Return value: 127

Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 69x100 'albums/userpics/DSC03238~4.JPG' 'albums/userpics/thumb_DSC03238~4.JPG'


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


File: /home/levz/public_html/gallery/db_input.php - Line: 402
Title: Re: The previous file could not be placed
Post by: Nibbler on August 06, 2009, 11:21:50 pm
Common problem. You told Coppermine to use ImageMagick for resizing images but you don't actually have it installed or it is not installed where you told Coppermine it was. Either switch to GD2 in config or determine the correct path to use.
Title: Re: The previous file could not be placed
Post by: Levz on August 06, 2009, 11:29:19 pm
Yessir, you were indeed correct. now i changed it to GD 2x but now the error says

PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed

File: /home/levz/public_html/gallery/include/picmgmt.inc.php - Line: 254

Title: Re: The previous file could not be placed
Post by: Nibbler on August 06, 2009, 11:31:18 pm
Do what the message says. You need one or the other to use Coppermine.
Title: Re: The previous file could not be placed
Post by: Levz on August 06, 2009, 11:51:10 pm
ok, i'll re read it again.

But i will say this, you really gotta check ur ego at the door cuz you guys can be brutal.  ;D
Title: Re: The previous file could not be placed
Post by: Joachim Müller on August 07, 2009, 07:31:12 am
Conclusion for others with similar issues: you need to fullfill the minimum requirements to run coppermine. If you don't, there's nothing we could do for you if you don't have what is needed to run Coppermine. Don't blame the car dealer that you need a driver's license and roads to actually drive a car.
Marking thread as "solved", although the thread starter probably doesn't like the answer given.