Since updating v1.0.6 3 days ago, the component is now broken:
models/cron.php
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*) FROM #__virtuemart_orders vo2 JOIN #__virtuemart_order_user' at line 13
The new code is:
SELECT COUNT(vo2.*)
FROM #__virtuemart_orders vo2
JOIN #__virtuemart_order_userinfos vou2 ON vou2.virtuemart_order_id = vo2.virtuemart_order_id
WHERE vo2.virtuemart_order_id > vo.virtuemart_order_id
AND vo2.order_total>0
AND ( (vo.virtuemart_user_id>0 AND vo.virtuemart_user_id = vo2.virtuemart_user_id) OR vo2.virtuemart_user_id<0 )
AND (vou2.email!='' AND vou2.email = vu.email )
Compared to the previous version:
SELECT COUNT(*) FROM #__virtuemart_orders
WHERE virtuemart_order_id>vo.virtuemart_order_id
AND order_total>0
AND ( (vo.virtuemart_user_id>0 AND vo.virtuemart_user_id = virtuemart_user_id) OR virtuemart_user_id<0 )
Hello,
Can you replace
SELECT COUNT(vo2.*)
with
SELECT COUNT(vo2.virtuemart_order_id)
Let me know if this solves it.
- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.