[SOLVED] Uploading doesnt work/footer error [SOLVED] Uploading doesnt work/footer error
 

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

[SOLVED] Uploading doesnt work/footer error

Started by etrcoke, November 13, 2003, 06:29:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

etrcoke

Hey, Whenever I try to upload a picture, I get this error:

Critical error
Impossible to move pic.jpg to modules/coppermine/albums/userpics/10002/ !

Now I have albums chmodded to 777 and i have the user folder chmodded too but the 10002 folder cannot be chamodded. Also.. I am not sure if this is related.. but i have a footer error and I could not find a fix on the rest of these forums. The error is

Fatal error: Call to undefined function: footer() in /home/clan-f41/public_html/modules/coppermine/include/functions.inc.php on line 138

Now my site is http://clan-fire.com   Check it out if you wish. Thanks coppermine team.

slaiter

Oke I had the same problem but fixed it now.
first do a chmod -R 777 .../coppermine/albums/ now you can add albums and upload pictures the -R is important you must use it.

For the other problem just outcomment the line (138)


slaiter

Quote from: "gtroll"change line 138 in functions.inc.php from footer(); to include'../../footer.php';
and thank you for the cleaner solution ;)

etrcoke

Ok, thanks for all your help. The footer is fixed now. However I could not fix the other. Im using cute ftp and when I tell it to chmod to -R 777  This is what it tells me:


[albums]
COMMAND:> SITE CHMOD -R 777 albums
550 777 albums: No such file or directory

Now I forgot to mention I did get the standalone of coppermine to work so I know I CAN upload pictures.. If that helps any. Thanks for all your help!

irving

Don't you have a shell in the server? Perhaps CuteFTP does not support chmod with "-R" switch. Anything in CuteFTP to do recursive chmod?

- irving
http://www.irvingevajoan.com

etrcoke

Well, I dunno I was talking to my hosting guy and I guess he fixed it. It was probley cute ftp doin something wrong. Well thank you for all of your help.