On an Opencart 3.0.3.3 server I keep running into an issue when I use the constant DIR_CATALOG. It keeps throwing:
Code: Select all
Warning: Use of undefined constant DIR_CATALOG - assumed 'DIR_CATALOG' (this will throw an Error in a future version of PHP)
when ever I refer to it. I checked config.php and it is clearly defined. Any one else run into this? This server someone else built. If it helps I also saw this on a version 3.0.3.9 test server I built from scratch.
On my server using DIR_TEMPLATE, instead of DIR_CATALOG, and adjusting relevant paths is a functional work around.
Any one Know why this would be?