Updated to Joomla 5 and get this error when trying to edit a product.
This is really urgent!
QuoteAn error has occurred.
500 Joomla\CMS\HTML\HTMLHelper Select not found.
VirtueMart 4.2.4 10922
Joomla 5.0
you can temporarily remove it
in /libraries/src/HTML/HTMLHelper.php
in line 158 delete this entry:
// if (!$path) {
// throw new \InvalidArgumentException(sprintf('%s %s not found.', $prefix, $file), 500);
// }
/libraries/vendor/joomla/filesystem/src/Path.php
in line 193
// if (!\is_string($path)) {
// throw new \InvalidArgumentException('You must specify a non-empty path to clean');
// }
Thanks. I restored it back to Joomla 4.4.0 and will wait a few months before updating to J5.
I'm currently testing Joomla 5 - it's not a disaster. I think Milbo will quickly update this VM to the new Joomla.
Ro CSVI for Joomla 5 - will be ready in a week. Generally, all components work without any problems.
The missing languages (for joomla 5) can be easily installed from Joomla 4 - I don't see any difference ;-)
Quote from: hazael on October 25, 2023, 00:08:52 AM
I'm currently testing Joomla 5 - it's not a disaster. I think Milbo will quickly update this VM to the new Joomla.
Ro CSVI for Joomla 5 - will be ready in a week. Generally, all components work without any problems.
The missing languages (for joomla 5) can be easily installed from Joomla 4 - I don't see any difference ;-)
Yeah, I will wait.
The next release will not be tested against j5 by the release team. But after that.
Quote from: Milbo on October 25, 2023, 22:27:51 PM
The next release will not be tested against j5 by the release team. But after that.
Yeah, I will wait, as long as you can fix the related products not showing.
Btw all Select. must be select. So just lowercase
Thanks a lot for the quick fix. Easy piece of cake :-)
It is help me, tnx
Quote from: hazael on October 24, 2023, 23:48:47 PM
you can temporarily remove it
in /libraries/src/HTML/HTMLHelper.php
in line 158 delete this entry:
// if (!$path) {
// throw new \InvalidArgumentException(sprintf('%s %s not found.', $prefix, $file), 500);
// }
/libraries/vendor/joomla/filesystem/src/Path.php
in line 193
// if (!\is_string($path)) {
// throw new \InvalidArgumentException('You must specify a non-empty path to clean');
// }
I was thinking the same!
But wasn't smart enough to get that Path file.
Thank you!
Never hack Joomla! core files.
You will be left with surprise if you see your site down, after an update.
It's been quite a while that there has not been the update to address "HTMLHelper.php"
Is there anywhere to download an update until there is an official release?
I've confirmed that the Quantity related price calculation from iStraxx IS the culprit!
When I disable that plugin everything works perfectly.
Of course with another development it could be a different plugin. But disabling plugins will tell you which one is causing the 500 error about the helper file.
It's been nearly 3 weeks with no response from my ticket about the issue and the site is completely on hold as a direct result.
With thousands of child products there is no way I can continue to develop the site until I know I do not need to return to each product to update something - or change to another method that will set me back months.
When is the release for Quantity related price calculation planned? I'm a paying member.
On the VirtueMart (VM) webpage is states: "VirtueMart 4.0.x is the latest stable version available. It is compatible with Joomla! 3.10.x and Joomla! 4.2.x. and Joomla! 5.0.x.". (http://virtuemart.net/download)
THUS THE CURRENT VM 4.2.4 SHOULD WORK WITH JOOMLA 5 - And yet it does not work with Joomla 5?
So this error "500 Joomla\CMS\HTML\HTMLHelper Select not found" must have been there for a long time apparently?
I am told that if you buy VM 4.2.6 is should work. But how can that be compared to the above quote?
Can it really be that one needs to buy VM for it to work on the active version of Joomla (thus making it payware)?
As Milbo wrote on November
QuoteBtw all Select. must be select. So just lowercase
So for VM 4.2.4 to work with Joomla 5.1 you have to replace using a text editor like Notepad++ 'Select.genericlist' with 'select.genericlist' in all files inside the virtuemart component files and vmadmin files.
No joomla core files need to be changed.
Yes, but you can just download the last vm installer per membership, or just use the svn and download the new template from there.
The svn folder/file structure is the same as on the installation. https://dev.virtuemart.net/projects/virtuemart/repository/virtuemart/show/trunk/virtuemart/administrator/templates/vmadmin
[Thomas Kampp link=msg=542389 date=1713778801]
QuoteI am told that if you buy VM 4.2.6 is should work. But how can that be compared to the above quote?
Can it really be that one needs to buy VM for it to work on the active version of Joomla (thus making it payware)?
It is clearly not payware. You pay for an early release package version to simplify the update of your VM code to the latest tested/stable codebase.
You can always choose not to help the project and subscribe, however the code is not hidden from you, it is all avaliable from the dev site for you to manage and maintain your own updates.
Sometimes errors are found after release - when they are fixed you can get the code from the dev site.
https://dev.virtuemart.net/projects/virtuemart/repository
Quote from: T.A. Garrison, LLC on March 20, 2024, 01:58:56 AMI've confirmed that the Quantity related price calculation from iStraxx IS the culprit!
Just for the chronic, that got fixed just a week later.
Thank you, Milbo. I did install the update last week and "that" part seems to be working fine. It's the error in the shopping cart (due to the type of captcha) that is a thorn in my side.
I decided I'd just put a message in the cart to log in before doing anything, or the user will get errors.
The problem with that is, no guest checkout.