[Solved]: The previous file could not be placed [Solved]: The previous file could not be placed
 

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]

Main Menu

[Solved]: The previous file could not be placed

Started by Levz, August 06, 2009, 05:45:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Levz

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.

Joe Carver


Levz


Joe Carver

Got the same results with a small .gif and small .jpg.

Could not see what you are using for image processing, ImageMagick or GD?

Levz


Nibbler

Configure the upload options exactly as described in the link provided above. Check what you have set for the 'resize method' in config.

Levz

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?



Joachim Müller

Quote from: Levz on August 06, 2009, 10:36:38 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.

Levz

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

Nibbler

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.

Levz

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


Nibbler

Do what the message says. You need one or the other to use Coppermine.

Levz

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

Joachim Müller

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.