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

#  Profile for Sinus

##

[![Sinus's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44473-sinus "View Sinus's Profile")

**[ Offline](/forum/user/44473-sinus)**

- **User Type:** User

- **Register Date:** 06 Aug 2016
- **Last login:** 2 weeks 5 days ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 22:04

- **Posts:** 8
- **Profile views:** 63

- **Gender:** Unknown
- **Birthdate:** Unknown
- **Medals:**  Hikashop Business

- Posts

#  Sinus recent posts  (8 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/27-checkout/100000049-title-500-error-a-key-is-required-when-opening-checkout-without-itemid-jooml#100000252) | [Title: 500 error "A key is required" when opening checkout without Itemid (Jooml](/forum/27-checkout/100000049-title-500-error-a-key-is-required-when-opening-checkout-without-itemid-jooml#100000252 "-- url of the page with the problem -- :   www.greenfirezuidlaren.nl/  -- HikaShop version -- : 6.6.0 (Business) -- Joomla version -- : 6.1.3 -- PHP version -- : 8.4.25 -- Browser(s) name and version -- :  Chrome 155.0 -- Error-message(debug-mod must be tuned on) -- : : 0 - A key is required  Hi,  I ran into a 500 error on our shop (  www.greenfirezuidlaren.nl ) and tracked it down to the checkout controller. It looks like a Joomla 6 compatibility issue, so I thought I'd share what I found.  Our setup: Joomla 6.1.3, PHP 8.4.25, HikaShop Business 6.6.0 and YOOtheme Pro 5. The checkout menu item is set in the HikaShop configuration (checkout&#95;itemid 434, SEF name &quot;afrekenen&quot;).  What happens: when a visitor has something in their cart and opens the checkout without an Itemid in the URL, they get a 500 page saying &quot;0 - A key is required&quot;. For example:    www.greenfirezuidlaren.nl/component/hikashop/checkout  We mostly saw this through old add-to-cart links like /component/hikashop/product/updatecart/add-1/cid-66, which redirect to that URL.  A few things I noticed while testing: - With an empty cart (or no session at all) there's no error, you just get redirected to the product listing. - As soon as there's any Itemid in the URL, even one that doesn't exist, HikaShop redirects nicely to the checkout menu item. - It also happens with tmpl=component and format=raw, so it's not the template.  I briefly turned on Joomla debug to get the stack trace:  1  JROOT/libraries/vendor/joomla/database/src/DatabaseQuery.php:1890 2  Joomla&#92;Database&#92;DatabaseQuery-&gt;bind()   JROOT/libraries/vendor/joomla/database/src/DatabaseQuery.php:1988 3  Joomla&#92;Database&#92;DatabaseQuery-&gt;bindArray()   JROOT/libraries/src/Language/Associations.php:126 4  Joomla&#92;CMS&#92;Language&#92;Associations::getAssociations()   JROOT/administrator/components/com&#95;menus/src/Helper/MenusHelper.php:281 5  Joomla&#92;Component&#92;Menus&#92;Administrator&#92;Helper&#92;MenusHelper::getAssociations()   JROOT/components/com&#95;hikashop/controllers/checkout.php:159 6  checkoutController-&gt;show()   JROOT/libraries/src/MVC/Controller/BaseController.php:738 7  hikashopController-&gt;execute()   JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:3167 8  require&#95;once()   JROOT/components/com&#95;hikashop/hikashop.php:85  So as far as I can tell, line 159 of checkout.php calls MenusHelper::getAssociations() with an empty menu item id when there's no Itemid. Joomla 6 then hands an empty array to bindArray(), which throws the exception. Joomla 5 didn't complain about this, which is probably why it hasn't come up before.  I noticed the changelog for 6.5.1 mentions a change to this same block (the multilingual menu associations in the checkout, which now only runs when the Joomla classes exist). Maybe a check on the menu item id could be added there as well. We're on 6.6.0, which is the latest version available to us.  A simple guard would probably fix it: only call getAssociations() when the menu item id is above 0, or fall back to the configured checkout&#95;itemid first.  For now I've added this to our .htaccess as a workaround, and that works fine:  Because of that workaround, the link above now redirects instead of showing the error.   Best regards, Sinus")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 2 weeks 6 days ago, by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")       [Last Post](/forum/27-checkout/100000049-title-500-error-a-key-is-required-when-opening-checkout-without-itemid-jooml#100000252 "Thanks for the quick fix and the explanation! You're right, I double-checked and the site is running Joomla 6.2.0 with PHP 8.5.11, not 6.1.3, sorry for the confusion. I'll install the updated package...") 2 weeks 5 days ago     by [Sinus](/forum/user/44473-sinus "View Sinus's Profile") | Replies:1  Views:85 | [Last Post](/forum/27-checkout/100000049-title-500-error-a-key-is-required-when-opening-checkout-without-itemid-jooml#100000252 "Thanks for the quick fix and the explanation! You're right, I double-checked and the site is running Joomla 6.2.0 with PHP 8.5.11, not 6.1.3, sorry for the confusion. I'll install the updated package...") by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")      2 weeks 5 days ago |
| [](/forum/27-checkout/100000049-title-500-error-a-key-is-required-when-opening-checkout-without-itemid-jooml#100000242) | [Title: 500 error "A key is required" when opening checkout without Itemid (Jooml](/forum/27-checkout/100000049-title-500-error-a-key-is-required-when-opening-checkout-without-itemid-jooml#100000242 "-- url of the page with the problem -- :   www.greenfirezuidlaren.nl/  -- HikaShop version -- : 6.6.0 (Business) -- Joomla version -- : 6.1.3 -- PHP version -- : 8.4.25 -- Browser(s) name and version -- :  Chrome 155.0 -- Error-message(debug-mod must be tuned on) -- : : 0 - A key is required  Hi,  I ran into a 500 error on our shop (  www.greenfirezuidlaren.nl ) and tracked it down to the checkout controller. It looks like a Joomla 6 compatibility issue, so I thought I'd share what I found.  Our setup: Joomla 6.1.3, PHP 8.4.25, HikaShop Business 6.6.0 and YOOtheme Pro 5. The checkout menu item is set in the HikaShop configuration (checkout&#95;itemid 434, SEF name &quot;afrekenen&quot;).  What happens: when a visitor has something in their cart and opens the checkout without an Itemid in the URL, they get a 500 page saying &quot;0 - A key is required&quot;. For example:    www.greenfirezuidlaren.nl/component/hikashop/checkout  We mostly saw this through old add-to-cart links like /component/hikashop/product/updatecart/add-1/cid-66, which redirect to that URL.  A few things I noticed while testing: - With an empty cart (or no session at all) there's no error, you just get redirected to the product listing. - As soon as there's any Itemid in the URL, even one that doesn't exist, HikaShop redirects nicely to the checkout menu item. - It also happens with tmpl=component and format=raw, so it's not the template.  I briefly turned on Joomla debug to get the stack trace:  1  JROOT/libraries/vendor/joomla/database/src/DatabaseQuery.php:1890 2  Joomla&#92;Database&#92;DatabaseQuery-&gt;bind()   JROOT/libraries/vendor/joomla/database/src/DatabaseQuery.php:1988 3  Joomla&#92;Database&#92;DatabaseQuery-&gt;bindArray()   JROOT/libraries/src/Language/Associations.php:126 4  Joomla&#92;CMS&#92;Language&#92;Associations::getAssociations()   JROOT/administrator/components/com&#95;menus/src/Helper/MenusHelper.php:281 5  Joomla&#92;Component&#92;Menus&#92;Administrator&#92;Helper&#92;MenusHelper::getAssociations()   JROOT/components/com&#95;hikashop/controllers/checkout.php:159 6  checkoutController-&gt;show()   JROOT/libraries/src/MVC/Controller/BaseController.php:738 7  hikashopController-&gt;execute()   JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:3167 8  require&#95;once()   JROOT/components/com&#95;hikashop/hikashop.php:85  So as far as I can tell, line 159 of checkout.php calls MenusHelper::getAssociations() with an empty menu item id when there's no Itemid. Joomla 6 then hands an empty array to bindArray(), which throws the exception. Joomla 5 didn't complain about this, which is probably why it hasn't come up before.  I noticed the changelog for 6.5.1 mentions a change to this same block (the multilingual menu associations in the checkout, which now only runs when the Joomla classes exist). Maybe a check on the menu item id could be added there as well. We're on 6.6.0, which is the latest version available to us.  A simple guard would probably fix it: only call getAssociations() when the menu item id is above 0, or fall back to the configured checkout&#95;itemid first.  For now I've added this to our .htaccess as a workaround, and that works fine:  Because of that workaround, the link above now redirects instead of showing the error.   Best regards, Sinus")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 2 weeks 6 days ago, by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")       [Last Post](/forum/27-checkout/100000049-title-500-error-a-key-is-required-when-opening-checkout-without-itemid-jooml#100000252 "Thanks for the quick fix and the explanation! You're right, I double-checked and the site is running Joomla 6.2.0 with PHP 8.5.11, not 6.1.3, sorry for the confusion. I'll install the updated package...") 2 weeks 5 days ago     by [Sinus](/forum/user/44473-sinus "View Sinus's Profile") | Replies:1  Views:85 | [Last Post](/forum/27-checkout/100000049-title-500-error-a-key-is-required-when-opening-checkout-without-itemid-jooml#100000252 "Thanks for the quick fix and the explanation! You're right, I double-checked and the site is running Joomla 6.2.0 with PHP 8.5.11, not 6.1.3, sorry for the confusion. I'll install the updated package...") by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")      2 weeks 5 days ago |
| [](/forum/50-feature-request/909638-advanced-datepicker#368158) | [Advanced datepicker](/forum/50-feature-request/909638-advanced-datepicker#368158 "I would like to have the option to limit the date selection to a maximum number of days in the future. At the moment, it’s unlimited. For my website, it would be preferable to allow only up to 30 days in the future.")        Category: [Feature Request](/forum/50-feature-request "Suggest your feature requests and ideas for HikaShop")     Topic started 1 year 2 months ago, by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")       [Last Post](/forum/50-feature-request/909638-advanced-datepicker#368160 "Hi,  It's noted on our end.") 1 year 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:633 | [Last Post](/forum/50-feature-request/909638-advanced-datepicker#368160 "Hi,  It's noted on our end.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 2 months ago |
| [](/forum/27-checkout/909637-advanced-date-picker#368153) | [Advanced Date Picker](/forum/27-checkout/909637-advanced-date-picker#368153 "-- url of the page with the problem -- :   www.greenfirezuidlaren.nl/  -- HikaShop version -- : 6.0.0 -- Joomla version -- : 5.3.2 -- PHP version -- : 8.4.8 -- Browser(s) name and version -- : Versie 138.0.7204.184 (Officiële build) (64-bits)  I’m using the Advanced Date Picker and have configured it so that customers should only be able to select a delivery date within the next 30 days (see attached screenshot). However, with the current settings, it is still possible to select a delivery date beyond the 30-day limit.  Could you please confirm if my configuration is correct, or advise if there’s another setting I need to adjust?  Thank you in advance for your assistance.")         Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 1 year 2 months ago, by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")       [Last Post](/forum/27-checkout/909637-advanced-date-picker#368154 "Hi,  The &quot;start&quot; and &quot;end&quot; fields are for the &quot;year selector&quot;. So, in these fields, you're supposed to enter a year. There's actually no option to configure a maximum future date for these type of fields. It would require the development of an extra option for it.") 1 year 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:505 | [Last Post](/forum/27-checkout/909637-advanced-date-picker#368154 "Hi,  The &quot;start&quot; and &quot;end&quot; fields are for the &quot;year selector&quot;. So, in these fields, you're supposed to enter a year. There's actually no option to configure a maximum future date for these type of fields. It would require the development of an extra option for it.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 2 months ago |
| [](/forum/25-install-update/908021-shoppingcart-image-prblem-after-update-to-joomla-5-0-3#360245) | [Shoppingcart image prblem after update to joomla 5.0.3](/forum/25-install-update/908021-shoppingcart-image-prblem-after-update-to-joomla-5-0-3#360245 "-- HikaShop version -- : HikaShop Business 5.0.3 &#91;2402021248&#93; -- Joomla version -- : 5.0.3 -- PHP version -- : 8.2.16 -- Browser(s) name and version -- : Versie 123.0.6312.106 (Officiële build) (64-bits)  I have updated my website from Joomla 4.4.3 to 5.0.3. After the update, the remove and update cart images disappeared from the shopping cart. How can I make these images visible again?")         Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 2 years 6 months ago, by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")       [Last Post](/forum/25-install-update/908021-shoppingcart-image-prblem-after-update-to-joomla-5-0-3#360245 "Problem solved, thanx!") 2 years 6 months ago     by [Sinus](/forum/user/44473-sinus "View Sinus's Profile") | Replies:2  Views:587 | [Last Post](/forum/25-install-update/908021-shoppingcart-image-prblem-after-update-to-joomla-5-0-3#360245 "Problem solved, thanx!") by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")      2 years 6 months ago |
| [](/forum/25-install-update/908021-shoppingcart-image-prblem-after-update-to-joomla-5-0-3#360235) | [Shoppingcart image prblem after update to joomla 5.0.3](/forum/25-install-update/908021-shoppingcart-image-prblem-after-update-to-joomla-5-0-3#360235 "-- HikaShop version -- : HikaShop Business 5.0.3 &#91;2402021248&#93; -- Joomla version -- : 5.0.3 -- PHP version -- : 8.2.16 -- Browser(s) name and version -- : Versie 123.0.6312.106 (Officiële build) (64-bits)  I have updated my website from Joomla 4.4.3 to 5.0.3. After the update, the remove and update cart images disappeared from the shopping cart. How can I make these images visible again?")         Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 2 years 6 months ago, by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")       [Last Post](/forum/25-install-update/908021-shoppingcart-image-prblem-after-update-to-joomla-5-0-3#360245 "Problem solved, thanx!") 2 years 6 months ago     by [Sinus](/forum/user/44473-sinus "View Sinus's Profile") | Replies:2  Views:587 | [Last Post](/forum/25-install-update/908021-shoppingcart-image-prblem-after-update-to-joomla-5-0-3#360245 "Problem solved, thanx!") by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")      2 years 6 months ago |
| [](/forum/25-install-update/905421-no-payment-methods-found#347007) | [No payment methods found](/forum/25-install-update/905421-no-payment-methods-found#347007 "-- url of the page with the problem -- :   www.boe4.nl/testomgeving/alle-categorieen/checkout  -- HikaShop version -- : 4.6.2 -- PHP version -- : 8.0 -- Browser(s) name and version -- : 4.2.5  Everything finally works fine after the migration to Joomla version 4. Still 1 problem. At checkout I get the message: No payment methods found I have activated Ideal plugin, but no result. Any idea how I can activate the payment in the checkout screen")         Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 3 years 11 months ago, by [aberg](/forum/user/34553-aberg "View aberg's Profile")       [Last Post](/forum/25-install-update/905421-no-payment-methods-found#347027 "Latest update. Just bought the mollie plugin on the Hikashop marketplace. Installed it and it's all working fine now. It is therefore 100% sure that the fault is with the Chill Creations plugin. I have now sent an email to Chill Creations support for support") 3 years 11 months ago     by [aberg](/forum/user/34553-aberg "View aberg's Profile") | Replies:11  Views:1004 | [Last Post](/forum/25-install-update/905421-no-payment-methods-found#347027 "Latest update. Just bought the mollie plugin on the Hikashop marketplace. Installed it and it's all working fine now. It is therefore 100% sure that the fault is with the Chill Creations plugin. I have now sent an email to Chill Creations support for support") by [aberg](/forum/user/34553-aberg "View aberg's Profile")      3 years 11 months ago |
| [](/forum/35-orders-management/903453-change-header-color-e-mailtemplate#336958) | [Change header color e-mailtemplate](/forum/35-orders-management/903453-change-header-color-e-mailtemplate#336958 "-- url of the page with the problem -- :   www.greenfirezuidlaren.nl/  -- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Versie 95.0.4638.69 (Officiële build) (64-bits)  Where can I change the blue header color? See attachments")         Category: [Orders management](/forum/35-orders-management "You can ask here your questions about orders management")     Topic started 4 years 11 months ago, by [Sinus](/forum/user/44473-sinus "View Sinus's Profile")       [Last Post](/forum/35-orders-management/903453-change-header-color-e-mailtemplate#336960 "Hi,  The simplest would be to download the image   www.greenfirezuidlaren.nl/media/com&#95;hika...ages/mail/header.png  modify it on your local computer and reupload it via FTP. However, this means that each time you update your HikaShop, you'll loose the image and you'll have reupload it.  A nicer solution would be to upload the image with another name. Then, you could edit the email via the menu System&gt;Emails. There, edit the template. That will open a popup with the HTML of the template. There, search for that image path ( media/com&#95;hikashop/images/mail/header.png ) and change it to the path of your new image and save the modification and the email. That way, you'll keep your change when you update HikaShop in the future.") 4 years 11 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:817 | [Last Post](/forum/35-orders-management/903453-change-header-color-e-mailtemplate#336960 "Hi,  The simplest would be to download the image   www.greenfirezuidlaren.nl/media/com&#95;hika...ages/mail/header.png  modify it on your local computer and reupload it via FTP. However, this means that each time you update your HikaShop, you'll loose the image and you'll have reupload it.  A nicer solution would be to upload the image with another name. Then, you could edit the email via the menu System&gt;Emails. There, edit the template. That will open a popup with the HTML of the template. There, search for that image path ( media/com&#95;hikashop/images/mail/header.png ) and change it to the path of your new image and save the modification and the email. That way, you'll keep your change when you update HikaShop in the future.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 11 months ago |

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.091 seconds

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