coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: DFF on November 26, 2008, 08:07:04 PM

Title: Upload not possible - no valid image
Post by: DFF on November 26, 2008, 08:07:04 PM
Problem with upload, we get the following message
"Filen du har uploadet er ikke et gyldigt billede!  "
The file you have uploaded is not a valid image

error in db_input.php - Linie: 370 

Settings changes as specified in "Upload troubleshooting"

The gallery is bridged with SMF, so testuser account has to log in in the forum here
http://danskfjerkraeforum.dk/prod/index.php

and then proceed to gallery here
http://danskfjerkraeforum.dk/prod/index.php?action=gallery

testuser is

coppermineuser

password is

cpuser

Thanks in advance


Title: Re: Upload not possible - no valid image
Post by: SaWey on November 26, 2008, 10:47:53 PM
You might want to try and search for it on the board: click here (http://forum.coppermine-gallery.net/index.php?action=search2;params=YWR2YW5jZWR8J3wxfCJ8YnJkfCd8OTAsOTQsOTUsOTcsOTEsNDYsNDcsNDgsNDksNTAsNTEsNjQsNTIsNTMsNjYsMTAwLDU0LDU5LDg2LDg3LDk4LDM0LDIwLDIxLDIyLDIzLDI0LDI1LDI2LDMxLDI4LDYsNjUsMTgsNCwzLDIsMTQsMzcsMzgsMzksNDEsOTYsNTUsNjcsODksODgsMzAsNTgsMTIsODQsNjksNzYsNzEsNTcsNzAsODAsODMsODEsNzgsNzQsNzMsNzksNzIsODIsNzcsMzMsNzUsNyw0Myw0NSwzNSwxMCwzNiw0MCw2Myw2MCw5Myw5MiwxMDEsNjgsODUsMjksMTksNjIsOTl8InxzaG93X2NvbXBsZXRlfCd8fCJ8c3ViamVjdF9vbmx5fCd8fCJ8c29ydF9kaXJ8J3xkZXNjfCJ8c29ydHwnfHJlbGV2YW5jZXwifHNlYXJjaHwnfFwiaXMgbm90IGEgdmFsaWQgaW1hZ2VcIg==)
Title: Re: Upload not possible - no valid image
Post by: DFF on November 27, 2008, 06:36:19 AM
As always I did a search at a start before writing a topic, but the things I tried to look at was not the cause. to be more specific.

This one (http://forum.coppermine-gallery.net/index.php/topic,52029.0.html) was no use. Neither This one (http://forum.coppermine-gallery.net/index.php/topic,55313.0.html)

Intermediate (http://forum.coppermine-gallery.net/index.php/topic,55146.0.html) file size is not 1

It's also not a size problem as indicated here (http://forum.coppermine-gallery.net/index.php/topic,5010.0.html)

Permissions are checked and OK. I wrote a small php-script to check that the function getimagesize() is working, which it seems to do, it's not returning zero as also indicated in several topics.

So I would really appreciate some hints to what could be the problem.
Title: Re: Upload not possible - no valid image
Post by: Joachim Müller on November 27, 2008, 07:34:25 AM
Actual link to gallery is http://danskfjerkraeforum.dk/cpg1416/
I get the error you report with a known-good jpeg image when trying to http-upload that file.
What image library are you using? Please make a screenshot of the GD section of PHPINFO (http://danskfjerkraeforum.dk/cpg1416/phpinfo.php). Make a screenshot as well of the corresponding section of your config (with your language temporarily switched to English (http://danskfjerkraeforum.dk/cpg1416/?lang=english)). Please attach those screenshots to your reply (using "additional options" when composing your message).
Title: Re: Upload not possible - no valid image
Post by: DFF on November 27, 2008, 05:13:13 PM
Thanks for checking and confirming the error. The very strange thing is that now the upload is working ??? ???

I haven't changed anything, but I have asked the host what have happened and what they have changed. For reference, the PHP-info and config settings are attached.

I am completely confused over this error and even more that it's gone away with no action from my side. Once again thanks for your effort.
Title: Re: Upload not possible - no valid image
Post by: Joachim Müller on November 27, 2008, 05:50:52 PM
Your webhost probably fixed something that was broken on his end. Happens quite often. You probably won't get a good answer from them though...