forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: etrcoke on November 13, 2003, 06:29:51 am

Title: [SOLVED] Uploading doesnt work/footer error
Post by: etrcoke on November 13, 2003, 06:29:51 am
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.
Title: [SOLVED] Uploading doesnt work/footer error
Post by: slaiter on November 13, 2003, 06:12:13 pm
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)
Title: [SOLVED] Uploading doesnt work/footer error
Post by: gtroll on November 13, 2003, 08:11:28 pm
change line 138 in functions.inc.php from
Code: [Select]
footer(); to
Code: [Select]
include'../../footer.php';
Title: [SOLVED] Uploading doesnt work/footer error
Post by: slaiter on November 13, 2003, 08:48:53 pm
Quote from: "gtroll"
change line 138 in functions.inc.php from
Code: [Select]
footer(); to
Code: [Select]
include'../../footer.php';

and thank you for the cleaner solution ;)
Title: [SOLVED] Uploading doesnt work/footer error
Post by: etrcoke on November 13, 2003, 11:26:28 pm
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!
Title: [SOLVED] Uploading doesnt work/footer error
Post by: irving on November 14, 2003, 04:53:41 am
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
Title: [SOLVED] Uploading doesnt work/footer error
Post by: etrcoke on November 14, 2003, 06:34:14 am
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.