Whenever I try to upload a Joomla templage on my site, I get the following message:

Error! Could not find a Joomla! XML setup file in the package.

What should I do?

  • Are you getting your templates from the same site? Try installing a template from a different site and see if you have the same issue.
    – Lodder
    Jul 25, 2014 at 13:01
  • Can you post the version of Joomla you're using and the first 20 lines of your XML file? I bet it's a version issue! Jul 25, 2014 at 14:07

2 Answers 2


The reason why the error 'cannot find not find XML setup file' appears is because Joomla can not find the TemplateDetails.xml file - because

  • You have not unzipped the package
  • You're trying to install a template which is a full Joomla! installation with sample data.
  • You're trying to install an incompatible template.

Check these, hopefully it helps.


Firstly, check in the Template's folder to make sure templateDetails.xml exists.

If it does, make sure the template is for your version of Joomla.

If you have uploaded it by ftp, check that you have set the right permissions and/or try uploading by a different method.

If that fails, try uploading a different template so you can test if it is your specific template where the problem lies.

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.