Author Topic: Error adding or updating products & options  (Read 3710 times)

Offline liberaxpress

  • Newbie
  • *
  • Posts: 20
  • Karma: +3/-0
    • View Profile
Error adding or updating products & options
« on: March 26, 2019, 02:19:12 PM »
Hi,

Every time I try to update a product or add an option created in attributes I get a blank page, I have checked error log and this is the result:

parsing error: AbanteCart core v.1.2.14 syntax error, unexpected '&' in <b>/home/xxxx/public_html/shop/admin/controller/responses/product/product.php</b> on line <b>589</b>

parsing error: AbanteCart core v.1.2.14 syntax error, unexpected '[' in <b>/home/xxxx/public_html/shop/storefront/controller/responses/product/product.php</b> on line <b>133</b>

parsing error: AbanteCart core v.1.2.14 syntax error, unexpected '&' in <b>/home/xxxx/public_html/shop/admin/controller/responses/product/product.php</b> on line <b>490</b>

Even quick view does not open the popup, I tried the shortcut to "Options" but after it opens it gives  Internal Server Error

Any help appreciated

Thanks
« Last Edit: March 26, 2019, 05:36:30 PM by liberaxpress »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5819
  • Karma: +274/-2
    • View Profile
Re: Error adding or updating products & options
« Reply #1 on: March 27, 2019, 01:37:38 AM »
Hi.
Can you share example of Options you have?
Name, Type and Options values names too

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Error adding or updating products & options
« Reply #2 on: March 27, 2019, 03:54:26 AM »
what version of php do you use?
You can see on phpinfo() page on admin->system->settings->system page
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5819
  • Karma: +274/-2
    • View Profile
Re: Error adding or updating products & options
« Reply #3 on: March 27, 2019, 05:59:41 AM »

Offline liberaxpress

  • Newbie
  • *
  • Posts: 20
  • Karma: +3/-0
    • View Profile
Re: Error adding or updating products & options
« Reply #4 on: March 27, 2019, 11:14:35 AM »
I think I sorted it now, I changed the php version in cpanel to 5.6 from 5.3 and it seems to have fixed the issues....

 

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.