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

#   "Backend dashboard legacy" doesn't work

##

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

Less More

- Posts: 105
- Thank you received: 6
-
-
-

7 years 11 months ago [\#301458](#301458) by [panefs](/forum/user/35481-panefs "View panefs's Profile")  *["Backend dashboard legacy" doesn't work](/forum/36-reports-statistics/896423-backend-dashboard-legacy-doesnt-work#301458 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1.24  Hello. I've kept the &quot;Backend dashboard legacy&quot; active, because it lets me customize the reports.  After I upgraded to Hikashop Business 4.0.0, the old dashboard throws this error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM #&#95;&#95;hikashop&#95;order AS a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product AS prod ON a.o' at line 1  I upgraded to 4.0.1 but the issue persists. Can you help, please?")* was created by *[panefs](/forum/user/35481-panefs "View panefs's Profile")*

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.1.24

Hello.
I've kept the "Backend dashboard legacy" active, because it lets me customize the reports.

After I upgraded to Hikashop Business 4.0.0, the old dashboard throws this error:
**1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM #\_\_hikashop\_order AS a LEFT JOIN #\_\_hikashop\_order\_product AS prod ON a.o' at line 1**

I upgraded to 4.0.1 but the issue persists.
Can you help, please?

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

7 years 11 months ago [\#301463](#301463) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Backend dashboard legacy" doesn't work](/forum/36-reports-statistics/896423-backend-dashboard-legacy-doesnt-work#301463 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1.24  Hello. I've kept the &quot;Backend dashboard legacy&quot; active, because it lets me customize the reports.  After I upgraded to Hikashop Business 4.0.0, the old dashboard throws this error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM #&#95;&#95;hikashop&#95;order AS a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product AS prod ON a.o' at line 1  I upgraded to 4.0.1 but the issue persists. Can you help, please?")*

Hi,

Without the full MySQL query it will be difficult to help as we don't know how you setup your reports.
Please apply that patch to joomla and try again:
[ www.hikashop.com/support/forum/2-general...ror-1054.html#287524](https://www.hikashop.com/support/forum/2-general-talk-about-hikashop/893728-sort-by-price-for-variants-error-1054.html#287524)
You should then get the full MySQL query leading to that error. Please provide it so that we can better understand the situation.

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

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

Less More

- Posts: 105
- Thank you received: 6
-
-
-

7 years 11 months ago [\#301492](#301492) by [panefs](/forum/user/35481-panefs "View panefs's Profile")  Replied by *[panefs](/forum/user/35481-panefs "View panefs's Profile")* on topic *["Backend dashboard legacy" doesn't work](/forum/36-reports-statistics/896423-backend-dashboard-legacy-doesnt-work#301492 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1.24  Hello. I've kept the &quot;Backend dashboard legacy&quot; active, because it lets me customize the reports.  After I upgraded to Hikashop Business 4.0.0, the old dashboard throws this error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM #&#95;&#95;hikashop&#95;order AS a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product AS prod ON a.o' at line 1  I upgraded to 4.0.1 but the issue persists. Can you help, please?")*

Thanks.
I am not getting this:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM #__hikashop_order AS a LEFT JOIN #__hikashop_order_product AS prod ON a.o' at line 1 SELECT FROM j25_hikashop_order AS a LEFT JOIN j25_hikashop_order_product AS prod ON a.order_id=prod.order_id AND prod.order_product_tax &gt; 0 WHERE a.order_type='sale' AND a.order_status IN ('confirmed') AND a.order_currency_id IN ('1') AND a.order_created &gt; 1538352000 AND a.order_created &lt; 1546214400

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

7 years 11 months ago [\#301494](#301494) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Backend dashboard legacy" doesn't work](/forum/36-reports-statistics/896423-backend-dashboard-legacy-doesnt-work#301494 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1.24  Hello. I've kept the &quot;Backend dashboard legacy&quot; active, because it lets me customize the reports.  After I upgraded to Hikashop Business 4.0.0, the old dashboard throws this error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM #&#95;&#95;hikashop&#95;order AS a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product AS prod ON a.o' at line 1  I upgraded to 4.0.1 but the issue persists. Can you help, please?")*

Hi,

Could you open the reports one by one via the menu Orders&gt;Reports in order to identify which one is causing the issue.
Once you do, please disable it and try to recreate it.
If you do get an error please provide a screenshot of the settings of the report. If you don't then you can just publish it instead of the old one and delete the old one.

The following user(s) said Thank You: [panefs](/forum/user/35481-panefs "View panefs's Profile")

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

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

Less More

- Posts: 105
- Thank you received: 6
-
-
-

7 years 11 months ago [\#301520](#301520) by [panefs](/forum/user/35481-panefs "View panefs's Profile")  Replied by *[panefs](/forum/user/35481-panefs "View panefs's Profile")* on topic *["Backend dashboard legacy" doesn't work](/forum/36-reports-statistics/896423-backend-dashboard-legacy-doesnt-work#301520 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.1.24  Hello. I've kept the &quot;Backend dashboard legacy&quot; active, because it lets me customize the reports.  After I upgraded to Hikashop Business 4.0.0, the old dashboard throws this error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM #&#95;&#95;hikashop&#95;order AS a LEFT JOIN #&#95;&#95;hikashop&#95;order&#95;product AS prod ON a.o' at line 1  I upgraded to 4.0.1 but the issue persists. Can you help, please?")*

Thank you very much, that worked great.
I was able to isolate and delete the report that was giving the error.

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

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