league news template doens't work at all

Premium sports magazine Joomla template with clean, easy to customize and unique design.
GK User
Wed Sep 12, 2012 9:50 pm
I just downloaded and installed the template in a joomla website in local and i get a lot of error like this:

Notice: Array to string conversion in /Applications/MAMP/htdocs/cittaperta25/components/com_banners/models/banners.php on line 45

Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cittaperta25/templates/gk_league_news/lib/framework/helper.layout.php on line 210

Strict Standards: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cittaperta25/includes/application.php on line 539

i thought it could be because the website is a joomla 2.5 update from a joomla 1.5 so i try to install the template in an existing website made in joomla 2.5. The error may be different but i have a lot.

So i tried to install the quickstart but it didn't go better...all that i see is the background and millions of error like this:

Strict Standards: Only variables should be assigned by reference in /Applications/MAMP/htdocs/leaguenews/components/com_k2/router.php on line 22

Strict Standards: Non-static method K2HelperRoute::getItemRoute() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/leaguenews/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 241

Strict Standards: Non-static method K2HelperRoute::_findItem() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/leaguenews/components/com_k2/helpers/route.php on line 24

Strict Standards: Only variables should be assigned by reference in /Applications/MAMP/htdocs/leaguenews/components/com_k2/helpers/route.php on line 115

So i realized it's not me...the template and the quickstart package has some problem, am i wrong?
User avatar
Junior Boarder

GK User
Thu Sep 13, 2012 12:40 am
hi,

The problem is connected with fact that you have enabled E_STRICT flag in your PHP error reporting - do you have an access to your php.ini file?
User avatar
Administrator

GK User
Thu Sep 13, 2012 8:26 am
Thank you for the quick reply...i'm not sure i understand what you mean but yes, as i'm working in local i guess i have access to php.ini... i'll have a look.

Thanks again!
User avatar
Junior Boarder

GK User
Thu Sep 13, 2012 10:16 am
You can always add in the index.php file of the joomla this code at the beginning:

ini_set('error_reporting', E_ALL & ~E_STRICT);

or set in the php.ini file:

error_reporting=E_ALL & ~E_STRICT
User avatar
Administrator


cron