Suddenly I am no longer able to upload pictures to the gallery - i get the following message "Impossible to move x.jpg to albums/userpics/10001/ !" Anyone know whats wrong?
Activate debug mode; it will give more information. Then we can try to help. :)
Also, a similar problem with a solution:
http://forum.coppermine-gallery.net/index.php?topic=567
Hi - Here is the Debug information!
File: /server/www/cid100151/markussens.dk/wwwroot/db_input.php - Line: 251
Debug info
USER:
Array
(
[ID] => 5474b221b661825feab77d837c1da1d8
[am] => 1
)
GET :
Array
(
)
POST :
Array
(
[event] => picture
[album] => 14
[MAX_FILE_SIZE] => 1048576
[title] =>
[caption] =>
[keywords] =>
[user1] =>
[user2] =>
[user3] =>
[user4] =>
)
Hope this will help!
K
Have an answer???
Could be a mulitptude of things. Could be a quota issue, could be a permissions issue. Try uploading a very small jpeg. Make sure the user you are trying to upload as has permissions.
I found out if you make the Max Size of a uploaded file over the amount of 100megs you get that error, this might be a bug to look into dev team.
[edit]
I have the problem when I get up around 10 terrabytes in that field. (why anyone would upload a 10 terrabyte file is beyond me though...)
Have not yet looked deeper into the issue but here is some interesting info on MAX_FILE_SIZE
http://bugs.php.net/bug.php?id=20570
[update]
More such PHP bugs
http://bugs.php.net/bug.php?id=8940
http://bugs.php.net/bug.php?id=17978
Guess this is more of a PHP issue than CPG, the best we can do is warn users in the FAQ
[/update]
The files i'm trying to upload is only round the size of 150 kb - so there should be no problem with the file size!
????
Has anyone got an idea to what I can try to fix this problem?
It's not a question of the file size itself... it's a question of the Max_File_Size setting in config. What is it set to? Try setting it to 1024 KB and see if that helps.
file size of the pic you are going to upload doesn't matter if you have set your php configuration (look for php.ini and remember to stop/restart your webserver after changing anything there) to an absurd value for max_upload. Go for this setting...
GauGau
Where do I find the php.ini file and where do I find the file where I control "safe mode".
Sorry I'm no PHP genious :shock:
Thanx
K
php.net and then click documentation.
I need this problem fixed now. Do anyone know if I will be able to install the new version completely again and then upload an stille see my ecxisting album??
Thanks for tour help anyway, but it has'nt solved the problem. Your suggestions for solutions are simply to complicated for my php knowledge!
Thanks
Klaus
Have you tried a google search on php.ini? or on php safe_mode?
Unless you're going to give us root access to your server, there's not much we can do for you.