Problem with template

GK User
Mon Feb 13, 2012 1:28 pm
Hello,

I have a small problem with this template that I hope someone can help me solve.

On our site http://friendzstop.com/ we are getting the following error message

Notice: Undefined variable: gkComponentWrap in /home/friendzs/public_html/templates/gk_game_magazine/layouts/blocks/main.php on line 79
style=width:>

On this page http://friendzstop.com/index.php/en/community we are getting the following error message

Notice: Undefined variable: gkContent in /home/friendzs/public_html/templates/gk_game_magazine/layouts/blocks/main.php on line 58
style=width:>
Notice: Undefined variable: gkComponentWrap in /home/friendzs/public_html/templates/gk_game_magazine/layouts/blocks/main.php on line 79
style=width:>

I have no idea what is causing this and how to solve it.

Anders
User avatar
Senior Boarder

Konrad M
Mon Feb 13, 2012 3:03 pm
Hi
Check in your php settings if you have display_errors as off or ask you hosting company to do this if you haven't access to this settings.
User avatar

GK User
Mon Feb 13, 2012 4:38 pm
Hi

Or you can open this page:

../gk_game_magazine_J!25/index.php

and replace this line:
Code: Select all
//ini_set('display_errors','On');


with
Code: Select all
ini_set('display_errors','Off');


Cheers ;)
User avatar
Platinum Boarder

GK User
Mon Feb 13, 2012 9:52 pm
Seichinha wrote:Hi

Or you can open this page:

../gk_game_magazine_J!25/index.php

and replace this line:
Code: Select all
//ini_set('display_errors','On');


with
Code: Select all
ini_set('display_errors','Off');


Cheers ;)


Thanks Seichinha, that solved my problem :D
User avatar
Senior Boarder

GK User
Thu May 24, 2012 5:47 pm
Seichinha wrote:Hi

Or you can open this page:

../gk_game_magazine_J!25/index.php

and replace this line:
Code: Select all
//ini_set('display_errors','On');


with
Code: Select all
ini_set('display_errors','Off');


Cheers ;)


That only hides the error, what about the error itself?? How to fix it, I am having the same problem, I turned it on myself because after login into the admin page, it comes back blank, with nothing but admin top header that says joomla, I am on game template
User avatar
Fresh Boarder

Konrad M
Fri May 25, 2012 10:23 am
There are notices not errors.
User avatar


cron