-
SiteGround Joomla 2.5 (?) template error message
I have a new version of Joomla 2.5 installed. Installed SiteGround template "Green Pattern", which says it is for 2.5 on the first page of the SiteGround website, but when you go to download, it says you are downloading a 1.7 version. The new 2.5 version loads but gives shows: Fatal error: Call to a member function getCfg() on a non-object in ... Please advise what to do as I'd like to use this template.
www.roseokeefe.com/2012
Thank you
Lonna
-
Have you made any modifications to the template? It seems that there is a general problem with your installation rather than the template itself. Please check for any empty lines of text after the closing ?> php tag?
In addition, I have made few tweaks on the template itself. Could you try downloading it anew from our site?
-
Will do and will let you know. Thank you for getting back to me so quickly.
-
Nope - it seems that we get this error message on the templates labeled for Joomla 2.5 from this site, but not from others. Now, when we go to download the template it says that we are downloading a Joomla 1.6 template. Is the link for this template correct on your website? Could it be downloading an older version? I'd really like to use the Green Pattern template if I could.
Thanks
Lonna Cosmano
-
If possible, could you give me access to your site(on PM please) so I can test the template myself? I have installed it on a fresh Joomla app and it works without any error so I believe it is something with your particular site. As to your other question, Joomla 2.5 and Joomla 1.6 are from the same major version branch and share the same templates so that's not the problem in our case for sure.
-
Hello I have the same problem.
There is the following error:
Fatal error: Call to a member function getCfg() on a non-object in /index.php on line 1
And it is the same with all the siteground templates.
I am using joomla 2.5.6
Any ideas?
Thank you
Chris
-
Hi Chris,
I think you're trying to use a Joomla 1.5 template on a Joomla 2.5.6 website
Could you check again the version of the templates you've downloaded?
-
This issue isn' linked to joomla version ...
Hi,
This isn't a pb linked to Joomla versions.
I succeed to use the template named "siteground-j16-35" on my web site tested locally with WampServer tool but when I move it to a OVH server, I face this error too.
The file configuration.php seems to be badly located by "siteground" template into index.php (i.e. $app->getCfg('sitename') function)
-
Hi,
This is standard code:
<h1><a href="<?php echo $this->baseurl ?>"><?php echo $app->getCfg('sitename'); ?></a></h1>
That's the way you display the site name on a Joomla 2.5 template. I am using the same code on all templates that work just fine on thousands of sites. Maybe there is some misconfiguration or badly edited core files in your particular instance? If you are our customer, please post a ticket in your Help Desk and mention that, we have discussed this in the forum. I am afraid that without looking at the particular case I cannot say what's the exact reason for this error message.
-
I have solved my problem by adding this line at the beginning of the file : /templates/siteground-j16-35/templates.php
define('JPATH_PLATFORM', 'https://.../libraries/joomla');
But when I try to open a second web page, I face the same issue.
Is there another solution if my web site isn't installed in the root location of OVH URL purchased (see below) ?
<OVH base URL>/monsite1/<joomla site> instead of <OVH base URL>/<joomla site> ?
-
The problem seems to be specific for the setup of your hosting provider. The best course of action would be to contact them and ask them for assistance.
-
I think you're trying to use a Joomla 1.5 template on a Joomla 2.5.6 website
what does hmu mean
Similar Threads
-
By RuudM in forum Free Joomla Templates
Replies: 13
Last Post: 01-01-2010, 06:02 AM
-
By cyn in forum Free Joomla Templates
Replies: 1
Last Post: 03-17-2009, 01:37 PM
-
By arnfinson in forum Hosting Related Questions
Replies: 1
Last Post: 10-07-2008, 02:24 AM
-
By marcreck in forum General Joomla Discussions
Replies: 2
Last Post: 01-10-2007, 10:47 PM
-
By rollyf in forum General Joomla Discussions
Replies: 1
Last Post: 11-11-2006, 09:33 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Copyright © 2012 SiteGround.com Inc