NOT FOUND in version 2.0.2.0 <file path="catalog/controller/module/{featured,bestseller,latest,special}*.php"> in OCMOD because?
Last edited by swatpc on Sat Apr 04, 2015 10:00 am, edited 1 time in total.
Denis Cunha
Opencart Master
suporte@opencartmaster.com.br
It's module and not modules.
Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
i know, it is one exemple
Not found in multiple file only in one
Not found in multiple file only in one
Denis Cunha
Opencart Master
suporte@opencartmaster.com.br
The search is not found when it does not exist. Simple as that.swatpc wrote:NOT FOUND in version 2.0.2.0 <file path="catalog/controller/module/{featured,bestseller,latest,special}*.php"> in OCMOD because?
There are some differences between the 4 files mentioned.
The ocMod API was silently broken in OpenCart 2.0.2.0. Seriously. It's listed as a "fix" in the change log when it's a straight-up break of the schema to handle GLOB_BRACE edge cases. The wiki documentation hasn't been updated either.
The new method is now comma separated full paths:
So if you used this feature in previous ocMod scripts, congratulations! You now get to support two separate scripts for 2.x or have to refactor to include lots of duplicate code.
The new method is now comma separated full paths:
Code: Select all
<file path="catalog/controller/module/featured.php,catalog/controller/module/bestseller.php,catalog/controller/module/latest.php,catalog/controller/module/special.php">
-Ryan
pprmkr wrote:The search is not found when it does not exist. Simple as that.swatpc wrote:NOT FOUND in version 2.0.2.0 <file path="catalog/controller/module/{featured,bestseller,latest,special}*.php"> in OCMOD because?
There are some differences between the 4 files mentioned.
the same file works normal in version 2.0.1.1
Denis Cunha
Opencart Master
suporte@opencartmaster.com.br
Who is online
Users browsing this forum: No registered users and 60 guests