2011-05-20, 23:29:25
ok solved by myself.
There is a bug in GetSimple 3.0 with the back-end hook "settings-cpsettings".
I've just re-downloaded the last version from the website and searched for this damned hook in all admin php files but I can't find it.
according to what you can see here http://phpkode.com/source/p/getsimple-cm...ttings.php
in the line 155 from 163 in settings.php there must be the following lines of code:
// create new cpsettings data file
$ufile = 'cp_settings.xml';
createBak($ufile, $path, $bakpath);
$xmlc = @new SimpleXMLElement('<item></item>');
$xmlc->addChild('HTMLEDITOR', @$HTMLEDITOR);
$xmlc->addChild('PRETTYURLS', @$PRETTYURLS);
$xmlc->addChild('PERMALINK', @$PERMALINK);
exec_action('settings-cpsettings');
XMLsave($xmlc, $path . $ufile);
but in my settings.php (I just want to remember that I'm working in a fresh and new downloaded version of GetSimple 3.0) I CANT FIND THESE lines of code.
so I just added "exec_action('settings-cpsettings');" (in my case what i'm damned loocking for) and..."tadaaaa" it works finally!
plz fix these bug as soos as possible.
P.S. sorry for my bad english
There is a bug in GetSimple 3.0 with the back-end hook "settings-cpsettings".
I've just re-downloaded the last version from the website and searched for this damned hook in all admin php files but I can't find it.
according to what you can see here http://phpkode.com/source/p/getsimple-cm...ttings.php
in the line 155 from 163 in settings.php there must be the following lines of code:
// create new cpsettings data file
$ufile = 'cp_settings.xml';
createBak($ufile, $path, $bakpath);
$xmlc = @new SimpleXMLElement('<item></item>');
$xmlc->addChild('HTMLEDITOR', @$HTMLEDITOR);
$xmlc->addChild('PRETTYURLS', @$PRETTYURLS);
$xmlc->addChild('PERMALINK', @$PERMALINK);
exec_action('settings-cpsettings');
XMLsave($xmlc, $path . $ufile);
but in my settings.php (I just want to remember that I'm working in a fresh and new downloaded version of GetSimple 3.0) I CANT FIND THESE lines of code.
so I just added "exec_action('settings-cpsettings');" (in my case what i'm damned loocking for) and..."tadaaaa" it works finally!
plz fix these bug as soos as possible.
P.S. sorry for my bad english