VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: proxima on April 20, 2015, 21:03:35 PM

Title: after update 3.0.7.4 Fatal error: Class 'VmHtml' - vmjsapi.php
Post by: proxima on April 20, 2015, 21:03:35 PM
Hi,
I just updated to version 3.0.7.4 virtuemart component and does not enter more in the site . Enter only the admin side and not the side site.
Fatal error: Class 'VmHtml' not found in /web/htdocs/www.mysite.it/home/administrator/components/com_virtuemart/helpers/vmjsapi.php on line 679

the line is this: $id = VmHtml::ensureUniqueId($id);
Thank you. good evening
:'(

Joomla 3.4.1 - Virtuemart 3.0.7.4
Title: Re: after update 3.0.7.4 Fatal error: Class 'VmHtml' - vmjsapi.php
Post by: Milbo on April 20, 2015, 21:32:32 PM
Also with this one? http://dev.virtuemart.net/attachments/download/941/com_virtuemart.3.0.8.zip

in case you have still the problem ( I wonder how), just add this line before

if(!class_exists('VmHtml')) require(VMPATH_ADMIN.DS.'helpers'.DS.'html.php');
Title: Re: after update 3.0.7.4 Fatal error: Class 'VmHtml' - vmjsapi.php
Post by: proxima on April 20, 2015, 21:58:12 PM
Hi,
So even with the update to version 3.0.8 resolves the problem .... I added the line, and now everything is ok ... although I do not understand why they never worked aio and tcpdf . Thank you for your help.  ;D
Title: Re: after update 3.0.7.4 Fatal error: Class 'VmHtml' - vmjsapi.php
Post by: Milbo on April 21, 2015, 11:26:34 AM
? The aio and pdf works.
the BE views just show that it is installed, and yeh I have on clue ,why it works for some and not for anyone.
Title: Re: after update 3.0.7.4 Fatal error: Class 'VmHtml' - vmjsapi.php
Post by: Milbo on April 21, 2015, 15:48:33 PM
btw, which php version do you use?
Title: Re: after update 3.0.7.4 Fatal error: Class 'VmHtml' - vmjsapi.php
Post by: jenkinhill on April 21, 2015, 16:01:45 PM
Says in sig:  Currently using VM3.0.8 on Joomla 3.4.1  - PHP 5.3.29