2017-05-22, 23:50:45
(2017-05-22, 20:00:41)Bigin Wrote: In the install description you write:
When the plugin first loads it will add the currently logged in user name to the 'admin' array.(This is why we refresh in the pages tab).
This will never happen and this code isn't executed:
PHP Code://initialise admin array on installation
if(empty($admin)){
$adminInit = file_get_contents($PA_folder."groups.php");
$adminInitUD = str_replace("\$admin = array()","\$admin = array('".$PA_current_user."')",$adminInit);
file_put_contents($PA_folder."groups.php",$adminInitUD);
}
Do you know why? - Because the $admin array isn't empty, you have forgotten to remove 'cobber' in the groups.php ;-)
That is why I believe, that nobody had ever succeeded to run your plugin properly and you can remove the five-star ratings which you have given yourself before with a clear conscience lol
currently I have the plugin running on three different machines, on windows and linux, on Firefox, chrome and on ie.
I'll take another look at the file, also I never gave myself five stars as far as I'm aware
Thanks for getting back to me, I'll try a fresh install and see if I can replicate any problems