JInstaller :: install: File '...' does not exist

My installer works up to a few days ago, now I get:

JInstaller::install: File '/home/john/public_html/tmp/install_4c578c96e449f/com_mycomponent/admin/site/controllers' does not exist. 

I checked the zip file and everything looks fine, I changed the contents of the file, but not the file structure at all since it worked.

ZIP STRUCTURE

 com_mycomponent.xml admin controllers ...rest of admin files site controllers ...rest of site files 

In fact, the com_mycomponent/admin/site/controllers folder does not exist, I do not know why it is looking for this folder.

+4
source share
5 answers

I had a problem with the fact that I accidentally put a copy of the xml file inside the admin / folder in addition to the root folder. Maybe this happened to you? Just delete it and it works great!

+4
source

Please check the templateDetails.xml file. He should have mentioned the name of the folder. In addition, make sure that you want to add a folder through the template, then this folder should not be empty.

+3
source

If you have backup files in the components folder or somewhere in the project folder, delete it or cut it somewhere else ...

Perhaps this solves your problem.

Because it decides for me.

thanks

0
source

I had the same problem. One of the file names, in templateDetails.xml, had a typo. This solved my problem.

0
source

For some reason, it didn’t like my HTML file, so I deleted it from XML. When I checked the installed module and there was an HTML file. I still included <folder>html</folder as well as <filename>index.html</filename>

0
source

All Articles