Quantcast
Channel: Authentication
Viewing all articles
Browse latest Browse all 8256

Re: admin authentication goes in blank page, rest of students ok

$
0
0
by Bogdan Iuga.  

i tried:  http://apdp-elrn.com/admin/settings.php?section=debugging

if I'm not login with a student, i'm transfered to the login page without any error message

if I login with a student (test) and after I type:  http://apdp-elrn.com/admin/settings.php?section=debugging i receive the follow message:

"

error/admin/sectionerror

Jump to: navigation, search

The error means that a new admin page 'foo' (the one you're developing right now) is not registered with the Admin menu. It is triggered with the call:

admin_externalpage_setup('foo');

The solution is to add a reference to the page in the appropriate file in admin/settings/XXX.php. Something like:

$ADMIN->add("parent_section", new admin_externalpage('foo', "Foo Admin Component", "$CFG->wwwroot/$CFG->admin/foo.php"));

"

 


Viewing all articles
Browse latest Browse all 8256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>