Joomla 404 component not found (custom component)

by twan   Last Updated September 05, 2019 16:10 PM

I am trying to create a custom component in my Joomla backend, so I created this xml file:

<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.8.1" method="upgrade">
<name>administratie</name>
<creationDate>2019-04-09</creationDate>
<author>Twan</author>
<authorEmail>[email protected]</authorEmail>
<version>3.8.1</version>
<description>Administratie dashboard</description>
<administration>
<menu>administratie</menu>

<files folder="components/com_administratie/admin">
<file>administratie.php</file>
</files>
</administration>
</extension>

And installed it, which worked, the administratie link is added in my components drop down, except when I click on it, the page shows a 404 component not found error.

Maybe I wrote something wrong in my xml file? I can't find what it is. This is my folder structure:

administrator
-components
--com_administratie
---admin
---administratie.xml
----administratie.php (this file has a simple echo in it)

I already tried refreshing the cache but I keep getting the same error.

I am on Joomla version: Joomla! 3.8.1 Stable



Related Questions


Using CodeMirror editor in custom component

Updated October 09, 2016 09:04 AM

passing an array from view to controller to model

Updated March 11, 2018 17:10 PM


Where to save extension configuration?

Updated February 16, 2017 14:10 PM

Params in Custom Component List View

Updated August 08, 2017 00:10 AM