coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: leccy on April 02, 2009, 12:39:42 PM

Title: [Solved]: The previous file could not be placed.
Post by: leccy on April 02, 2009, 12:39:42 PM
The previous file could not be placed.

You have successfully placed all the files.


I get this contradictory message after trying to place an uploaded pic into an album the message comes up on this page http://256clan.com/gallery/upload.php and the pic does not appear in the gallery.

I have read through documentation and looked for any similair problems , this happens for all users
http://256clan.com/gallery

Any pointers

Title: Re: The previous file could not be placed.
Post by: leccy on April 02, 2009, 12:51:40 PM
username test
login test1
Title: Re: The previous file could not be placed.
Post by: Hein Traag on April 02, 2009, 01:06:50 PM
Follow the steps as described in the sticky thread: http://forum.coppermine-gallery.net/index.php/topic,24088.0.html (http://forum.coppermine-gallery.net/index.php/topic,24088.0.html)
Title: Re: The previous file could not be placed.
Post by: leccy on April 02, 2009, 01:27:06 PM
i have done this and all permission are set correctly , the files are on the server in gallery/albums/userpics but i still getting the error
Title: Re: The previous file could not be placed.
Post by: leccy on April 02, 2009, 01:45:22 PM
i assume the when i create an album a corresponding folder would be created in the albums folder ? if so this is not happening.
Title: Re: The previous file could not be placed.
Post by: Hein Traag on April 02, 2009, 02:25:36 PM
Correct. When you make a album in cpg it does not automaticly make a folder on the ftp side of the story.

Here's what is normally done when you are the admin.

- create a folder under albums and upload the pictures there using ftp
- make sure that new folder is writable, either 755 or 777
- create a album in a category in cpg
- use batch add to add the pictures from the ftp folder into the cpg album


Title: Re: The previous file could not be placed.
Post by: leccy on April 02, 2009, 05:02:12 PM
thanks for your reply.

I followed yur instructions and when doing the batch upload i get this error.

"Error executing ImageMagick - Return value: 127

Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 100x48 'albums/testfolder/256specialbus.jpg' 'albums/testfolder/thumb_256specialbus.jpg'


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


while this maybe a problem in the way i set things up i really cant see what i have done.

Title: Re: The previous file could not be placed.
Post by: Nibbler on April 02, 2009, 05:24:52 PM
It means that when you installed Coppermine you selected to use ImageMagick and entered a path (/usr/bin/convert) to it. Either that path was wrong, or you don't actually have ImageMagick in the first place. Either set the correct path in Coppermine's config or switch to GD2 instead.
Title: Re: The previous file could not be placed.
Post by: leccy on April 02, 2009, 06:23:52 PM
my host has a automated process the loads down all the files needed and sets up the mysql. i have reinatlled from scratch and didnt get the options you describe. Could you advise where i find this setting to check or adjust it.

Banging my head firmly against the desk now.

Title: Re: The previous file could not be placed.
Post by: Nibbler on April 02, 2009, 06:55:48 PM
That's one of many reasons we don't recommend using auto installers. You would not have this problem if you used the official install script.

Look in config - Files and thumbnails advanced settings => Method for resizing images
Title: Re: The previous file could not be placed.
Post by: leccy on April 02, 2009, 07:01:45 PM
wonderfull , thanks for your help switched to gd2 and it works just fine , now dare i try and bridge my logins to the Simple machines forum ?

Title: Re: [Solved]: The previous file could not be placed.
Post by: Nibbler on April 02, 2009, 07:08:15 PM
Update your gallery first. You are 2 versions behind.
Title: Re: [Solved]: The previous file could not be placed.
Post by: leccy on April 02, 2009, 08:05:49 PM
will do thanks
Title: Re: [Solved]: The previous file could not be placed.
Post by: leccy on April 02, 2009, 08:31:59 PM
the above problem is resolved , i need more advice on how to upgrade version shall i start a new post does an admin want to close this post?

the question , i have looked through the settings expecting to find a check for upgrades option but cant find anything.

hmm . rule two search the board , ill try that
Title: Re: [Solved]: The previous file could not be placed.
Post by: Fabricio Ferrero on April 02, 2009, 10:44:21 PM
Here (http://forum.coppermine-gallery.net/index.php/topic,58309) you got the instruction for upgrading. The is no  'upgrade checking' button built in Coppermine.

If you read carefully that thread you wouldn't have problem upgrading. ;)
Title: Re: [Solved]: The previous file could not be placed.
Post by: Joachim Müller on April 03, 2009, 07:26:08 AM
Quote from: leccy on April 02, 2009, 08:31:59 PM
the above problem is resolved
We have a strict "one issue per thread" policy that you agreed to respect when signing up.

Quote from: leccy on April 02, 2009, 08:31:59 PMi need more advice on how to upgrade version shall i start a new post
Exactly!

Quote from: leccy on April 02, 2009, 08:31:59 PMdoes an admin want to close this post?
Actually, I'm locking it to avoid further clutter.