Here in this quick article, I am going to share solution of notice got in the open cart.Opencart is the free, open-source e-commerce system.OpenCart is robust and lightweight shopping cart system which is easy to install and use.
Today I have download latest version of opencart and install it.Then i have changed theme of opencart and after then run frontend.I got below error:
1 2 3 | Notice: Use of undefined constant HTTP_IMAGE |
After searching in Google, I got that HTTP_IMAGE constant has been fully removed from the latest version of Opencart.
Well, to solve above issue ,I have opened config.php file and added below line of code into it.
1 2 3 |
Keep in Mind If you are using wamp server and above solution not works, you need to pass folder name too.because $_SERVER[‘HTTP_HOST’],only take localhost.
1 2 3 |
Hope this post will helpful for you, waiting for your responses.
Thank you for reading.Feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.
Comments (2)