News:

Support the VirtueMart project and become a member

Main Menu

Product Filter Wheel keeps Spinning

Started by MAD King, September 22, 2019, 17:37:16 PM

Previous topic - Next topic

MAD King

When I click on "Products" at the backend, the website freezes and I am not able to click for about 10 seconds on anything and after that the Filter Wheel keeps spinning.

I am not sure if this is related to topic

http://forum.virtuemart.net/index.php?topic=143514.0

Joomla! 3.9.11
VirtueMart 3.6.0 10113
Joomla! 4.4.5
VirtueMart 4.2.12 11012

GJC Web Design

something is failing your product categories ajax call .. check the console/ browser debug to see the response to the

/index.php?option=com_virtuemart&view=product&type=getCategoriesTree&virtuemart_product_id=xxx&format=json&lang=xx
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

MAD King

It shows

Quote- Unexpected control character found{

and then the list of categories with values.
Joomla! 4.4.5
VirtueMart 4.2.12 11012

GJC Web Design

hmmm...   some strangely named cat?   with comma or quote for example?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

MAD King

No.  Just characters (ABC).
It started doing this after I recently updated VM.
Joomla! 4.4.5
VirtueMart 4.2.12 11012

MAD King

I disabled everything under Extension-Manage except these two

VirtueMart
VirtueMart Administrator Menu

and this error still pops up.
Joomla! 4.4.5
VirtueMart 4.2.12 11012

Studio 42

If you have PHP error display On, then if you have any error the json is not well formated.
Disable PHP debug(in joomla and in your server) and try if it work.

MAD King

Joomla! 4.4.5
VirtueMart 4.2.12 11012

Studio 42

Check in the javascript console and/ or json response

MAD King

Joomla! 4.4.5
VirtueMart 4.2.12 11012

Studio 42

On google chrome F12 and the network>XHR tab display all ajax response.
YOu have first to open the console and refresh the page after, to be sure to see the response
But - Unexpected control character found{ is strange for a json, because json use this for the response !
If you have anything outside the curly brackets, then you get en error and categories cannot be loaded.

MAD King

Thank you. The XHR tab does not show anything except that it loaded probably. How else can I find what causes this error?
Joomla! 4.4.5
VirtueMart 4.2.12 11012

MAD King

I tested it with the Beez3 - Default template with nothing in it and I get the same error when I click on the + on the VM - Search in Shop. So, it has to do something with VM since it occurred after the latest VM update.
Joomla! 4.4.5
VirtueMart 4.2.12 11012

Jörgen

Check your search module, do you have some custom text perhaps?
Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

MAD King

No custom text and I disabled already all modules except VirtueMart and VirtueMart Administrator Menu and this error still pops up. It must be something inside VM I guess. Max just messaged me that 3.6.2 has been released. I will test it with that.
Joomla! 4.4.5
VirtueMart 4.2.12 11012