VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: suvel on April 07, 2015, 10:30:58 AM

Title: [solved] Testing VM 3.0.7: SQL error cart
Post by: suvel on April 07, 2015, 10:30:58 AM
Hallo all,

Joomla: 3.4.1
MySQL: 5.1.73-1
PHP: 5.3.28-1

When trying to access cart at frontend get following error:

Error: 1064 - 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 'AND ju.id!= "861" ORDER BY `name` LIMIT 0,10000' at line 1 SQL=SELECT ju.`id`,`name`,`username` FROM `xxx_users` as ju AND ju.id!= "861" ORDER BY `name` LIMIT 0,10000

--- edit ---
When dis-Allow Administrators to change the current Shopper problem not present. Seems typo at users model?

Please advice
Ronald
Title: Re: Testing VM 3.0.7: SQL error cart
Post by: Daniel Sjöstrand on April 07, 2015, 12:48:39 PM
Have the same
Title: Re: Testing VM 3.0.7: SQL error cart
Post by: Milbo on April 07, 2015, 17:59:55 PM
Please try this user model /administrator/components/com_virtuemart/models

edit: use directly the updated version http://dev.virtuemart.net/attachments/download/939/com_virtuemart.3.0.7.2_extract_first.zip
Title: Re: Testing VM 3.0.7: SQL error cart
Post by: suvel on April 07, 2015, 20:46:12 PM
Provided fix model user.php seems to solve the problem.

Regards,
Ronald
Title: Re: Testing VM 3.0.7: SQL error cart
Post by: suvel on April 07, 2015, 20:54:28 PM
Problem not solved completely.

After selecting other customer and save warning: Key folder in safepath unaccessible
Now is choosing another customer not possible anymore.


Title: Re: Testing VM 3.0.7: SQL error cart
Post by: Milbo on April 07, 2015, 21:53:41 PM
That is another problem
http://forum.virtuemart.net/index.php?topic=129246.msg444769#msg444769
Title: Re: Testing VM 3.0.7: SQL error cart
Post by: PaulButler on April 10, 2015, 14:15:58 PM
All now fixed! Thanks everyone
Title: Re: Testing VM 3.0.7: SQL error cart
Post by: revaboogy on April 18, 2015, 01:22:21 AM
Hi Guys, Cart fixed but now Error: 1146 when try to confirm order??? The same happens when trying to view and order. Any ideas???? Please help

In admin get this when trying to veiw an order:

1146 Table 'keyspins_vm.lr59t_virtuemart_payment_plg_standard' doesn't exist SQL=SELECT * FROM `lr59t_virtuemart_payment_plg_standard` WHERE `virtuemart_order_id` = 209

Fixed it guys.... was missing the images/stories/virtumart/payment folder for some reason
Title: Re: Testing VM 3.0.7: SQL error cart
Post by: PabloArias on April 27, 2015, 04:56:28 AM
Hi all:

I'm using Joomla 3.4.1 and Virtuemart 3.0.8. Upgraded from Joomla 2.5.

I'm still having the 1064 MySQL error.

Any solution?

Thank you and best regards