I followed the tutorial on the Joomla website about Creating a simple module/Using the Database. I created the following XML file:

<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.1.0" client="site" method="upgrade">
    <description>Hello World 2 with database</description>
        <filename module="mod_helloworld2">mod_helloworld2.php</filename>

             <file driver="mysql" charset="utf8">sql/mysql/install.mysql.utf8.sql</file>

             <file driver="mysql" charset="utf8">sql/mysql/uninstall.mysql.utf8.sql</file>

            <schemapath type="mysql">sql/mysql/updates</schemapath> 

I installed this module and successfully, but it gives me the following warning:

JFolder: :files: Path is not a folder. Path: D:\XamppInstalation\htdocs\joomla\modules\mod_helloworld2\sql\mysql\updates

I checked my Module inside Zip File, sql\mysql\updates folder does exists, but when I checked within the installed module this folder doesn't exist.

This is my zipped module.

Please help me check if there is something wrong with my module.

1 Answer 1


The updates folder is empty. Empty folders are not created during installation. You don't need to add update schema paths in the initial version of your extension since it's going to be empty. But if you want to include it anyways, create a dummy file like index.html inside the folder.

  • That's works... thank you Sep 24, 2020 at 9:43
  • @dhany please award the green tick to this answer so that the site stops bumping it to the top of the answer list. Oct 24, 2020 at 7:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.