Impossible to move x.jpg to albums/userpics/10001 ! Impossible to move x.jpg to albums/userpics/10001 !
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Impossible to move x.jpg to albums/userpics/10001 !

Started by khm1972, October 18, 2003, 04:44:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

khm1972

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?

hyperion

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
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

khm1972

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

khm1972


jasendorf

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.
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

e32o

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.

jasendorf

[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...)
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Tarique Sani

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]
SANIsoft PHP applications for E Biz

khm1972

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!

????

khm1972

Has anyone got an idea to what I can try to fix this problem?

jasendorf

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.
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Joachim Müller

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

khm1972

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

Zarsky

Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

khm1972

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

jasendorf

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.
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.