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

#   Getting errors when trying to change order status

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

13 years 7 months ago [\#98463](#98463) by [dmd](/forum/user/13768-dmd "View dmd's Profile")  *[Getting errors when trying to change order status](/forum/3-bug-report/80232-getting-errors-when-trying-to-change-order-status#98463 "When looking at the list of orders in the backend here:  http://&#91;domain&#93;/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;order&#95;type=sale&amp;filter&#95;partner=0  There is a column with the order statuses. When I want to change the order status, I click the select menu and choose the new status. A modal popup appears, though it doesn't load fully and at the same time, an error appears in the console:  Firefox:  Chrome:  In Firefox, the modal window is small and white, while in Chrome the modal window loads but is incomplete. The &quot;notify customer&quot; toggle buttons &quot;yes/no&quot; don't have the full bootstrap styles. I have attached a screenshot:  When I click the &quot;OK&quot; button at the top-right of the modal window in Chrome, another error occurs in the console:  I have tried to reproduce this with a fresh install with the same version of Joomla! and Hikashop, but it works fine.  I have noticed that when I go in to edit the order and change the status, the modal window pops up with the same broken appearance and the same error in the console. HOWEVER: when clicking the &quot;OK&quot; button in Chrome (not visible in Firefox), it loads a blank page with this as the source code:  ... And the status is updated ok in the database.  I've done a comparison with the original source code and apart from some minor button changes in hikashopCartHelper::displayButton() and suppression of the stylesheet in hikashopModuleHelper::initialize(), the code is identical.  I'm perplexed by this. Can someone help point me in the right direction (preferably to debug rather than reinstall as all my products and categories are set up and the shop is configured, and I am handing it over for client review tomorrow).  Thank you!")* was created by *[dmd](/forum/user/13768-dmd "View dmd's Profile")*

When looking at the list of orders in the backend here:

http://[domain]/administrator/index.php?option=com_hikashop&amp;ctrl=order&amp;order_type=sale&amp;filter_partner=0

There is a column with the order statuses. When I want to change the order status, I click the select menu and choose the new status. A modal popup appears, though it doesn't load fully and at the same time, an error appears in the console:

Firefox:

> NS\_ERROR\_XPC\_BAD\_CONVERT\_JS: Could not convert JavaScript argument arg 0 \[nsIDOMHTMLDivElement.contains\]
> \[Break On This Error\]
>
> ...hideContent(),a?(this.isLoading&amp;&amp;this.toggleLoading(!1),this.fireEvent("onUpdate...

Chrome:

> ReferenceError {}

In Firefox, the modal window is small and white, while in Chrome the modal window loads but is incomplete. The "notify customer" toggle buttons "yes/no" don't have the full bootstrap styles. I have attached a screenshot:

[ ![Screenshot-1.png](/forum/attachment/9551) ](/forum/attachment/9551 "Screenshot-1.png")

When I click the "OK" button at the top-right of the modal window in Chrome, another error occurs in the console:

> Uncaught TypeError: Cannot set property 'value' of undefined

I have tried to reproduce this with a fresh install with the same version of Joomla! and Hikashop, but it works fine.

I have noticed that when I go in to edit the order and change the status, the modal window pops up with the same broken appearance and the same error in the console. HOWEVER: when clicking the "OK" button in Chrome (not visible in Firefox), it loads a blank page with this as the source code:
Code:

&lt;html&gt;&lt;head&gt;&lt;script type="text/javascript"&gt;parent.document.getElementById('filter_status_15').value='confirmed';parent.default_filter_status_15='confirmed';if(typeof(parent.jQuery)!='undefined'){parent.jQuery(parent.document.getElementById('filter_status_15')).trigger('liszt:updated');} window.parent.hikashop.closeBox();&lt;/script&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;

... And the status is updated ok in the database.

I've done a comparison with the original source code and apart from some minor button changes in hikashopCartHelper::displayButton() and suppression of the stylesheet in hikashopModuleHelper::initialize(), the code is identical.

I'm perplexed by this. Can someone help point me in the right direction (preferably to debug rather than reinstall as all my products and categories are set up and the shop is configured, and I am handing it over for client review tomorrow).

Thank you!

- [ ![Screenshot-1.png](/forum/attachment/9551) ](/forum/attachment/9551 "Screenshot-1.png") [ ](/forum/attachment/9551?download=1 "Screenshot-1.png")

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

13 years 7 months ago [\#98603](#98603) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Getting errors when trying to change order status](/forum/3-bug-report/80232-getting-errors-when-trying-to-change-order-status#98603 "When looking at the list of orders in the backend here:  http://&#91;domain&#93;/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;order&#95;type=sale&amp;filter&#95;partner=0  There is a column with the order statuses. When I want to change the order status, I click the select menu and choose the new status. A modal popup appears, though it doesn't load fully and at the same time, an error appears in the console:  Firefox:  Chrome:  In Firefox, the modal window is small and white, while in Chrome the modal window loads but is incomplete. The &quot;notify customer&quot; toggle buttons &quot;yes/no&quot; don't have the full bootstrap styles. I have attached a screenshot:  When I click the &quot;OK&quot; button at the top-right of the modal window in Chrome, another error occurs in the console:  I have tried to reproduce this with a fresh install with the same version of Joomla! and Hikashop, but it works fine.  I have noticed that when I go in to edit the order and change the status, the modal window pops up with the same broken appearance and the same error in the console. HOWEVER: when clicking the &quot;OK&quot; button in Chrome (not visible in Firefox), it loads a blank page with this as the source code:  ... And the status is updated ok in the database.  I've done a comparison with the original source code and apart from some minor button changes in hikashopCartHelper::displayButton() and suppression of the stylesheet in hikashopModuleHelper::initialize(), the code is identical.  I'm perplexed by this. Can someone help point me in the right direction (preferably to debug rather than reinstall as all my products and categories are set up and the shop is configured, and I am handing it over for client review tomorrow).  Thank you!")*

Hi,

Are you using a different template from the default joomla template ? Because it sounds that the CSS/JS files in the popup are not loaded properly and usually such issue comes from the template's component.php file which is missing some bits of code.

Since it works for everyone else, it really seems like something specific to your website, so I would say that it is caused either by the template or a system plugin. But it's hard to give more precision with the information at hand.

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

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