Mohit_Jaiswal
Mohit_Jaiswal

Reputation: 840

Joomla 2.5.9 : Module installation difficulty

I'm a newbie on this technology and just started module development after visiting so many links.

But, as whenever I tried to install my developed HelloWorld module via extension manager, I always encounter with the following beneath error:

"JInstaller: :Install: File does not exist /Applications/MAMP/htdocs/jainism/tmp/install_511e1c1cc2b04/mod_helloworld/tmpl"

It's may be the question be duplicated but I've tried all possible solution which I found here and also at other sites but still my issue's status unresolved.

For convenience, I'm just pasting my xml code below:-

<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="2.5" client="site" method="upgrade">
<name>Hello, World Module!</name>
<author>Mohit Jaiswal</author>
    <license>GNU General Public License version 2 or later; see
        LICENSE.txt</license>
<version>2.5.0</version>
<description>A simple Hello, World! modules.</description>
<files>
   <filename module="mod_helloworld">mod_helloworld.php</filename>
    <folder>tmpl</folder>
     <filename>index.html</filename>
     <filename>helper.php</filename>
     <filename>mod_helloworld.xml</filename>
</files>
</extension>

And, also I've cross-checked too many times my directory structure as present in above xml as well as file names too.

Please do provide me your assistance.

Upvotes: 0

Views: 393

Answers (2)

Irfan
Irfan

Reputation: 7059

If tmpl folder is in your module zip then the reason could be that you are adding <filename>mod_helloworld.xml</filename> in your xml file.Try without this.

Check this also- http://docs.joomla.org/Creating_a_simple_module

Hope it will work.

Upvotes: 0

Martin M&#252;ller
Martin M&#252;ller

Reputation: 2535

This error occurs probably because "tmpl" folder is empty. If you put the default 0 byte "index.html" file inside this folder, the error will likely go away.

Upvotes: 2

Related Questions