PHP-erros after Party Freak update

GK User
Tue Nov 30, 2010 12:55 pm
After updating my Party Freak template to the latest I am getting some log-errors saying there are PHP-erros.

These 2 message I get in my error-log:
Code: Select all
[25-Nov-2010 17:46:14] PHP Fatal error:  Call to a member function addStylesheet()
on a non-object in
/Volumes/Data/Domeinen/madonna.nl/infomadonnanl/Sites/site/templates/gk_party_freak/layouts/blocks/head.php
on line 71
[25-Nov-2010 17:46:14] PHP Fatal error:  Class 'JLoader' not found in
/Volumes/Data/Domeinen/madonna.nl/infomadonnanl/Sites/site/libraries/loader.php on
line 161


Does someone what it is? And how to repair these errors? Thanks!
User avatar
Gold Boarder

teitbite
Thu Dec 02, 2010 11:51 pm
Hi

The first problem can be fixed by replacing the code which is causing the problem with simple html adding of the css file:

Example
Code: Select all
<link href="/templates/gk_pulse/css/template.css" rel="stylesheet" media="all"  type="text/css" />


but the second one is something from the extension or joomla code and it's probably because of some lack of the file with this class. Please try to disable this if it's an extension and if this will break the page please see maby joomla forum.
User avatar
Moderator

GK User
Fri Dec 03, 2010 9:48 am
Thanks for looking it up!

When I went into the files mentioned in my errors I found out those lines had something from override.css in them.. I did activate override.css.. so I changed it back and de-activated the use of override.css... and then the errors were gone...

So no override.css for me I think...
User avatar
Gold Boarder


cron