VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Cosmicglenn on February 08, 2016, 22:52:43 PM

Title: SOLVED after installing i get this error related to ARI quiz
Post by: Cosmicglenn on February 08, 2016, 22:52:43 PM
/public_html/plugins/system/ariquizreloader/ariquizreloader.php on line 28

IT only shows that error when in virtuemart area of the site. Does no occur in any other part of my site.


Can any one help?
Title: Re: after installing i get this error related to ARI quiz
Post by: GJC Web Design on February 08, 2016, 22:53:49 PM
and what is on line 28?
Title: Re: after installing i get this error related to ARI quiz
Post by: Cosmicglenn on February 08, 2016, 23:06:53 PM
      $mainframe = JFactory::getApplication();
      
Line28>>   $document =& JFactory::getDocument();
      $doctype = $document->getType();

      if ($mainframe->isAdmin() || $doctype !== 'html') return ;
Title: Re: after installing i get this error related to ARI quiz
Post by: GJC Web Design on February 08, 2016, 23:11:04 PM
if your on J3 ( u give no versions) the & shouldn't be thre but that will only give a strict stds. warning


$document = JFactory::getDocument();
Title: Re: after installing i get this error related to ARI quiz
Post by: Cosmicglenn on February 08, 2016, 23:18:08 PM
HI GJC Web Design
I have joomla 2.5

Title: Re: after installing i get this error related to ARI quiz
Post by: Cosmicglenn on February 08, 2016, 23:23:18 PM
HI GJC Web Design

That worked. Thank you . I spent hours tryng  to figure that out.