Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Impossible to move x.jpg to albums/userpics/10001 !  (Read 6875 times)

0 Members and 1 Guest are viewing this topic.

khm1972

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
    • http://www.markussens.dk
Impossible to move x.jpg to albums/userpics/10001 !
« 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?
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #1 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
Logged
"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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

khm1972

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
    • http://www.markussens.dk
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #2 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
Logged

khm1972

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
    • http://www.markussens.dk
Anyone?????
« Reply #3 on: October 20, 2003, 07:08:36 pm »

Have an answer???
Logged

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #4 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.
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

e32o

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 11
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #5 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.
Logged

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #6 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...)
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #7 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]
Logged
SANIsoft PHP applications for E Biz

khm1972

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
    • http://www.markussens.dk
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #8 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!

????
Logged

khm1972

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
    • http://www.markussens.dk
upload picture
« Reply #9 on: October 21, 2003, 07:10:52 pm »

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

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #10 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.
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #11 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
Logged

khm1972

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
    • http://www.markussens.dk
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #12 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
Logged

Zarsky

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 268
    • Zerr Family Website
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #13 on: October 23, 2003, 02:49:30 pm »

php.net and then click documentation.
Logged
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

khm1972

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
    • http://www.markussens.dk
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #14 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
Logged

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
Impossible to move x.jpg to albums/userpics/10001 !
« Reply #15 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.
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.