Hello,
There is a small bug when you are logging as a vendor from the frontend and you try to access account details page. The error is:
Fatal error: Class 'VmHTML' not found in \administrator\components\com_virtuemart\helpers\mediahandler.php on line 1111
I think that VmHTML does not exist anymore, so i just comment the line to resolve the issue.
updated: As milbo suggested add a line before line 1111 with
if(!class_exists('VmHTML')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'html.php');
Could please someone else confirm that the issue exist, so be fixed on next version.
Thanks
I'm having the same problem.
I'm getting the error when I edit my account details and hit the save button.
Kind regards
Hello Wapsel,
i just comment that line for the error to get fixed, but unfortunately i am not sure if the produces conflicts or break the core. I think not, but ...
No, this is a wrong fix. The correct fix is just to add
if(!class_exists('VmHTML')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'html.php');
The reason for this is that we do not support multivendor atm and what you see is a kind of multivendor feature (edit your store from the FE) and therefore we just did not tested it, but now it is added.
Thanks Milbo,
i test it and works, vmHTML is working.
Check the new version 2.0.9 https://dev.virtuemart.net/projects/virtuemart/files
That was fast Milbo! I didn't except the new version so quickly :)
It will be tested on the on my svn installation.
Thanks!