- Posts: 15
- Thank you received: 2
undefined constant "__PS_BASE_URI__"
- wurst@cellendes.com
-
Topic Author
- Offline
Less
More
11 months 5 days ago #369041
by wurst@cellendes.com
undefined constant "__PS_BASE_URI__" was created by wurst@cellendes.com
-- Error-message(debug-mod must be tuned on) -- : undefined constant "__PS_BASE_URI__"
Hello there,
Hikashop runs fine.. no complaints... great job.
However, The Google Search Console finds an error: an undefined constant "__PS_BASE_URI__" in com_hikashop/product/cart.php on line 40. Does anyone know how to handle this error or how to define this constant?
Thanks
Hello there,
Hikashop runs fine.. no complaints... great job.
However, The Google Search Console finds an error: an undefined constant "__PS_BASE_URI__" in com_hikashop/product/cart.php on line 40. Does anyone know how to handle this error or how to define this constant?
Thanks
Please Log in or Create an account to join the conversation.
11 months 4 days ago - 11 months 5 days ago #369044
by nicolas
Replied by nicolas on topic undefined constant "__PS_BASE_URI__"
Hi,
If you search for __PS_BASE_URI__ on Google, you'll find that this is a constant from PrestaShop. This constant does not exist in HikaShop.
Also, the product / cart.php view file of HikaShop is located in a folder like this: components/com_hikashop/views/product/tmpl/cart.php
And its override is located in templates/YOUR_TEMPLATE/html/com_hikashop/product/cart.php
Note that in the override file path, there is no "tmpl" between the product and cart parts of the path, like in your message. So it's likely that this comes from a view override of product / cart.php
Maybe some code copy / pasted from a PrestaShop which the website was using before switching to HikaShop or something like that ?
If you search for __PS_BASE_URI__ on Google, you'll find that this is a constant from PrestaShop. This constant does not exist in HikaShop.
Also, the product / cart.php view file of HikaShop is located in a folder like this: components/com_hikashop/views/product/tmpl/cart.php
And its override is located in templates/YOUR_TEMPLATE/html/com_hikashop/product/cart.php
Note that in the override file path, there is no "tmpl" between the product and cart parts of the path, like in your message. So it's likely that this comes from a view override of product / cart.php
Maybe some code copy / pasted from a PrestaShop which the website was using before switching to HikaShop or something like that ?
Last edit: 11 months 5 days ago by nicolas.
Please Log in or Create an account to join the conversation.
Time to create page: 0.194 seconds