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

#   500 internal server error during checkout

##

- **corine57**
- ![corine57's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg) Topic Author

Less More

- Thank you received: 0
-
-

14 years 7 months ago [\#46393](#46393) by corine57  *[500 internal server error during checkout](/forum/3-bug-report/46393-500-internal-server-error-during-checkout#46393 "Hi,  I have set up Hika Shop (basic) for a client, back in november, under joomla 1.7. All worked perfectly fine, I could order, checkout etc.etc In the menatime, the site is updated to joomla 2.5.4, hikashop is on 1.5.7. php 5.3.10, mysql 5.0.95.  Last week our very first order came through, but unfortunately, somehow the shipping cost (we only have one) were not calculated. Well, I figured maybe with the updates some settings have changed so lets test it.  Since then, I can not get the checkout process working. I get internal server error after internal server error.  I've been trying all I can, but can't for the life figure out what is wrong. Tried with joomla sef, without it, tried changing the flow. Asked my webhost, they didn't see anything specific in teh logs.  Can you help me? I took the shop offline but can send you a link where it is still available (trhough another menu). I also can get you the error log, raw access log, or backend access. let me know where I can send it, I don't want to post that here.  Hope you can help!  kind regards,  Corine")* was created by *corine57*

Hi,

I have set up Hika Shop (basic) for a client, back in november, under joomla 1.7. All worked perfectly fine, I could order, checkout etc.etc
In the menatime, the site is updated to joomla 2.5.4, hikashop is on 1.5.7. php 5.3.10, mysql 5.0.95.

Last week our very first order came through, but unfortunately, somehow the shipping cost (we only have one) were not calculated. Well, I figured maybe with the updates some settings have changed so lets test it.

Since then, I can not get the checkout process working. I get internal server error after internal server error.

I've been trying all I can, but can't for the life figure out what is wrong. Tried with joomla sef, without it, tried changing the flow. Asked my webhost, they didn't see anything specific in teh logs.

Can you help me? I took the shop offline but can send you a link where it is still available (trhough another menu).
I also can get you the error log, raw access log, or backend access.
let me know where I can send it, I don't want to post that here.

Hope you can help!

kind regards,

Corine

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NjM5My01MDAtaW50ZXJuYWwtc2VydmVyLWVycm9yLWR1cmluZy1jaGVja291dD90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

14 years 7 months ago [\#46394](#46394) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: 500 internal server error during checkout](/forum/3-bug-report/46393-500-internal-server-error-during-checkout#46394 "Hi,  I have set up Hika Shop (basic) for a client, back in november, under joomla 1.7. All worked perfectly fine, I could order, checkout etc.etc In the menatime, the site is updated to joomla 2.5.4, hikashop is on 1.5.7. php 5.3.10, mysql 5.0.95.  Last week our very first order came through, but unfortunately, somehow the shipping cost (we only have one) were not calculated. Well, I figured maybe with the updates some settings have changed so lets test it.  Since then, I can not get the checkout process working. I get internal server error after internal server error.  I've been trying all I can, but can't for the life figure out what is wrong. Tried with joomla sef, without it, tried changing the flow. Asked my webhost, they didn't see anything specific in teh logs.  Can you help me? I took the shop offline but can send you a link where it is still available (trhough another menu). I also can get you the error log, raw access log, or backend access. let me know where I can send it, I don't want to post that here.  Hope you can help!  kind regards,  Corine")*

We would need your PHP error log (not the apache error log) in order to help you because a 500 http error error just means that there was an error, but it doesn't say where or why.

You can send ti to nicolas at hikashop dot com and I'll look at it.

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

- **corine57**
- ![corine57's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg) Topic Author

Less More

- Thank you received: 0
-
-

14 years 7 months ago [\#46431](#46431) by corine57  Replied by *corine57* on topic *[Re: 500 internal server error during checkout](/forum/3-bug-report/46393-500-internal-server-error-during-checkout#46431 "Hi,  I have set up Hika Shop (basic) for a client, back in november, under joomla 1.7. All worked perfectly fine, I could order, checkout etc.etc In the menatime, the site is updated to joomla 2.5.4, hikashop is on 1.5.7. php 5.3.10, mysql 5.0.95.  Last week our very first order came through, but unfortunately, somehow the shipping cost (we only have one) were not calculated. Well, I figured maybe with the updates some settings have changed so lets test it.  Since then, I can not get the checkout process working. I get internal server error after internal server error.  I've been trying all I can, but can't for the life figure out what is wrong. Tried with joomla sef, without it, tried changing the flow. Asked my webhost, they didn't see anything specific in teh logs.  Can you help me? I took the shop offline but can send you a link where it is still available (trhough another menu). I also can get you the error log, raw access log, or backend access. let me know where I can send it, I don't want to post that here.  Hope you can help!  kind regards,  Corine")*

all right, will do.

thanks

Corine

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NjM5My01MDAtaW50ZXJuYWwtc2VydmVyLWVycm9yLWR1cmluZy1jaGVja291dD90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

14 years 7 months ago [\#46447](#46447) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: 500 internal server error during checkout](/forum/3-bug-report/46393-500-internal-server-error-during-checkout#46447 "Hi,  I have set up Hika Shop (basic) for a client, back in november, under joomla 1.7. All worked perfectly fine, I could order, checkout etc.etc In the menatime, the site is updated to joomla 2.5.4, hikashop is on 1.5.7. php 5.3.10, mysql 5.0.95.  Last week our very first order came through, but unfortunately, somehow the shipping cost (we only have one) were not calculated. Well, I figured maybe with the updates some settings have changed so lets test it.  Since then, I can not get the checkout process working. I get internal server error after internal server error.  I've been trying all I can, but can't for the life figure out what is wrong. Tried with joomla sef, without it, tried changing the flow. Asked my webhost, they didn't see anything specific in teh logs.  Can you help me? I took the shop offline but can send you a link where it is still available (trhough another menu). I also can get you the error log, raw access log, or backend access. let me know where I can send it, I don't want to post that here.  Hope you can help!  kind regards,  Corine")*

I got your log.
The error is:
PHP Fatal error: Using $this when not in object context in /home/hengelsp/public_html/plugins/system/oneclickaction/oneclickaction.php on line 180

I looked at that file here: [ www.assembla.com/code/liveupdate/git/nod...n/oneclickaction.php](https://www.assembla.com/code/liveupdate/git/nodes/plugins/system/oneclickaction/oneclickaction.php) but there is no use of $this so you're probably not using the latest version of that plugin.

So it seems that the problem comes from this oneclickaction system plugin you have installed. Try to deactivate it and it should hopefully work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NjM5My01MDAtaW50ZXJuYWwtc2VydmVyLWVycm9yLWR1cmluZy1jaGVja291dD90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

14 years 6 months ago [\#48162](#48162) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: 500 internal server error during checkout](/forum/3-bug-report/46393-500-internal-server-error-during-checkout#48162 "Hi,  I have set up Hika Shop (basic) for a client, back in november, under joomla 1.7. All worked perfectly fine, I could order, checkout etc.etc In the menatime, the site is updated to joomla 2.5.4, hikashop is on 1.5.7. php 5.3.10, mysql 5.0.95.  Last week our very first order came through, but unfortunately, somehow the shipping cost (we only have one) were not calculated. Well, I figured maybe with the updates some settings have changed so lets test it.  Since then, I can not get the checkout process working. I get internal server error after internal server error.  I've been trying all I can, but can't for the life figure out what is wrong. Tried with joomla sef, without it, tried changing the flow. Asked my webhost, they didn't see anything specific in teh logs.  Can you help me? I took the shop offline but can send you a link where it is still available (trhough another menu). I also can get you the error log, raw access log, or backend access. let me know where I can send it, I don't want to post that here.  Hope you can help!  kind regards,  Corine")*

I found the problem. Changing the code:
if(!isset($this-&gt;currentShipping))$this-&gt;currentShipping = '';
if(method_exists($this-&gt;currentShipping, 'getShippingAddress')) {

to:
if(!empty($this-&gt;currentShipping) &amp;&amp; method_exists($this-&gt;currentShipping, 'getShippingAddress')) {

in the file "address" of the view "checkout" of your front end template via the menu Display-&gt;Views solved the problem.
It's strange that PHP was not throwing any error message and just crashed though.

The following user(s) said Thank You: [jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")

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

- **[akasharkbow](/forum/user/7260-akasharkbow "View akasharkbow's Profile")**
- [![akasharkbow's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7260-akasharkbow "View akasharkbow's Profile")
- [ Offline](/forum/user/7260-akasharkbow)

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 6 months ago [\#48520](#48520) by [akasharkbow](/forum/user/7260-akasharkbow "View akasharkbow's Profile")  Replied by *[akasharkbow](/forum/user/7260-akasharkbow "View akasharkbow's Profile")* on topic *[Re: 500 internal server error during checkout](/forum/3-bug-report/46393-500-internal-server-error-during-checkout#48520 "Hi,  I have set up Hika Shop (basic) for a client, back in november, under joomla 1.7. All worked perfectly fine, I could order, checkout etc.etc In the menatime, the site is updated to joomla 2.5.4, hikashop is on 1.5.7. php 5.3.10, mysql 5.0.95.  Last week our very first order came through, but unfortunately, somehow the shipping cost (we only have one) were not calculated. Well, I figured maybe with the updates some settings have changed so lets test it.  Since then, I can not get the checkout process working. I get internal server error after internal server error.  I've been trying all I can, but can't for the life figure out what is wrong. Tried with joomla sef, without it, tried changing the flow. Asked my webhost, they didn't see anything specific in teh logs.  Can you help me? I took the shop offline but can send you a link where it is still available (trhough another menu). I also can get you the error log, raw access log, or backend access. let me know where I can send it, I don't want to post that here.  Hope you can help!  kind regards,  Corine")*

Fantastic. That totally solved my problem.

David J.

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

- **[jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")**
- [![jberry210490's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6511-jberry210490 "View jberry210490's Profile")
- [ Offline](/forum/user/6511-jberry210490)

Less More

- Posts: 76
- Thank you received: 2
-
-
-

14 years 6 months ago [\#48531](#48531) by [jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")  Replied by *[jberry210490](/forum/user/6511-jberry210490 "View jberry210490's Profile")* on topic *[Re: 500 internal server error during checkout](/forum/3-bug-report/46393-500-internal-server-error-during-checkout#48531 "Hi,  I have set up Hika Shop (basic) for a client, back in november, under joomla 1.7. All worked perfectly fine, I could order, checkout etc.etc In the menatime, the site is updated to joomla 2.5.4, hikashop is on 1.5.7. php 5.3.10, mysql 5.0.95.  Last week our very first order came through, but unfortunately, somehow the shipping cost (we only have one) were not calculated. Well, I figured maybe with the updates some settings have changed so lets test it.  Since then, I can not get the checkout process working. I get internal server error after internal server error.  I've been trying all I can, but can't for the life figure out what is wrong. Tried with joomla sef, without it, tried changing the flow. Asked my webhost, they didn't see anything specific in teh logs.  Can you help me? I took the shop offline but can send you a link where it is still available (trhough another menu). I also can get you the error log, raw access log, or backend access. let me know where I can send it, I don't want to post that here.  Hope you can help!  kind regards,  Corine")*

Had the same problem, which the code replacement solved. Thanks.

Jonathan

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

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