XML Parsing Error at 1:1. Error 4: Not well-formed (invalid token) when installing a Joomla! module

X

How Can We Help?

XML Parsing Error at 1:1. Error 4: Not well-formed (invalid token) when installing a Joomla! module

What to do if you receive the following error “XML Parsing Error at 1:1. Error 4: Not well-formed (invalid token)” when installing a Joomla! module.

Explanation: The files in the module have been zipped using an Apple MAC. The MAC adds an extra folder called __MACOSX into the modules zip file.

Follow these steps in order to solve the problem.

STEP 1

Unzip (Extract) the modules zip file.

STEP 2

Open the unzipped (extracted) folder.

STEP 3

Delete the  __MACOSX folder within the unzipped (extracted) folder.

STEP 4

Zip the unzipped (extracted) folder (The extracted module) and re-install the module and the error message will disappear.

 

NOTE: The module will still be installed successfully whether the error messageappears or not.

About the author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me