I have a safe mode on at server (hosted).
I get this error message when trying to view my pages;
Warning: main(): SAFE MODE Restriction in effect. The script whose uid is 33 is not allowed to access ../config.php owned by uid 1163 in /home/users/medium/sites/medium.kapsi.fi/www/wb/pages/testi.php on line 3
Warning: main(../config.php): failed to open stream: Success in /home/users/medium/sites/medium.kapsi.fi/www/wb/pages/testi.php on line 3
Fatal error: main(): Failed opening required '../config.php' (include_path='.:/usr/local/php4-cgi/include/php/:/home/www/smarty/current/libs') in /home/users/medium/sites/medium.kapsi.fi/www/wb/pages/testi.php on line 3
I tried php.cgi and .htaccess trick but ii gave me internal server error.
Any help?
Hi, download the files in /pages-Directory for test per ftp to your pc, then delete the files in /pages - Directory on your Webserver, then upload files per ftp to pages directory, this will set the owner of files to ftp:ftp, and it will run. Or turn safe mode off...