coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: adllop on January 03, 2007, 08:30:41 PM

Title: "Previous Image Could Not Be Placed"
Post by: adllop on January 03, 2007, 08:30:41 PM
Hello, on my gallery I cannot upload pictures, or better said, I can upload them, but they can't be placed. I've set the permissions, and I've edited my configuration to allow all types of images. Whenever I go and try to upload an image it says "Image Uploaded Successfully", I  input the picture information, and when I click Next, it gives me a message saying

"Previous image could not be placed"
"You have successfully placed all files"

That's it, no error message, no nothing, just this.
Any ideas on what's causing this?

Thanks
Title: Re: "Previous Image Could Not Be Placed"
Post by: HeatherR on January 03, 2007, 10:12:27 PM
Yes..I really need to know about this too. The gallery was working fine yesterday and then suddenly today we keep getting this message. I can't figure out why though. Any help would be appreciated!
Title: Re: "Previous Image Could Not Be Placed"
Post by: HeatherR on January 03, 2007, 10:37:48 PM
nevermind..I scrolled to the bottom of the page and found a post from someone else who had the same problem and how it try and fix it.
Title: Re: "Previous Image Could Not Be Placed"
Post by: HeatherR on January 03, 2007, 10:58:02 PM
ok..so I did what it said in the other post about re-applying write permissions and it didn't work. This is the debug info i'm getting....

USER:
------------------
Array
(
    [ID] => 6603c38fdd052bac0112823a871baadb
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Heather_R
    [groups] => Array
        (
           
Title: Re: "Previous Image Could Not Be Placed"
Post by: Nibbler on January 03, 2007, 11:14:03 PM
Works fine for me. Try clearing your cache, using a different browser etc.
Title: Re: "Previous Image Could Not Be Placed"
Post by: HeatherR on January 03, 2007, 11:28:57 PM
I changed browsers and that didn't work. I may sound like an idiot but i'm new to all this..how do I clear my cache? I usually have my husband do this stuff but he's at work and I wanted to try and attemp to fix it on my own. Thanx for any more help :)
Title: Re: "Previous Image Could Not Be Placed"
Post by: adllop on January 04, 2007, 12:38:41 AM
When I followed the directions in the CPG documentation for Uploading Troubles, I was given this message when I tried to upload a file.


QuoteThe file 'albums/userpics/10001/porkchopssiggie.png' can't be inserted in the album

Error executing ImageMagick - Return value: 2

Cmd line :
convert -quality 80 -antialias -geometry 100x30 'albums/userpics/10001/porkchopssiggie.png' 'albums/userpics/10001/thumb_porkchopssiggie.png'


The convert program said:


File: /hosted/subs/ulmb.com/s/g/sgaweb/public_html/m/e107_plugins/coppermine_menu/db_input.php - Line: 305
Title: Re: "Previous Image Could Not Be Placed"
Post by: Nibbler on January 04, 2007, 12:41:26 AM
You need to enter the path to imagemagick in config or switch to GD2.
Title: Re: "Previous Image Could Not Be Placed"
Post by: HeatherR on January 04, 2007, 01:00:18 AM
not sure..we'll see if it works but we think the reason the pictures weren't uploading was because the files were too large. I uploaded a smaller file and it uploaded just fine.
Title: Re: "Previous Image Could Not Be Placed"
Post by: ballackfanatka on January 17, 2007, 11:11:18 PM
i get exactly the same problem and im dumb at all this so please someone tell me what to do,.... i already checked the Upload troubleshooting documentation did what it sais and i get the message:


The file 'albums/userpics/10001/2020375_b~0.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127


Cmd line :
convert -quality 80 -antialias -geometry 100x74 'albums/userpics/10001/2020375_b~0.jpg' 'albums/userpics/10001/thumb_2020375_b~0.jpg'



The convert program said:
sh: convert: command not found



File: /vol/home2/sites/site1/web/ballackfanatkaphotos/db_input.php - Line: 402

Title: Re: "Previous Image Could Not Be Placed"
Post by: ballackfanatka on January 17, 2007, 11:16:07 PM
ok people so the thing of changing to the gd 2 works!!!! did it thanks for the help!