OCMOD in OpenCart 2.1.0.1 bug
Posted: Wed Nov 25, 2015 12:27 am
I am getting an error NOT FOUND in the modification log when I refresh the Modifications. But the weird part is that in system/storage/modification folder it creates the footer.php file and has the replacement line. But when I refresh my store it doesn't display my modification. Anyone have a clue?
MOD: Catalog modifications
FILE: catalog/language/english/english.php
CODE: $_['date_format_short'] = 'd/m/Y';
LINE: 4
CODE: $_['datetime_format'] = 'd/m/Y h:i:sa';
NOT FOUND!
FILE: catalog/language/english/common/footer.php
CODE: $_['text_powered'] = 'Powered By <a href="http://www.opencart.com">OpenCart</a><br /> %s © %s - All rights reserved.';
LINE: 16
Code: Select all
<file path="catalog/language/english/common/footer.php">
<operation info="Change footer copy">
<search>
<![CDATA[$_['text_powered'] = 'Powered By <a href="http://www.opencart.com">OpenCart</a><br /> %s © %s';]]>
</search>
<add position="replace">
<![CDATA[$_['text_powered'] = 'Powered By <a href="http://www.opencart.com">OpenCart</a><br /> %s © %s - All rights reserved.;]]>
</add>
</operation>
</file>
FILE: catalog/language/english/english.php
CODE: $_['date_format_short'] = 'd/m/Y';
LINE: 4
CODE: $_['datetime_format'] = 'd/m/Y h:i:sa';
NOT FOUND!
FILE: catalog/language/english/common/footer.php
CODE: $_['text_powered'] = 'Powered By <a href="http://www.opencart.com">OpenCart</a><br /> %s © %s - All rights reserved.';
LINE: 16