Joomla 4.3.2
Virtuemart 4.0.12
PHP 8.1.20
I currently have an issue - when attempting to add a new product I'm unable to do so because of a spinning icon in the Product Category field (please see attachment). The icon continually spins and never resolves?? I don't have any unusual third-party plugins installed. The website was recently rebuilt and uploaded to a new hosting provider, and it is only under live testing that this problem has recently been identified. Any help would be greatly appreciated.
Any PHP error displayed break the ajax loading.
Disable PHP error display and Joomla/virtuemart debug and see if it work
i have the same problem.
Joomla: 3.10.11
Virtumart: 4.0.12 10777
PHP: 8.2.8
When I change a product it does show the label of the category selection list. However, the selection list is not shown. The canonical category list is shown nicely.
same reply as S 42 .. errors will break the ajax .. I really doubt even the latest VM4 will work without some bugs on php8.2
Why push it .. be patient and just use 8.0 or 8.1
and Virtumart: 4.0.12 10777 is so old and was never fully stable .. the current latest is VirtueMart 4.0.23 10895
Quote from: GJC Web Design on July 14, 2023, 10:19:03 AM
the current latest is VirtueMart 4.0.23 10895
Can you tell when this update for "VirtueMart Supporter Membership Bronze" will be distributed?
I'm still prompted for 4.0.22.10864
PHP 8.0 and also PHP 8.1 bring no improvement. The version 4.0.12 10777 is half a year old. So not so very old yet!
QuoteSo not so very old yet!
has nothing to do with old! It is whether bugs have been fixed!!!
And u haven't followed any of the advice .. check the console and response from ajax calls and see if the json returns are corrupted by error messages etc...
If so find and fix/report the messages/errors
I just set up a test site using VirtueMart4.0.12_Joomla_3.10.11-Stable-Full_Package with sample data.
Joomla: 3.10.11
Virtumart: 4.0.12 10777
PHP: 8.2.5
I see no issues with the category selection list when creating or editing products. This is despite J3.10 and VM4.0.12 having reported problems with PHP8.2
@jenkinhill Thank you for this test. Do you have any idea in which corner I should look for the solution?
@AlfredJK I have no idea, except try what GJC recommended
BTW: In the Product Category Form, the selection list for the parent category is also missing.
@GJC: Sorry - Without and with PHP debug and joomla debug it doesn't work either. With PHP debug I only see these comments (see attachment)
I have also been debugging via browser (inspection screen) for some time. However, I can develop software, but am not a php / web programmer. My knowledge in this area is unfortunately limited.
Cache does not play well with most cart, VM no exception.
urn off any cache component or plugins.
Jörgen @ Kreativ Fotografi
I assume u have switched off the add to carts in the cat view now?
https://www.test.pedicare-online.nl/online-winkel/kleding/handschoenen/
but what is the ajax call and response in the console when it is enabled?
Maybe a silly question, but where can I turn this on? Have looked all over the backend. Also in the forum, but there I find you have to rule it in the template override????
and further searching - the selection list is compiled but after rendering the page, the display style none is added.
Does anyone know where and why the style display option none is applied?
sorry - it is not the style definition. This is also in my production version of VM (3.8.8 10472) - I am missing the line where the already linked categories to the product. So maybe that's where the problem will be?
Temporarily disable all third-party plugins and extensions in Joomla, including any Virtuemart extensions, to see if there is a conflict with any of them causing the spinning icon issue.
Temporarily disable all third-party plugins and extensions in Joomla, including any Virtuemart extensions, to see if there is a conflict with any of them causing the spinning icon issue.
the "chzn" JS select system that creates the searchable selects ALWAYS has a hidden ( display:none) select and then recreates the its own version of a searchable select in html under it .. ( look further in the html )
but without access to your install it is very hard to suggest any fixes .. if the throbber won't clear but the html is there just write a css rule to not display the throbber
I reinstalled VM 4.0.12 and that also eliminated the problem. Probably something got corrupted during the 1st installation. Am glad it is working again and thanks for thinking along in the solution!