1

I've read all the official Joomla documentation and videos available to learn how to make a basic module, however, when I finish making a module, I can't manage to install it in my Joomla project.

I am receiving the following error

It was not possible find the installation package.

Can anybody help me?

The server I use is Apache and the module files are these https://drive.google.com/file/d/1KYjSUCzorrfm54p2JNVPqh7FlYKyyjnG/view?usp=sharing As simple as possible.

6
  • 2
    Can you provide more detail in your question like the file structure of your Module and how you have packaged the module to an installer file. In simple terms you need to have a modulename.xml file that describes how to install it and the related code files and compress them into a .zip or .tar file. The messages suggest it can't find the modulename.xml file
    – Irata
    Jul 15 '20 at 20:27
  • This might be helpful as well joomla.stackexchange.com/questions/655/…
    – FFrewin
    Jul 16 '20 at 4:21
  • @Irata , I did exactly as you described and, searching a little more, I saw that the error is really in the .xml file, as you said. Then, when I tried to install again, Joomla specified the message: "The manifest file could not be detected" Researching some more, people who had the same problem solved it by giving written permission, but I'm not sure how to do it and if it would solve my problem. I'll put some information here and the module I'm trying to install: I use Apache and the module files are the ones I put in the post, after editing it.
    – Marckson
    Jul 16 '20 at 12:36
  • The module files you have uploaded are installable without any error on my localhost. Could it be that the file permissions on your server are wrong? What about the tmp path? Is it set correctly and to an existing folder?
    – FFrewin
    Jul 16 '20 at 19:19
  • @FFrewin Did you install the module without issue using the RAR format it was provided in or did you convert it to a .zip format?
    – Irata
    Jul 18 '20 at 0:32
1

I was able to get the same message about not being able to find the install file so I compressed your module as a .zip and it installed fine.

It is likely that your hosting environment is not able to handle the .RAR format.

Terry

0

Thanks to everyone who helped me. I managed to solve the problem. After reading the comments, I realized the mistake I was making. The file has to be specifically .zip, but I thought that any compressed file he would be able to interpret, but not. This may be due to my server, but I'm not sure. Sorry for my stupidity. kjsksjksjk

Thank you all for your help again: Irata and FFrewin.

2
  • 2
    The webserver needs to be able to extract archives. The Joomla requirements page downloads.joomla.org/technical-requirements mentions that you need the mod_zlib Apache module. That's used for extracting .zip archives. Joomla uses .zip archives. However Joomla's update packages are also available in .tar.bz2 and .tar.gz format but I have not seen any non-core extension using those formats.
    – pe7er
    Jul 17 '20 at 14:38
  • 1
    I've just updated Joomla's documentation about using the .zip format: docs.joomla.org/J3.x:Creating_a_simple_module/…
    – pe7er
    Jul 17 '20 at 14:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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