Skip to main content

Internal Server 500 Error when more than one item

More
14 years 5 months ago #44848 by code7
Hi there,

I seem to be encountering difficulties when test purchasing more than one item via hikashop. The checkout process works fine and goes to the test payment environment fine when there is one item in the cart. Anymore and clicking the cart to go to the checkout returns a 500 error.

I've been onto our error log in cpanel and this line seems to be what's appearing every time we try to buy more than one item.


[Tue Mar 27 04:53:55 2012] [error] [client 86.150.176.247] ] [notice] EACCELERATOR(15248): PHP crashed on opline 52 of method_exists() at /home/code7de4/public_html/components/com_hikashop/views/checkout/tmpl/address.php:43, referer: code7dev4.co.uk/

Any help would be greatly appreciated.

Thanks :)

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

More
14 years 5 months ago #45070 by nicolas
Hi,

Could you edit the file "address" of the view "checkout" via the menu Display->Views and change the line:
if(!isset($this->currentShipping))$this->currentShipping = '';

to:
if(!isset($this->currentShipping))$this->currentShipping = new stdClass;

That should hopefully solve the problem.

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

Time to create page: 0.183 seconds
Powered by Kunena Forum