Error after updating template to lastest version

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Thu Aug 16, 2012 10:49 pm
Hey guys,

I just updated my template to it's latest version and replaced all the files suggested with new ones. Upon refresh my site threw a fatal error.

Code: Select all
Fatal error: Call to undefined method GKTemplate::useCache() in /home/jegonza/public_html/templates/gk_twn2/layouts/blocks/head.php on line 55


I had to comment out the referring code on line 55 of my head.php file to get my site to come back.

Code: Select all
/*$this->useCache($this->getParam('css_compression', '0'), $this->getParam('css_cache', '0'));*/


I also noticed that my admin template manager was broken after the upgrade. I can provide admin & FTP access if needed. Thanks for the help in resolving these issues.

My site is www.inthenola.com, running Joomla 2.5.6 and template version TWN II 2.11
User avatar
Junior Boarder

GK User
Fri Aug 17, 2012 8:12 am
From which version did you update from.

See you around...
User avatar
Platinum Boarder

GK User
Fri Aug 17, 2012 2:46 pm
Hey Norman,

Thanks for the quick reply. I upgraded from version 2.8.
User avatar
Junior Boarder

GK User
Fri Aug 17, 2012 8:33 pm
Hey Norman,

I just Pm'ed you credentials. Thanks!
User avatar
Junior Boarder

GK User
Sat Aug 18, 2012 2:12 am
Hi there,

I cannot see version 2.8 from version list.

See below link.

https://www.gavick.com/index.php?filter ... Itemid=399

I have checked your template folder and there are lot of differences missing files and extra files and we cannot do complete upgrade for you due to lot of checking and your customizations. So you have to remember your original version before upgrade and do your upgrades one step at a time.
Example. if your version was 2.6j then do the updates from following links. You probably missed and update and that is why you had the error. Contact us again once you finish updating and then we can check for you.

v2.10
https://www.gavick.com/updates/template ... 6,806.html

v2.11
https://www.gavick.com/updates/template ... 6,843.html

See you around...
User avatar
Platinum Boarder

GK User
Thu Aug 23, 2012 12:19 am
Hey Norman,

Thanks for the help so far. I backtracked and was able to get my template manager working right with the exception of a few errors it seems. Some of the titles for the new features show up like the following.

Code: Select all
TPL_GK_LANG_CONFIG_DELETE

TPL_GK_LANG_CONFIG_DIRECTORY

TPL_GK_LANG_WEBMASTER_CONTACT_T
TPL_GK_LANG_WEBMASTER_CONTACT

TPL_GK_LANG_LAZY_LOAD
TPL_GK_LANG_LAZY_LOAD_OVERRIDE
   
TPL_GK_LANG_ADD_RULE_CLASS_ID

TPL_GK_LANG_MOBILE_SCRIPTS

TPL_GK_LANG_GOOGLE_PLUS_ANNOTATION   
TPL_GK_LANG_GOOGLE_PLUS_WIDTH

TPL_GK_LANG_GOOGLE_PLUS_SHARE   
TPL_GK_LANG_GOOGLE_PLUS_ANNOTATION   
TPL_GK_LANG_GOOGLE_PLUS_SHARE_SI

TPL_GK_LANG_PINTEREST_BTN   
TPL_GK_LANG_PINTEREST_BTN_STYLE

COM_TEMPLATES_COOKIE_SETTINGS_FIELDSET_LABEL


Also, enabling CSS Compression causes Jomsocial layout to break and after template update Jomsocial photos no longer show up (See here: http://www.inthenola.com/multimedia/pho ... hotoid=686) Profile avatar also does not allow for new upload now. Can you help me figure this out?!

Thanks for all the help.
User avatar
Junior Boarder

GK User
Thu Aug 23, 2012 6:13 am
For language errors, please update your templates language file "en-GB.tpl_gk_twn2.ini".

From template folder templates/gk_twn2/language into
languages/en-GB/

For your Jomsocial are you using latest available Jomsocial style which is in "gk_twn2_rest_files_J!17.zip"

See you around...
User avatar
Platinum Boarder

GK User
Thu Aug 23, 2012 11:13 pm
normanUK wrote:For language errors, please update your templates language file "en-GB.tpl_gk_twn2.ini".

From template folder templates/gk_twn2/language into
languages/en-GB/

For your Jomsocial are you using latest available Jomsocial style which is in "gk_twn2_rest_files_J!17.zip"

See you around...


The language file fixed my template manager issue. I was uploading the file to the templates language folder and not the root.

My Jomsocial layout is still broken when enabling CSS Compression and fine when not.

However, the avatar problem persists.
Screen Shot 2012-08-23 at 2.22.17 PM.png

The pop up will not let me select a new image.

I'm also having a Css issue with the photo thumbnails.
Screen Shot 2012-08-23 at 5.07.31 PM.png


I updated to the latest version of the Jomsocial template which is jomsocial_theme_2.6.1 but new Jomsocial version is 2.6.2. Also each theme folder has an extra text file included with code to add to the template manager but the 2.6.1 theme folder has no such file.

Thanks again for all the help.
User avatar
Junior Boarder

GK User
Fri Aug 24, 2012 1:16 am
Disable any css / js optimizers and any cache system so you can see file names in firebug.

Then add them to excluded list in template settings > advanced settings > Excluded JS/CSS.
Enter each line separated by comma.

Then enable cache system again which any files you enter above should be excluded from optimization but should work ok.

Regarding jomsocial you have a js error regarding photo section might be related with cache system so add / exclude jomsocial js and css files.

See you around...
User avatar
Platinum Boarder


cron