Page 1 of 1

Site Admin»System Information issue

Posted: Fri Jun 22, 2012 1:57 am
by fredp
Hi,
Site Admin » System Information is erroneously reporting that "grant all" permissions can't be found, even though they exist for the user:
Check database access levels (server_db_grants) Caution could not find a suitable "grant all" permission. this may mean you could have problems installing or removing modules. or even adding and deleting items, including pages
I tracked the problem down to what appears to be a cut/paste error on line 301 (below in bold/red):
admin/systeminfo.php (line 301) wrote: if( !$found_grantall ) {
$tmp[0]['server_db_grants'] = testDummy('db_grants',lang('error_nograntall_found'),'yellow');
}
else {
$tmp[0]['server_db_grants'] = testDummy('db_grants',lang('msg_grantall_found'),'green');
$tmp[0]['server_db_grants'] = testDummy('db_grants',lang('error_nograntall_found'),'yellow');
}
I suspect line 301 should be deleted.

Testing was done on a upgraded 1.10.3 site using:
  • mysql 5.5.23
  • php 5.3.8
Hope this helps,
fredp

Re: Site Admin»System Information issue

Posted: Fri Jun 22, 2012 2:28 am
by calguy1000
already been reported, and fixed....
a new beta will be out in a few days.

Re: Site Admin»System Information issue

Posted: Fri Jun 22, 2012 5:34 am
by fredp
calguy1000 wrote:already been reported, and fixed....
Good news. Thanks!