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

#   Error after logging in during checkout

##

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

Less More

- Posts: 301
- Thank you received: 1
-
-

14 years 5 months ago [\#50777](#50777) by [Huski](/forum/user/3364-huski "View Huski's Profile")  *[Error after logging in during checkout](/forum/3-bug-report/50777-error-after-logging-in-during-checkout#50777 "I am getting the following error after I login as a returning customer during checkout  Notice: Undefined index: grams in /home/xxxx/public&#95;html/xxxx/administrator/components/com&#95;hikashop/helpers/weight.php on line 59  Something to do with weights ?")* was created by *[Huski](/forum/user/3364-huski "View Huski's Profile")*

I am getting the following error after I login as a returning customer during checkout

Notice: Undefined index: grams in /home/xxxx/public_html/xxxx/administrator/components/com_hikashop/helpers/weight.php on line 59

Something to do with weights ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81MDc3Ny1lcnJvci1hZnRlci1sb2dnaW5nLWluLWR1cmluZy1jaGVja291dD90bXBsPW1hcmtkb3du) 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 5 months ago [\#50855](#50855) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error after logging in during checkout](/forum/3-bug-report/50777-error-after-logging-in-during-checkout#50855 "I am getting the following error after I login as a returning customer during checkout  Notice: Undefined index: grams in /home/xxxx/public&#95;html/xxxx/administrator/components/com&#95;hikashop/helpers/weight.php on line 59  Something to do with weights ?")*

In the "weight units" option of the configuration, remove the "grams" you added and add "g" instead. Then, you will have to change it for your products and shipping methods as this is not a valid weight unit.

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

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

Less More

- Posts: 301
- Thank you received: 1
-
-

14 years 5 months ago [\#50875](#50875) by [Huski](/forum/user/3364-huski "View Huski's Profile")  Replied by *[Huski](/forum/user/3364-huski "View Huski's Profile")* on topic *[Re: Error after logging in during checkout](/forum/3-bug-report/50777-error-after-logging-in-during-checkout#50875 "I am getting the following error after I login as a returning customer during checkout  Notice: Undefined index: grams in /home/xxxx/public&#95;html/xxxx/administrator/components/com&#95;hikashop/helpers/weight.php on line 59  Something to do with weights ?")*

Thanks - not sure why some products had grams instead g

But still getting an error.

---

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request
...
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

---

I have checked the logs and it is saying File Not Found "/component/hikashop/checkout/step/step-1.html"

Any idess? Thanks

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

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

Less More

- Posts: 301
- Thank you received: 1
-
-

14 years 5 months ago [\#50885](#50885) by [Huski](/forum/user/3364-huski "View Huski's Profile")  Replied by *[Huski](/forum/user/3364-huski "View Huski's Profile")* on topic *[Re: Error after logging in during checkout](/forum/3-bug-report/50777-error-after-logging-in-during-checkout#50885 "I am getting the following error after I login as a returning customer during checkout  Notice: Undefined index: grams in /home/xxxx/public&#95;html/xxxx/administrator/components/com&#95;hikashop/helpers/weight.php on line 59  Something to do with weights ?")*

Will I try and reinstall Hikashop? If so will this delete any settings?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81MDc3Ny1lcnJvci1hZnRlci1sb2dnaW5nLWluLWR1cmluZy1jaGVja291dD90bXBsPW1hcmtkb3du) 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 5 months ago [\#51001](#51001) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error after logging in during checkout](/forum/3-bug-report/50777-error-after-logging-in-during-checkout#51001 "I am getting the following error after I login as a returning customer during checkout  Notice: Undefined index: grams in /home/xxxx/public&#95;html/xxxx/administrator/components/com&#95;hikashop/helpers/weight.php on line 59  Something to do with weights ?")*

404 errors are usually coming from SEF. You should first try to turn off SEF in the joomla configuration.

Reinstalling HikaShop won't delete any settings.

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

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

Less More

- Posts: 301
- Thank you received: 1
-
-

14 years 5 months ago [\#51018](#51018) by [Huski](/forum/user/3364-huski "View Huski's Profile")  Replied by *[Huski](/forum/user/3364-huski "View Huski's Profile")* on topic *[Re: Error after logging in during checkout](/forum/3-bug-report/50777-error-after-logging-in-during-checkout#51018 "I am getting the following error after I login as a returning customer during checkout  Notice: Undefined index: grams in /home/xxxx/public&#95;html/xxxx/administrator/components/com&#95;hikashop/helpers/weight.php on line 59  Something to do with weights ?")*

I turned off SEF in Joomla and still an error. Reinstalled Hika - still no good. The logs are still showing the same error - missing page but now showing the non-SEF URL for step 1. There are 2 lines in the log - one is 406 error and the other is a 500 error?

On the first page of checkout, I have the hika components of Cart / Coupon / Terms and Conditions.

I notice when I click next that it doesn't matter if you check Terms and Conditions or not - it still moves or tries to move on to the next step. Is there someone that needs a setting to make the checkbox for Terms and Conditions compulsory?

Is there anything else you can suggest to fix the errors?
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81MDc3Ny1lcnJvci1hZnRlci1sb2dnaW5nLWluLWR1cmluZy1jaGVja291dD90bXBsPW1hcmtkb3du) 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 5 months ago [\#51109](#51109) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error after logging in during checkout](/forum/3-bug-report/50777-error-after-logging-in-during-checkout#51109 "I am getting the following error after I login as a returning customer during checkout  Notice: Undefined index: grams in /home/xxxx/public&#95;html/xxxx/administrator/components/com&#95;hikashop/helpers/weight.php on line 59  Something to do with weights ?")*

I'm talking about the PHP error logs. The "file missing" error is not a PHP error from the PHP error log but an apache error from the apache access log.
You're not looking at the correct log.
You might want to ask your hosting company about where to find that log.

So you're talking about a 500 error ?
Try that modification then:
[ www.hikashop.com/forum/2-general-talk-ab...t.html?lang=en#48217](http://www.hikashop.com/forum/2-general-talk-about-hikashop/48122-unable-to-view-access-the-checkout.html?lang=en#48217)

The Terms and Conditions is compulsory. It will tell you at the end of the checkout, if you're missing it. You should put it in the last step of the checkout, or change like that:
[ www.hikashop.com/forum/4-how-to/38499-ch...s.html?lang=en#38647](http://www.hikashop.com/forum/4-how-to/38499-checkout-work-flow-a-terms-and-conditions.html?lang=en#38647)

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

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

Less More

- Posts: 301
- Thank you received: 1
-
-

14 years 5 months ago -  14 years 5 months ago [\#51163](#51163) by [Huski](/forum/user/3364-huski "View Huski's Profile")  Replied by *[Huski](/forum/user/3364-huski "View Huski's Profile")* on topic *[Re: Error after logging in during checkout](/forum/3-bug-report/50777-error-after-logging-in-during-checkout#51163 "I am getting the following error after I login as a returning customer during checkout  Notice: Undefined index: grams in /home/xxxx/public&#95;html/xxxx/administrator/components/com&#95;hikashop/helpers/weight.php on line 59  Something to do with weights ?")*

Thanks - the mod to the checkout address page didn't work - still get the error. Checking with my host to see if they can shed the light and also tell me where the logs are.

Have changed the T&amp;Cs - thanks.

EDIT: Host came back saying this is the error: Premature end of script headers: index.php

I have googled and tried a few things but nothing. Would something in Hikashop cause this?

Last edit: 14 years 5 months ago by [Huski](/forum/user/3364-huski "View Huski's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81MDc3Ny1lcnJvci1hZnRlci1sb2dnaW5nLWluLWR1cmluZy1jaGVja291dD90bXBsPW1hcmtkb3du) 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 5 months ago [\#51234](#51234) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error after logging in during checkout](/forum/3-bug-report/50777-error-after-logging-in-during-checkout#51234 "I am getting the following error after I login as a returning customer during checkout  Notice: Undefined index: grams in /home/xxxx/public&#95;html/xxxx/administrator/components/com&#95;hikashop/helpers/weight.php on line 59  Something to do with weights ?")*

Mmm. That error doesn't give any info either... it just means that the page processing stopped in the middle...

Could you give a link to your website so that we can see that ?

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

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

Less More

- Posts: 301
- Thank you received: 1
-
-

14 years 5 months ago [\#51242](#51242) by [Huski](/forum/user/3364-huski "View Huski's Profile")  Replied by *[Huski](/forum/user/3364-huski "View Huski's Profile")* on topic *[Re: Error after logging in during checkout](/forum/3-bug-report/50777-error-after-logging-in-during-checkout#51242 "I am getting the following error after I login as a returning customer during checkout  Notice: Undefined index: grams in /home/xxxx/public&#95;html/xxxx/administrator/components/com&#95;hikashop/helpers/weight.php on line 59  Something to do with weights ?")*

I am not sure why but pestered my website host to look further and received a message that it should be fixed which it now seems to be. So a server side thing - not hikashop.
Thanks for your help

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

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