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

#   Internal server error on checkout

##

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

Less More

- Thank you received: 0
-
-

12 years 3 months ago [\#167236](#167236) by Troels83  *[Internal server error on checkout](/forum/27-checkout/870331-internal-server-error-on-checkout#167236 "-- url of the page with the problem -- :   nyt.fakur-design.dk/en/produkt/gaveartik...dobbeltkort/checkout  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3. -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome 36.0.1985.125 -- Error-message(debug-mod must be tuned on) -- : &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; PHP Notice: Undefined property: stdClass::$order&#95;addresses&#95;fields in /var/www/web237/web/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php on line 78, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; PHP Warning: Invalid argument supplied for foreach() in /var/www/web237/web/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php on line 78, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; malformed header from script. Bad header=/var/www/web237/dead.letter...: index.php, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:50 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; File does not exist: /var/www/web237/web/favicon.ico  Hi  I'm currently working on my first HikaShop. The customer had it running on joomla 2.5, and I've upgraded it to newest version of joomla.  The original webhotel is fakur-design.dk I've created a new webhotel named nyt.fakur-design.dk with a different provider, and moved the solution with akeeba.  All the settings from the old solution are kept.  The problem is that I get an internal server error on checkout. See the posted images.  Any suggestions on a solution? I'm not great with php, but not a stranger.")* was created by *Troels83*

-- url of the page with the problem -- : [ nyt.fakur-design.dk/en/produkt/gaveartik...dobbeltkort/checkout](http://nyt.fakur-design.dk/en/produkt/gaveartikler/dobbeltkort/checkout)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.3.3.
-- PHP version -- : 5.3
-- Browser(s) name and version -- : Chrome 36.0.1985.125
-- Error-message(debug-mod must be tuned on) -- : [Wed Aug 13 10:00:49 2014] [error] [client 89.150.106.101] PHP Notice: Undefined property: stdClass::$order_addresses_fields in /var/www/web237/web/media/com_hikashop/mail/order_creation_notification.text.php on line 78, referer: [ nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout](http://nyt.fakur-design.dk/da/produkt/gaveartikler/dobbeltkort/checkout)

[Wed Aug 13 10:00:49 2014] [error] [client 89.150.106.101] PHP Warning: Invalid argument supplied for foreach() in /var/www/web237/web/media/com_hikashop/mail/order_creation_notification.text.php on line 78, referer: [ nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout](http://nyt.fakur-design.dk/da/produkt/gaveartikler/dobbeltkort/checkout)

[Wed Aug 13 10:00:49 2014] [error] [client 89.150.106.101] malformed header from script. Bad header=/var/www/web237/dead.letter...: index.php, referer: [ nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout](http://nyt.fakur-design.dk/da/produkt/gaveartikler/dobbeltkort/checkout)

[Wed Aug 13 10:00:50 2014] [error] [client 89.150.106.101] File does not exist: /var/www/web237/web/favicon.ico

Hi

I'm currently working on my first HikaShop. The customer had it running on joomla 2.5, and I've upgraded it to newest version of joomla.

The original webhotel is fakur-design.dk
I've created a new webhotel named nyt.fakur-design.dk with a different provider, and moved the solution with akeeba.

All the settings from the old solution are kept.

The problem is that I get an internal server error on checkout. See the posted images.

####  Attachment not found

####  Attachment not found

Any suggestions on a solution?
I'm not great with php, but not a stranger.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 3 months ago [\#167260](#167260) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Internal server error on checkout](/forum/27-checkout/870331-internal-server-error-on-checkout#167260 "-- url of the page with the problem -- :   nyt.fakur-design.dk/en/produkt/gaveartik...dobbeltkort/checkout  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3. -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome 36.0.1985.125 -- Error-message(debug-mod must be tuned on) -- : &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; PHP Notice: Undefined property: stdClass::$order&#95;addresses&#95;fields in /var/www/web237/web/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php on line 78, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; PHP Warning: Invalid argument supplied for foreach() in /var/www/web237/web/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php on line 78, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; malformed header from script. Bad header=/var/www/web237/dead.letter...: index.php, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:50 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; File does not exist: /var/www/web237/web/favicon.ico  Hi  I'm currently working on my first HikaShop. The customer had it running on joomla 2.5, and I've upgraded it to newest version of joomla.  The original webhotel is fakur-design.dk I've created a new webhotel named nyt.fakur-design.dk with a different provider, and moved the solution with akeeba.  All the settings from the old solution are kept.  The problem is that I get an internal server error on checkout. See the posted images.  Any suggestions on a solution? I'm not great with php, but not a stranger.")*

Hello,
Firstly, did you done some changes through the code of your order "order creation notification" email or directly through the "order_creation_notification.text.php" file ?
Also, can you download the last Hikashop version through our website, install it and test it again ?
Thanks.

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

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

Less More

- Thank you received: 0
-
-

12 years 3 months ago -  12 years 3 months ago [\#167376](#167376) by Troels83  Replied by *Troels83* on topic *[Internal server error on checkout](/forum/27-checkout/870331-internal-server-error-on-checkout#167376 "-- url of the page with the problem -- :   nyt.fakur-design.dk/en/produkt/gaveartik...dobbeltkort/checkout  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3. -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome 36.0.1985.125 -- Error-message(debug-mod must be tuned on) -- : &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; PHP Notice: Undefined property: stdClass::$order&#95;addresses&#95;fields in /var/www/web237/web/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php on line 78, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; PHP Warning: Invalid argument supplied for foreach() in /var/www/web237/web/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php on line 78, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; malformed header from script. Bad header=/var/www/web237/dead.letter...: index.php, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:50 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; File does not exist: /var/www/web237/web/favicon.ico  Hi  I'm currently working on my first HikaShop. The customer had it running on joomla 2.5, and I've upgraded it to newest version of joomla.  The original webhotel is fakur-design.dk I've created a new webhotel named nyt.fakur-design.dk with a different provider, and moved the solution with akeeba.  All the settings from the old solution are kept.  The problem is that I get an internal server error on checkout. See the posted images.  Any suggestions on a solution? I'm not great with php, but not a stranger.")*

No, not really. I had a look at it, and searched the forum for an answer, but nothing relevant came up.

The loop that the error log complains about looks like this Code:

foreach($data-&gt;order_addresses_fields as $field){ $fieldname = $field-&gt;field_namekey; $address =&amp; $data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]; $billing=str_replace('{'.$fieldname.'}',$fieldsClass-&gt;show($field,$address-&gt;$fieldname),$billing); } echo JText::_('HIKASHOP_BILLING_ADDRESS')."\n"; echo preg_replace('#{(?:(?!}).)*}#i','',$billing)."\n\n"; }

I'll try and do the HikaShop update, but the HikaShop product is not bound to my URL (nyt.fakur-design.dk). And if I change the URL of HikaShop, are the current website at fakur-design.dk still giong to work properly?

Last edit: 12 years 3 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice !

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#167461](#167461) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Internal server error on checkout](/forum/27-checkout/870331-internal-server-error-on-checkout#167461 "-- url of the page with the problem -- :   nyt.fakur-design.dk/en/produkt/gaveartik...dobbeltkort/checkout  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3. -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome 36.0.1985.125 -- Error-message(debug-mod must be tuned on) -- : &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; PHP Notice: Undefined property: stdClass::$order&#95;addresses&#95;fields in /var/www/web237/web/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php on line 78, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; PHP Warning: Invalid argument supplied for foreach() in /var/www/web237/web/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.php on line 78, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:49 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; malformed header from script. Bad header=/var/www/web237/dead.letter...: index.php, referer:   nyt.fakur-design.dk/da/produkt/gaveartik...dobbeltkort/checkout  &#91;Wed Aug 13 10:00:50 2014&#93; &#91;error&#93; &#91;client 89.150.106.101&#93; File does not exist: /var/www/web237/web/favicon.ico  Hi  I'm currently working on my first HikaShop. The customer had it running on joomla 2.5, and I've upgraded it to newest version of joomla.  The original webhotel is fakur-design.dk I've created a new webhotel named nyt.fakur-design.dk with a different provider, and moved the solution with akeeba.  All the settings from the old solution are kept.  The problem is that I get an internal server error on checkout. See the posted images.  Any suggestions on a solution? I'm not great with php, but not a stranger.")*

Hi,

I suggest you to update HIkaShop to his latest version (2.3.2).
If you still have some error during the check, you can see to activate the Joomla debug mode or change the value of the "error reporting" (to maximum or development) in the global joomla configuration.
It should help you to have details of the PHP fatal error instead of having the ISP error page.

In the log, you should look for a fatal error, the notices are not critical (in the way that they don't generate the 500 error page).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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