forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: khm1972 on October 18, 2003, 04:44:05 pm

Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: khm1972 on October 18, 2003, 04:44:05 pm
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?
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: hyperion on October 18, 2003, 04:59:56 pm
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
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: khm1972 on October 19, 2003, 09:31:25 am
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
Title: Anyone?????
Post by: khm1972 on October 20, 2003, 07:08:36 pm
Have an answer???
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: jasendorf on October 20, 2003, 07:23:14 pm
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.
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: e32o on October 20, 2003, 08:32:55 pm
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.
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: jasendorf on October 20, 2003, 08:38:36 pm
[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...)
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: Tarique Sani on October 21, 2003, 06:44:28 am
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]
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: khm1972 on October 21, 2003, 08:29:44 am
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!

????
Title: upload picture
Post by: khm1972 on October 21, 2003, 07:10:52 pm
Has anyone got an idea to what I can try to fix this problem?
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: jasendorf on October 21, 2003, 07:16:10 pm
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.
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: Joachim Müller on October 21, 2003, 07:16:15 pm
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
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: khm1972 on October 23, 2003, 10:59:36 am
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
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: Zarsky on October 23, 2003, 02:49:30 pm
php.net and then click documentation.
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: khm1972 on October 28, 2003, 05:47:57 pm
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
Title: Impossible to move x.jpg to albums/userpics/10001 !
Post by: jasendorf on October 28, 2003, 06:00:42 pm
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.