<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/310/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jovca</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/310/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jovca"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/Special:Contributions/Jovca"/>
	<updated>2026-04-18T19:30:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=error/admin/sectionerror&amp;diff=37769</id>
		<title>error/admin/sectionerror</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=error/admin/sectionerror&amp;diff=37769"/>
		<updated>2008-06-17T00:01:12Z</updated>

		<summary type="html">&lt;p&gt;Jovca: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The error means that a new admin page &#039;foo&#039; (the one you&#039;re developing right now) is not registered with the Admin menu. It is triggered with the call:&lt;br /&gt;
 admin_externalpage_setup(&#039;foo&#039;);&lt;br /&gt;
&lt;br /&gt;
Solution is to add the registration code to admin/server.php:&lt;br /&gt;
&lt;br /&gt;
 if (file_exists(&amp;quot;$CFG-&amp;gt;dirroot/$CFG-&amp;gt;admin/foo.php&amp;quot;)) {&lt;br /&gt;
     $ADMIN-&amp;gt;add(&#039;server&#039;, new admin_externalpage(&#039;foo&#039;, &amp;quot;Foo Admin Component&amp;quot;, &amp;quot;$CFG-&amp;gt;wwwroot/$CFG-&amp;gt;admin/foo.php&amp;quot;));&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Jovca</name></author>
	</entry>
</feed>