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

#   After Server Change 500 Error Page

##

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

Less More

- Posts: 59
- Thank you received: 2
-
-

13 years 11 months ago [\#82449](#82449) by [MikeB](/forum/user/11679-mikeb "View MikeB's Profile")  *[After Server Change 500 Error Page](/forum/4-how-to/76835-after-server-change-500-error-page#82449 "Hello,  we change our Shop to the Live Server - but when we log in and change to HikaShop we become the following error message:  500 SQL=SELECT SUM(prod.order&#95;product&#95;price&#42;prod.order&#95;product&#95;quantity) as Total, a.order&#95;currency&#95;id FROM ke7jp&#95;hikashop&#95;order AS a LEFT JOIN ke7jp&#95;hikashop&#95;order&#95;product AS prod ON a.order&#95;id=prod.order&#95;id WHERE a.order&#95;type='sale' AND a.order&#95;created &gt; 1353171895 AND a.order&#95;created ")* was created by *[MikeB](/forum/user/11679-mikeb "View MikeB's Profile")*

Hello,

we change our Shop to the Live Server - but when we log in and change to HikaShop
we become the following error message:

500 SQL=SELECT SUM(prod.order_product_price*prod.order_product_quantity) as Total, a.order_currency_id FROM ke7jp_hikashop_order AS a LEFT JOIN ke7jp_hikashop_order_product AS prod ON a.order_id=prod.order_id WHERE a.order_type='sale' AND a.order_created &gt; 1353171895 AND a.order_created &lt; 1355763895

the shop is running, Joomla is running, front and backend is running - only the control center of hika shop is not running !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc2ODM1LWFmdGVyLXNlcnZlci1jaGFuZ2UtNTAwLWVycm9yLXBhZ2U/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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#82453](#82453) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[After Server Change 500 Error Page](/forum/4-how-to/76835-after-server-change-500-error-page#82453 "Hello,  we change our Shop to the Live Server - but when we log in and change to HikaShop we become the following error message:  500 SQL=SELECT SUM(prod.order&#95;product&#95;price&#42;prod.order&#95;product&#95;quantity) as Total, a.order&#95;currency&#95;id FROM ke7jp&#95;hikashop&#95;order AS a LEFT JOIN ke7jp&#95;hikashop&#95;order&#95;product AS prod ON a.order&#95;id=prod.order&#95;id WHERE a.order&#95;type='sale' AND a.order&#95;created &gt; 1353171895 AND a.order&#95;created ")*

Hi,

Please use HikaMysqli from this post : [ www.hikashop.com/en/forum/2-general-talk...p-20-beta.html#72321](http://www.hikashop.com/en/forum/2-general-talk-about-hikashop/72191-hikashop-20-beta.html#72321)
This database drive would give you the real mysql error.

Regards,

---

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

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

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

Less More

- Posts: 59
- Thank you received: 2
-
-

13 years 11 months ago [\#82456](#82456) by [MikeB](/forum/user/11679-mikeb "View MikeB's Profile")  Replied by *[MikeB](/forum/user/11679-mikeb "View MikeB's Profile")* on topic *[After Server Change 500 Error Page](/forum/4-how-to/76835-after-server-change-500-error-page#82456 "Hello,  we change our Shop to the Live Server - but when we log in and change to HikaShop we become the following error message:  500 SQL=SELECT SUM(prod.order&#95;product&#95;price&#42;prod.order&#95;product&#95;quantity) as Total, a.order&#95;currency&#95;id FROM ke7jp&#95;hikashop&#95;order AS a LEFT JOIN ke7jp&#95;hikashop&#95;order&#95;product AS prod ON a.order&#95;id=prod.order&#95;id WHERE a.order&#95;type='sale' AND a.order&#95;created &gt; 1353171895 AND a.order&#95;created ")*

Hi Jerome,

but i use the newest Business Version - so is it really neccessary to put in this patch
that you post ? On my not live local server everythink is fine - just on the live server
i became this error. And everythink is working - just the controll center doesn´t work.

if you say - YES do it - i will do it...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc2ODM1LWFmdGVyLXNlcnZlci1jaGFuZ2UtNTAwLWVycm9yLXBhZ2U/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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#82458](#82458) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[After Server Change 500 Error Page](/forum/4-how-to/76835-after-server-change-500-error-page#82458 "Hello,  we change our Shop to the Live Server - but when we log in and change to HikaShop we become the following error message:  500 SQL=SELECT SUM(prod.order&#95;product&#95;price&#42;prod.order&#95;product&#95;quantity) as Total, a.order&#95;currency&#95;id FROM ke7jp&#95;hikashop&#95;order AS a LEFT JOIN ke7jp&#95;hikashop&#95;order&#95;product AS prod ON a.order&#95;id=prod.order&#95;id WHERE a.order&#95;type='sale' AND a.order&#95;created &gt; 1353171895 AND a.order&#95;created ")*

Hi,

You can copy/past the SQL request in your PHPMyAdmin and see the result error.
I think there is a problem in a widget and I am sure that we can fix it for your website and the control panel would work correctly.
Having the sql error would help us to understand the problem.

Regards,

---

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

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

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

Less More

- Posts: 59
- Thank you received: 2
-
-

13 years 11 months ago [\#82459](#82459) by [MikeB](/forum/user/11679-mikeb "View MikeB's Profile")  Replied by *[MikeB](/forum/user/11679-mikeb "View MikeB's Profile")* on topic *[After Server Change 500 Error Page](/forum/4-how-to/76835-after-server-change-500-error-page#82459 "Hello,  we change our Shop to the Live Server - but when we log in and change to HikaShop we become the following error message:  500 SQL=SELECT SUM(prod.order&#95;product&#95;price&#42;prod.order&#95;product&#95;quantity) as Total, a.order&#95;currency&#95;id FROM ke7jp&#95;hikashop&#95;order AS a LEFT JOIN ke7jp&#95;hikashop&#95;order&#95;product AS prod ON a.order&#95;id=prod.order&#95;id WHERE a.order&#95;type='sale' AND a.order&#95;created &gt; 1353171895 AND a.order&#95;created ")*

Hi Jerome,

ok - mySQL response:

\#1140 - Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc2ODM1LWFmdGVyLXNlcnZlci1jaGFuZ2UtNTAwLWVycm9yLXBhZ2U/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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#82495](#82495) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[After Server Change 500 Error Page](/forum/4-how-to/76835-after-server-change-500-error-page#82495 "Hello,  we change our Shop to the Live Server - but when we log in and change to HikaShop we become the following error message:  500 SQL=SELECT SUM(prod.order&#95;product&#95;price&#42;prod.order&#95;product&#95;quantity) as Total, a.order&#95;currency&#95;id FROM ke7jp&#95;hikashop&#95;order AS a LEFT JOIN ke7jp&#95;hikashop&#95;order&#95;product AS prod ON a.order&#95;id=prod.order&#95;id WHERE a.order&#95;type='sale' AND a.order&#95;created &gt; 1353171895 AND a.order&#95;created ")*

Hi,

Can you edit the file administrator/com_hikashop/classes/widget.php
You would found the line: Code:

$select.='SUM('.$theSum.') as Total, a.order_currency_id'; break; default: break; }

Please add the line, like this: Code:

$select.='SUM('.$theSum.') as Total, a.order_currency_id'; if(empty($groupby)) $groupby = array(); $groupby[] = 'a.order_currency_id'; break; default: break; }

I think it should fix your problem.

Regards,

---

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

The following user(s) said Thank You: [MikeB](/forum/user/11679-mikeb "View MikeB's Profile")

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

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

Less More

- Posts: 59
- Thank you received: 2
-
-

13 years 11 months ago [\#82507](#82507) by [MikeB](/forum/user/11679-mikeb "View MikeB's Profile")  Replied by *[MikeB](/forum/user/11679-mikeb "View MikeB's Profile")* on topic *[After Server Change 500 Error Page](/forum/4-how-to/76835-after-server-change-500-error-page#82507 "Hello,  we change our Shop to the Live Server - but when we log in and change to HikaShop we become the following error message:  500 SQL=SELECT SUM(prod.order&#95;product&#95;price&#42;prod.order&#95;product&#95;quantity) as Total, a.order&#95;currency&#95;id FROM ke7jp&#95;hikashop&#95;order AS a LEFT JOIN ke7jp&#95;hikashop&#95;order&#95;product AS prod ON a.order&#95;id=prod.order&#95;id WHERE a.order&#95;type='sale' AND a.order&#95;created &gt; 1353171895 AND a.order&#95;created ")*

that´s it ! now it works also on the live system !

Thanks a lot !

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

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