Error Notice after installation

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
Tue Jun 12, 2012 6:03 pm
Reply with quote
Report this post
Hi to all in Gavick team.

After installation of this template I had a problem with next errors:

Notice: Undefined variable: GK_TEMPLATE_MODULE_STYLES in /var/www/vhosts/david/valeja.net/httpdocs/templates/gk_fashion/index.php on line 21 Warning: array_keys() expects parameter 1 to be array, null given in /var/www/vhosts/david/valeja.net/httpdocs/lib/gk.framework.php on line 204 Notice: Undefined property: GKTemplate::$layout in /var/www/vhosts/david/valeja.net/httpdocs/templates/gk_fashion/layouts/default.php on line 16 Fatal error: Call to a member function generateLayout() on a non-object in /var/www/vhosts/david/valeja.net/httpdocs/templates/gk_fashion/layouts/default.php on line 16

Before I have an Gamebox template installed and everything was working OK. Please can you give me some advice?

Regards

David
User avatar
Senior Boarder

GK User
Tue Jun 12, 2012 6:35 pm
Reply with quote
Report this post
To fix first notice please move line

Code: Select all
require_once(dirname(__file__) . DS . 'framework' . DS . 'gk.const.php');


from gk.framework.php to index.php in line 20. and please transform this line into:

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


This should fix also the second warning.

Please check if the other error appears then, because it is strange that it appears now.
User avatar
Administrator

GK User
Tue Jun 12, 2012 8:54 pm
Reply with quote
Report this post
Thank you for respond. After I did that changes this other error persist:

Notice: Undefined property: GKTemplate::$layout in /var/www/vhosts/david/valeja.net/httpdocs/templates/gk_fashion/layouts/default.php on line 16 Fatal error: Call to a member function generateLayout() on a non-object in /var/www/vhosts/david/valeja.net/httpdocs/templates/gk_fashion/layouts/default.php on line 16
User avatar
Senior Boarder

GK User
Wed Jun 13, 2012 12:01 pm
Reply with quote
Report this post
Please check your uploaded files, because this error shouldn't exists - it is just impossible, because we have tested the quickstart a lot of times. So the problem is with the files or your server configuration.
User avatar
Administrator


cron