Offline site not working

GK User
Wed Jun 22, 2011 6:13 am
Hello
Im working on pixellove and have turned the site offline. It does open offline.php but there are no fields for me to fill in so that I can login. rostavallen.com
thankfull for help
User avatar
Expert Boarder

GK User
Thu Jun 23, 2011 11:52 am
Please help with this one. don´t want to work online on this.
User avatar
Expert Boarder

GK User
Fri Jun 24, 2011 3:21 pm
I'm also getting a similar problem but I'm recieving the following error message.

Fatal error: Call to a member function getCfg() on a non-object in /homepages/39/d275037506/htdocs/templates/gk_pixellove/offline.php on line 68

below is line 68 code

Code: Select all
<h2><?php echo $app->getCfg('offline_message'); ?></h2>
User avatar
Fresh Boarder

teitbite
Fri Jun 24, 2011 4:12 pm
Hi

What PHP versions are Your servers running ?
User avatar
Moderator

GK User
Sat Jun 25, 2011 12:42 pm
I'm currently using PHP Version 5.2.17 and Database version 5.0.91-log my Joomla version is 1.6.3 stable
User avatar
Fresh Boarder

GK User
Sat Jun 25, 2011 1:30 pm
The same here, Joomla 1.6 / Template: Pixellove installed with Quickstart on PHP Version 5.2.17.

Fatal error: Call to a member function getCfg() on a non-object in ../htdocs/fl/templates/gk_pixellove/offline.php on line 68
User avatar
Senior Boarder

GK User
Sat Jun 25, 2011 5:15 pm
ManuelBerger wrote:The same here, Joomla 1.6 / Template: Pixellove installed with Quickstart on PHP Version 5.2.17.

Fatal error: Call to a member function getCfg() on a non-object in ../htdocs/fl/templates/gk_pixellove/offline.php on line 68


Hey I got a fix from Joomla site which works for me see below

Please open file: templates/gk_pixellove/offline.php and try add this code:

Code: Select all
$app = JFactory::getApplication();


after line:
Code: Select all
defined('_JEXEC') or die;
User avatar
Fresh Boarder

teitbite
Sun Jun 26, 2011 2:28 pm
Hi

Thanks for help.

Anyway I've fixed a common error with an PHP upgrade.
User avatar
Moderator

GK User
Mon Jun 27, 2011 6:25 am
that did it. thank you very much
User avatar
Expert Boarder

GK User
Tue Jul 05, 2011 7:17 am
thanks! It works now. But different style, different colors ??? Something is wrong still.
User avatar
Senior Boarder

GK User
Fri Jul 08, 2011 5:14 pm
I have the same problem, I will try the fix above but you guys should really fix this problem and realese an update for this template.
User avatar
Platinum Boarder

GK User
Thu Aug 18, 2011 3:47 pm
Pixellove for J!1.7(2.0) Beta2.0?? :laugh:
I have the same problem again! No offline page, it's all white!
User avatar
Fresh Boarder

GK User
Mon Aug 29, 2011 1:08 pm
I have the same problem here... I use Pixellove for J!1.7 (2.0) but i don't think that this is beta...

I tried $app = JFactory::getApplication(); but with no luck
User avatar
Fresh Boarder


cron