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

#   Internal Server 500 Error when more than one item

##

- **[code7](/forum/user/2410-code7 "View code7's Profile")**
- [![code7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2410.jpg)](/forum/user/2410-code7 "View code7's Profile") Topic Author
- [ Offline](/forum/user/2410-code7)

Less More

- Posts: 30
- Thank you received: 0
-
-

14 years 7 months ago [\#44848](#44848) by [code7](/forum/user/2410-code7 "View code7's Profile")  *[Internal Server 500 Error when more than one item](/forum/3-bug-report/44848-internal-server-500-error-when-more-than-one-item#44848 "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.  &#91;Tue Mar 27 04:53:55 2012&#93; &#91;error&#93; &#91;client 86.150.176.247&#93; &#93; &#91;notice&#93; EACCELERATOR(15248): PHP crashed on opline 52 of method&#95;exists() at /home/code7de4/public&#95;html/components/com&#95;hikashop/views/checkout/tmpl/address.php:43, referer:   code7dev4.co.uk/  Any help would be greatly appreciated.  Thanks :)")* was created by *[code7](/forum/user/2410-code7 "View code7's Profile")*

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/](http://code7dev4.co.uk/)

Any help would be greatly appreciated.

Thanks ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 7 months ago [\#45070](#45070) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Internal Server 500 Error when more than one item](/forum/3-bug-report/44848-internal-server-500-error-when-more-than-one-item#45070 "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.  &#91;Tue Mar 27 04:53:55 2012&#93; &#91;error&#93; &#91;client 86.150.176.247&#93; &#93; &#91;notice&#93; EACCELERATOR(15248): PHP crashed on opline 52 of method&#95;exists() at /home/code7de4/public&#95;html/components/com&#95;hikashop/views/checkout/tmpl/address.php:43, referer:   code7dev4.co.uk/  Any help would be greatly appreciated.  Thanks :)")*

Hi,

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

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

That should hopefully solve the problem.

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

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