To the best of my knowledge I have followed the guidance on the Modification System wiki on github but I'm getting the following error (javascript popup):
Code: Select all
Syntax error: Unexpected Token <
OK
<b>Warning</b>: ftp_mkdir(): can't create directory: File exists in <b>/home/xxxx/public_html/xxxx/admin/controller/extension.php</b> on line <b>307</b>
I have created a zip file myextension.ocmod.zip which contains an upload folder and a file myextension.ocmod.xml. The upload folder contains two other folders - admin and catalog, both of which contain the relevant controller, language, model and view files.
Although I'm getting the above error message, the extension files are being uploaded correctly to their respective locations. That leads me to suspect the problem lies with the ocmod .xml file. But . . .
. . .If I use ftp to upload the files, then use the Extension Installer to upload the mod file "myextension.ocmod.xml" separately, it installs successfully.
Is this a bug, or am I doing something wrong?
I've raised this on the Atlassian Bug Tracker just in case.