Error 500 when I click Add to cart

  • Posts: 627
  • Thank you received: 18
  • Hikashop Business
7 years 7 months ago #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_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 <?php echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?????????????????>

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 7 months ago #267853

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

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 627
  • Thank you received: 18
  • Hikashop Business
7 years 7 months ago #267912

Thank you for your answer.

I have deleted customization and still have the same error.

Any idea?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 7 months ago #267914

Hello,

The exact same error ?

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum