VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: highstat on November 06, 2022, 17:48:12 PM

Title: Cannot open shopper field item
Post by: highstat on November 06, 2022, 17:48:12 PM
I have the same problem as this one:

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

I couldn't open a shipment that I made myself. The provided solution in the link above solved the problem

But I also have this problem when I make a new item in Shopper Field. I can make a new item (for the European VAT plugin)...but when I try to re-open it then I get an error (maximum execution time exceeded). I increased the execution time to 240, but that did not solve the problem.

It stops in line 1399 of libraries/src/Form/Form.php (line 1399). That is the foreach loop below.

// Check to make sure that there are no parent groups for each element.
                foreach ($current as $element) {
                    // Get any fields elements with the correct group name.
                    $children = $element->xpath('descendant::fields[@name="' . (string) $group[$i] . '"]');
                    // For the found fields elements validate that they are in the correct groups.
                    foreach ($children as $fields) {


Any suggestions?

I am using the latest Joomla and the latest Virtuemart version of PHP 8.1.


Alain



Title: Re: Cannot open shopper field item
Post by: GJC Web Design on November 06, 2022, 18:28:21 PM
1..  no such thing on here as "latest VM" !!!!  every VM has a version number

2.. current RC is https://dev.virtuemart.net/attachments/download/1339/com_virtuemart.4.0.7.10731_package_or_extract.zip

very likely fixed there
Title: Re: Cannot open shopper field item
Post by: highstat on November 06, 2022, 21:46:25 PM
Thanks...


I tried that..and I can now make new fields. However, I think that the problem is with the EU VAT check plugin. If I follow the instructions here:

https://extensions.virtuemart.net/all-tutorials/17-eu-vat-checker

Then when it tells you to create a shopperfield "eu_vat_id", the page is NOT automatically reloaded with the plugin parameters (the manual suggests it will). And if I save and then reopen it, then it keeps hanging (I guess it is looking for those parameters under steps 4,5,6 in the manual?). Hence, I think that the problem is that the page does not reload. Well...it does reload but it does not show the new parameters.

I purchased this plugin over the weekend, but the programmer's email is bouncing (milbo@gmx.de).

Alain


VirtueMart 4.0.7 10731
Joomla   "‎4.2.4" ‎
Title: Re: Cannot open shopper field item
Post by: GJC Web Design on November 07, 2022, 10:29:01 AM
Quoteprogrammer's email

That is Milbo the lead developer on here so will probably see this but you should really raise a ticket on https://extensions.virtuemart.net/ticket
Title: Re: Cannot open shopper field item
Post by: Milbo on November 08, 2022, 22:17:28 PM
Yepp, please write a ticket here https://extensions.virtuemart.net/ticket
I already can say that I did not test the plugin on PHP8 and j4 yet. and give me some time with it please, because I am in the release process.
Title: Re: Cannot open shopper field item
Post by: highstat on November 09, 2022, 14:18:35 PM
Hello..actually...I did start a ticket 2 days ago ....but no response so far (other than a ticket tracking ID).

And the email address on the invoice is bouncing.

Alain
Title: Re: Cannot open shopper field item
Post by: Milbo on November 10, 2022, 16:07:56 PM
I answered.