I'm going through opencart tutorial ("Opencart tips and tricks") and when I try to upload my modification using Extensions installer I get the following error: "Modification requires a unique ID code!". The modification has the <code> tag. I'm using opencart 2.3.0.2 on xampp . What could be causing this?
You will also get this error message if you don't close any of the other tags, eg
Missing </file> tag before new <file> declaration.
Simon
Code: Select all
<file path="catalog/view/theme/*/template/account/order_info.tpl">
<operation>
<search>
<![CDATA[<a href="<?php echo $product['return']; ?>" data-toggle="tooltip" title="<?php echo $button_return; ?>" class="btn btn-danger"><i class="fa fa-reply"></i></a></td>]]>
</search>
<add position="replace">
<![CDATA[</td>]]>
</add>
</operation>
<file path="catalog/view/theme/*/template/extension/module/account.tpl">
<operation>
Simon
I would also point out that I got this message as well due to having an illegal character in the <link></link> section of the header.
Removed the link and everything worked fine!
Removed the link and everything worked fine!
PGM
Don't pay for simple mods
My free modules: Filter resets in admin, Add extra flat shipping, Improved Admin Product Search and Canned Messages.
My site uses (free): Modification refresh button, Additional Alert Email Fix, TLT Structured Data
My site uses (paid): Journal2, Restrict catalog by customer group
Wow this just helped me out a lot, THANKS
I just had some html in there and got this error. Would have never figured it out lol
~ OC 3.0.3.2 and OCmods only ~
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot] and 15 guests