AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: liberaxpress on March 26, 2019, 02:19:12 PM

Title: Error adding or updating products & options
Post by: liberaxpress 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
Title: Re: Error adding or updating products & options
Post by: Basara on March 27, 2019, 01:37:38 AM
Hi.
Can you share example of Options you have?
Name, Type and Options values names too
Title: Re: Error adding or updating products & options
Post by: abolabo 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
Title: Re: Error adding or updating products & options
Post by: Basara on March 27, 2019, 05:59:41 AM
How to check current state of PHP https://abantecart.atlassian.net/wiki/spaces/AD/pages/7667770/PHP+Info
Title: Re: Error adding or updating products & options
Post by: liberaxpress 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....