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

#   Error 500 when I click Add to cart

##

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

Less More

- Posts: 628
- Thank you received: 18
-
-

9 years 6 months ago [\#267851](#267851) by [patoushka](/forum/user/6145-patoushka "View patoushka's Profile")  *[Error 500 when I click Add to cart](/forum/3-bug-report/889901-error-500-when-i-click-add-to-cart#267851 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.30 -- Browser(s) name and version -- : Chrome Version 57.0.2987.133 (64-bit) -- Error-message(debug-mod must be tuned on) -- : syntax error, unexpected '?'  This happens on the Checkout Page. Any idea what can cause this? I thought it was my template but I tried with Protostar and same problem.  syntax error, unexpected '?' .../templates/protostar/html/com&#95;hikashop/address/address&#95;template.php:9 4 {address&#95;company} 5 {address&#95;title} {address&#95;firstname} {address&#95;lastname} 6 {address&#95;street} 7 {address&#95;post&#95;code} {address&#95;city} {address&#95;state} 8 {address&#95;country} 9 ")* was created by *[patoushka](/forum/user/6145-patoushka "View patoushka's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.30
-- Browser(s) name and version -- : Chrome Version 57.0.2987.133 (64-bit)
-- Error-message(debug-mod must be tuned on) -- : syntax error, unexpected '?'

This happens on the Checkout Page. Any idea what can cause this? I thought it was my template but I tried with Protostar and same problem.

syntax error, unexpected '?'
.../templates/protostar/html/com_hikashop/address/address_template.php:9
4 {address_company}
5 {address_title} {address_firstname} {address_lastname}
6 {address_street}
7 {address_post_code} {address_city} {address_state}
8 {address_country}
9 &lt;?php echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?????????????????&gt;

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#267853](#267853) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error 500 when I click Add to cart](/forum/3-bug-report/889901-error-500-when-i-click-add-to-cart#267853 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.30 -- Browser(s) name and version -- : Chrome Version 57.0.2987.133 (64-bit) -- Error-message(debug-mod must be tuned on) -- : syntax error, unexpected '?'  This happens on the Checkout Page. Any idea what can cause this? I thought it was my template but I tried with Protostar and same problem.  syntax error, unexpected '?' .../templates/protostar/html/com&#95;hikashop/address/address&#95;template.php:9 4 {address&#95;company} 5 {address&#95;title} {address&#95;firstname} {address&#95;lastname} 6 {address&#95;street} 7 {address&#95;post&#95;code} {address&#95;city} {address&#95;state} 8 {address&#95;country} 9 ")*

Hello,

Please remove your view overrides for the "address_template" ; you have unfortunately some PHP errors inside.
You have to be sure that you do not have any override of that view for any template.
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 628
- Thank you received: 18
-
-

9 years 6 months ago [\#267912](#267912) by [patoushka](/forum/user/6145-patoushka "View patoushka's Profile")  Replied by *[patoushka](/forum/user/6145-patoushka "View patoushka's Profile")* on topic *[Error 500 when I click Add to cart](/forum/3-bug-report/889901-error-500-when-i-click-add-to-cart#267912 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.30 -- Browser(s) name and version -- : Chrome Version 57.0.2987.133 (64-bit) -- Error-message(debug-mod must be tuned on) -- : syntax error, unexpected '?'  This happens on the Checkout Page. Any idea what can cause this? I thought it was my template but I tried with Protostar and same problem.  syntax error, unexpected '?' .../templates/protostar/html/com&#95;hikashop/address/address&#95;template.php:9 4 {address&#95;company} 5 {address&#95;title} {address&#95;firstname} {address&#95;lastname} 6 {address&#95;street} 7 {address&#95;post&#95;code} {address&#95;city} {address&#95;state} 8 {address&#95;country} 9 ")*

Thank you for your answer.

I have deleted customization and still have the same error.

Any idea?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#267914](#267914) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error 500 when I click Add to cart](/forum/3-bug-report/889901-error-500-when-i-click-add-to-cart#267914 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.30 -- Browser(s) name and version -- : Chrome Version 57.0.2987.133 (64-bit) -- Error-message(debug-mod must be tuned on) -- : syntax error, unexpected '?'  This happens on the Checkout Page. Any idea what can cause this? I thought it was my template but I tried with Protostar and same problem.  syntax error, unexpected '?' .../templates/protostar/html/com&#95;hikashop/address/address&#95;template.php:9 4 {address&#95;company} 5 {address&#95;title} {address&#95;firstname} {address&#95;lastname} 6 {address&#95;street} 7 {address&#95;post&#95;code} {address&#95;city} {address&#95;state} 8 {address&#95;country} 9 ")*

Hello,

The exact same error ? Code:

syntax error, unexpected '?' .../templates/protostar/html/com_hikashop/address/address_template.php:9

As you can see the error is in a override file within your "protostar" template folder.
So if you have the exact same error it means that you did not remove the override file.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODk5MDEtZXJyb3ItNTAwLXdoZW4taS1jbGljay1hZGQtdG8tY2FydD90bXBsPW1hcmtkb3du) 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.061 seconds

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