News:

Looking for documentation? Take a look on our wiki

Main Menu

Virtuemart 4 - Unable to add new producet

Started by steveml, July 11, 2023, 15:14:10 PM

Previous topic - Next topic

steveml

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.

Studio 42

Any PHP error displayed break the ajax loading.
Disable PHP error display and Joomla/virtuemart debug and see if it work

AlfredJK

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.

GJC Web Design

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
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

ViPeS

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
VM 4.2.6 10972, Joomla 4.4.4, PHP 8.1.13

AlfredJK

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! 

GJC Web Design

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
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

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

AlfredJK

@jenkinhill Thank you for this test. Do you have any idea in which corner I should look for the solution?

jenkinhill

@AlfredJK I have no idea, except try what GJC recommended
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

AlfredJK

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.

Jörgen

Cache does not play well with most cart, VM no exception.
urn off any cache component or plugins.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

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?
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

AlfredJK

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????

AlfredJK

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?