2012-03-25, 01:33:14
Is it just me or does every CHMOD error tell you it couldn’t ‘write configuration file’? Very annoying. This problem has nothing to do with gsconfig.php:
Is it only with settings or also when you update a page? The CHMOD error is thrown per the result of XMLsave():
As you are saying the file is correctly saved the first part of its check must be true, leaving chmod() to be the problem. Can you check if the GetSimple is allowed the run chmod() on the server?
grassfrog Wrote:I still get an error message when I update anything in the CMS Settings page.
Is it only with settings or also when you update a page? The CHMOD error is thrown per the result of XMLsave():
Code:
function XMLsave($xml, $file) {
$success = $xml->asXML($file) === TRUE;
if (defined('GSCHMOD')) {
return $success && chmod($file, GSCHMOD);
} else {
return $success && chmod($file, 0755);
}
}
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!