Frog CMS automatically disabled!

Feed 4 posts, 5 voices

Avatar
0 posts

After I install, and remove the write options from the config.php file (Permissions at either 444 or 555), I get the error below:

———————————————————————————————-

Frog CMS automatically disabled!
Frog CMS has been disabled as a security precaution.
Reason: the configuration file was found to be writable.

———————————————————————————————-

The problem seems to be here:

if (DEBUG == false && isWritable($config_file)) { // Windows systems always have writable config files… skip those. if (substr(PHP_OS, 0, 3) != ‘WIN’) { echo ‘<html><head><title>Frog CMS automatically disabled!</title></head><body>’; echo ‘<h1>Frog CMS automatically disabled!</h1>’; echo ‘<p>Frog CMS has been disabled as a security precaution.</p>’; echo ‘<p><strong>Reason:</strong> the configuration file was found to be writable.</p>’; echo ‘</body></html>’; exit(); }
}

If I comment it out in the config.php it works just fine.

 
Avatar
1 posts

Hello,
How do i comment it out?

 
Avatar
180 posts

I think this is normal way out. I had similar problems.

 
Avatar
1 posts

I too am experiencing this issue. I am a new user, I have tried reinstalling several times. I am using XAMPP for Mac OS X to run PHP and MySQL. Database and install interface work fine, followed all instructions but still get error messages. Any help for a newbie? Thanks.

 
Avatar
19 posts

i’m not experienced with this kind of tools ( WAMP , XAMP etc )
you can put the config file to non writable , but if your daemon run as root the system can recognize the file writtable .
let’s change the permissions in “stupid way”

chmod 0000 config.php
chmod a+r config.php

after all changes try to reload and check what happen to the message .
I had this problem 1 time on a microcrost system . the IIS was running with too much privileges .