![]() |
|
[Sollution] Safe mode problem - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: [Sollution] Safe mode problem (/thread-1792.html) |
[Sollution] Safe mode problem - pixelstudio - 11-11-2007 Hello people, i love Zenphoto! you did a fine job making it! "Warning: move_uploaded_file() [function.move-uploaded-file]: Unable blabalbalablaba" so i begaan searching and i was something with safe_mode beeing on. now i dont have controle over the php.ini so changing was not an option. Create a function like in the admin.php (fifth line or so) : function FtpMkdir($path, $newDir) { $server='ftp.server.com'; // ftp server // check if connection was made } After inserting this function change the following in the admin.php: $path = 'Edit your path to albums here'; and you are done. if you get errors you proberly did not have the correct path in your $path, i had to try a couple of times to get this one correct. So again thx for the great Zenphoto, and i hope some will find this usefull Best regards, |