[Skip to main content](#vessel-content)

#   undefined constant "\_\_PS\_BASE\_URI\_\_"

##

- **[wurst@cellendes.com](/forum/user/81882-wurst-cellendes-com "View wurst@cellendes.com's Profile")**
- [![wurst@cellendes.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/81882-wurst-cellendes-com "View wurst@cellendes.com's Profile") Topic Author
- [ Offline](/forum/user/81882-wurst-cellendes-com)

Less More

- Posts: 15
- Thank you received: 2
-
-

1 year 1 month ago [\#369041](#369041) by [wurst@cellendes.com](/forum/user/81882-wurst-cellendes-com "View wurst@cellendes.com's Profile")  *[undefined constant "\_\_PS\_BASE\_URI\_\_"](/forum/27-checkout/909814-undefined-constant-ps-base-uri#369041 "-- Error-message(debug-mod must be tuned on) -- : undefined constant &quot;&#95;&#95;PS&#95;BASE&#95;URI&#95;&#95;&quot;  Hello there,  Hikashop runs fine.. no complaints... great job. However, The Google Search Console finds an error: an undefined constant &quot;&#95;&#95;PS&#95;BASE&#95;URI&#95;&#95;&quot; in com&#95;hikashop/product/cart.php on line 40. Does anyone know how to handle this error or how to define this constant?  Thanks")* was created by *[wurst@cellendes.com](/forum/user/81882-wurst-cellendes-com "View wurst@cellendes.com's Profile")*

-- 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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwOTgxNC11bmRlZmluZWQtY29uc3RhbnQtcHMtYmFzZS11cmk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

1 year 1 month ago -  1 year 1 month ago [\#369044](#369044) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[undefined constant "\_\_PS\_BASE\_URI\_\_"](/forum/27-checkout/909814-undefined-constant-ps-base-uri#369044 "-- Error-message(debug-mod must be tuned on) -- : undefined constant &quot;&#95;&#95;PS&#95;BASE&#95;URI&#95;&#95;&quot;  Hello there,  Hikashop runs fine.. no complaints... great job. However, The Google Search Console finds an error: an undefined constant &quot;&#95;&#95;PS&#95;BASE&#95;URI&#95;&#95;&quot; in com&#95;hikashop/product/cart.php on line 40. Does anyone know how to handle this error or how to define this constant?  Thanks")*

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 ?

Last edit: 1 year 1 month ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwOTgxNC11bmRlZmluZWQtY29uc3RhbnQtcHMtYmFzZS11cmk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.058 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
