coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Swissy on October 17, 2006, 09:26:14 PM

Title: upload problem
Post by: Swissy on October 17, 2006, 09:26:14 PM
Hi all,
got a problem. My webhost provider had Coppermine 1.3.3 as an installable feature. I installed it and while everything looked ok, I could not upload files. I thought maybe upgrading to 1.4.9 would solve things so I did that first. I am still having the errors. I made sure that the file directories on the server were CHMod 777 (tried 755 as well). I should mention that the install script from my webhost created the SQL database and linked it to this gallery.

I followed the guide posted a number of times- made sure that only 1 file was allowed to be uploaded, and so on. This is the error I get in the upload screen...

The file 'albums/userpics/10002/fish.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.
File: /usr/home/webbird/public_html/sterling/db_input.php - Line: 402


The file is within the size limits - both screen size and file size. In looking in the file directory via FTP, the file (fish.jpg) is in the directory, but no thumbnail is.

a test user account has been setup with an album to use...
user= test
password= testuser

this is the debug info...
USER:
------------------
Array
(
    [ID] => 375e063bc315b0e4eceb7eb0c67070f7
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => test
    [groups] => Array
        (
           
Title: Re: upload problem
Post by: Swissy on October 17, 2006, 09:30:28 PM
should give the addy to the gallery (duuuhhhhh!)

http://www.web-birds.com/sterling
Title: Re: upload problem
Post by: Joachim Müller on October 17, 2006, 11:38:19 PM
In fact, you should do exactly as suggested in the docs: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: upload problem
Post by: Nibbler on October 17, 2006, 11:45:25 PM
Have you tried switching to GD2 in config?
Title: Re: upload problem
Post by: Swissy on October 18, 2006, 12:18:02 AM
Quote from: GauGau on October 17, 2006, 11:38:19 PM
In fact, you should do exactly as suggested in the docs: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble

I did that tho... the section on "4.11.4 Upload troubleshooting" - "# Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")"

crap, I'll even make an admin account for you to check if you want...


Quote from: Nibbler on October 17, 2006, 11:45:25 PM
Have you tried switching to GD2 in config?
No, actually I have not. I thought since the thing was installed from my webhost company initally, that they had it set the way they wanted it. Dumb me... I'll try that now
Title: Re: upload problem
Post by: Swissy on October 18, 2006, 12:21:10 AM
Quote from: Nibbler on October 17, 2006, 11:45:25 PM
Have you tried switching to GD2 in config?

Oh good Lord... 

that did it. Why would they set it to ImageMagik when it wouldn't work??  Oh well.. thanks. working fine now  ::)
Title: Re: upload problem
Post by: Nibbler on October 18, 2006, 12:42:46 AM
The people who made the autoinstaller don't understand Coppermine. We always recommend people to use the proper installer that we provide.