Anybody know what this error means?

Sep '13 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon May 26, 2014 5:20 pm
Reply with quote
Report this post
"PHP message: PHP Notice: Undefined variable: GK_TEMPLATE_MODULE_STYLES in /home/webs/joomla/stjoe/templates/gk_cloudhost/component.php on line 22"
I am trying t debug an issue involving nginx rewrite issues and joomla and I get this message. Now I know there is an error but was wondering if anybody understood this message as it might help me de-bug the cause. I do not think it is a template issue, just looking for any information about the nature of my error.
User avatar
Junior Boarder

GK User
Tue May 27, 2014 7:43 am
Reply with quote
Report this post
Firsr of all it is not error but just notice info. Where do you get this message? You should configure your server according to Joomla requirements and disable display errors option in your PHP configuration.
User avatar
Platinum Boarder

GK User
Tue May 27, 2014 4:38 pm
Reply with quote
Report this post
Its in the web error log, I have the visible messages disabled as you pointed out. It's just there all the time. I have solved my original issue and this message is one of the last in the error log. I have a enterprise level client who insists on running security scans for any vulnerability but also wants a clean error log!
User avatar
Junior Boarder

GK User
Wed May 28, 2014 8:33 am
Reply with quote
Report this post
Please try to add this line in mentioned file :

Code: Select all
require_once('lib/framework/gk.const.php');


right below this one :

Code: Select all
require_once('lib/gk.framework.php');


Please let me know whether this resolved your issue.
User avatar
Platinum Boarder

GK User
Fri May 30, 2014 11:02 pm
Reply with quote
Report this post
It works, so I now have a clear error log. Thank you for this, I am tied at chasing these type of errors down and figured I could count on you guys. I think it has to be good exercise to fix and get zero errors in the logs on a new site, and must admit I had become lazy at ignoring what I did not have to fix . So it has been illuminating to go through this process and I have to admit the code is better for this process. I have a happy security guy in the IT department of the Enterprise customer, perhaps they will even pay me.
User avatar
Junior Boarder

GK User
Mon Jun 02, 2014 8:37 am
Reply with quote
Report this post
Ok, so I understand that this modification resolves your issue?
User avatar
Platinum Boarder


cron