Hi all,
I have upgraded from 1.0.4 to 1.0.5 today and suddenly i get the following warning in the admin:
WARNING: PHP Safe mode is enabled. This will cause difficulty with files uploaded via the web browser interface, including images, theme and module XML packages. You are advised to contact your site administrator to see about disabling safe mode.
This was not so in 1.0.4.
It's very frustration to see this every time. My webserver is pretty secure, but CMSMS works fine with safe mode enabled.
File uploads / dir. creation and also module installation is no problem.
So how can I get rid of this warning? I do not want my users to see this.
Thanks for your help!
Gr,
Mark
Safe mode warning in 1.0.5
Re: Safe mode warning in 1.0.5
Same problem here 
Unfortunately I didn't found an answer for this on the forum. Is it possible to disable the warning?

Unfortunately I didn't found an answer for this on the forum. Is it possible to disable the warning?
Re: Safe mode warning in 1.0.5
Same problem , but all works fine.
how to disable ?
Cisla
how to disable ?
Cisla
Re: Safe mode warning in 1.0.5
You can try to disable it by editing your config.php file by adding...
near the top, just under the <?php line.
Nullig
Code: Select all
ini_set('safe_mode',0);
Nullig
Re: Safe mode warning in 1.0.5
I tried the above and unfortunately it didn't work. The error message still shows in the admin center.
Re: Safe mode warning in 1.0.5
You could try adding it to the index.php file in the admin directory or just edit the index.php to comment out the following lines:
Nullig
Code: Select all
// Display a warning if safe mode is enabled
if( ini_get('safe_mode') )
{
echo '<div class="pageerrorcontainer"><div class="pageoverflow"><p class="pageerror">'.lang('warning_safe_mode').'</p></div></div>';
}
Re: Safe mode warning in 1.0.5
Thank you very much! The comment out thing works!

