Class 'JFile' not found in offline.php

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Thu Dec 16, 2010 6:40 pm
If i take the site offline, this message shows up:

Fatal error: Class 'JFile' not found in /home/daapsenq/public_html/daap/templates/gk_yourshop/offline.php on line 22

If i comment out line 22 and 23 in offline.php it works.

the two lines now look like this:

//$tpl_params = new JParameter(JFile::read(dirname(__FILE__).DS.'params.ini'));
//$template_color = $tpl_params->get('template_color', 1);

Somebody else experiencing this?

Latest version of joomla and virtuemart..
User avatar
Fresh Boarder

cron