Fatal errors on sitename, metadata & content? (Site not functioning basically)

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
GregP
New Member
New Member
Posts: 7
Joined: Wed Dec 06, 2006 1:56 pm

Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by GregP »

Hi,

I've got 2 sites with the same error

http://www.gilldeneholidaycottage.com/
http://www.gillwoodbedandbreakfast.com/
string(106) "Smarty error: [in template:20 line 4]: [plugin] unknown tag - 'sitename' (core.load_plugins.php, line 123)" string(103) "Smarty error: [in template:20 line 4]: [plugin] unknown tag - 'title' (core.load_plugins.php, line 123)" string(106) "Smarty error: [in template:20 line 5]: [plugin] unknown tag - 'metadata' (core.load_plugins.php, line 123)" string(108) "Smarty error: [in template:20 line 6]: [plugin] unknown tag - 'stylesheet' (core.load_plugins.php, line 123)" string(106) "Smarty error: [in template:20 line 64]: [plugin] unknown tag - 'content' (core.load_plugins.php, line 123)"
Fatal error: Call to undefined function smarty_cms_function_sitename() in /home/lakeville/gillwoodbedandbreakfast.com/tmp/templates_c/%%7E^7E8^7E8F1701%%template%3A20.php on line 8
The same error applies to both sites, does anything obvious stand out as to what the problems are?

Happy Xmas and many thanks in advance,

Greg
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by Nullig »

Clear the site cache in Admin.

What led to the failure?
Did you upgrade anything? Add module(s)?

We need a little more info about your setup, if you want some help.

Nullig
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by calguy1000 »

re-upload the files and use the site validation functionality.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
GregP
New Member
New Member
Posts: 7
Joined: Wed Dec 06, 2006 1:56 pm

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by GregP »

Sorry about the lack of info. Basically, I've made no changes whatsoever to the sites, I haven't actually logged in for months on end, so the cmsms builds are very out of date (1.0.5 in fact!)

When you say re-upload the files, you mean the latest CMSMS build, right? Can you provide me a link with more info on this site validation functionality too, please? I'm not familiar with that..
GregP
New Member
New Member
Posts: 7
Joined: Wed Dec 06, 2006 1:56 pm

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by GregP »

I'm getting somewhere now I think. I've upgraded to the latest version, but it doesn't seem to like the metadata on http://www.gillwoodbedandbreakfast.com/ ?

I'm using this;


{sitename} - {title}
{metadata}


{literal}








_uacct = "UA-437283-10";
urchinTracker();

{/literal}


As you can see from the URL it displays the content, but not the stylesheet..
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by Rolf »

Hey GregP

Do you have attached the stylesheets to your template?
Layout -> Templates -> CSS (Attach Atylesheets)

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
GregP
New Member
New Member
Posts: 7
Joined: Wed Dec 06, 2006 1:56 pm

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by GregP »

Hi Rolf,

Good shout! The presentation is now fixed on gillwoodbedandbreakfast.com - but doesn't like my page title or content block:

{sitename} - {title}  &



{content}


I guess this is no longer the right code in newer versions of CMSMS?

I get this error:

string(118) "Smarty error: [in template:20 line 4]: syntax error: unrecognized tag 'sitename' (Smarty_Compiler.class.php, line 583)" string(115) "Smarty error: [in template:20 line 4]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 583)" string(118) "Smarty error: [in template:20 line 5]: syntax error: unrecognized tag 'metadata' (Smarty_Compiler.class.php, line 583)" string(118) "Smarty error: [in template:20 line 64]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 583)"
Last edited by GregP on Mon Dec 29, 2008 4:50 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by Rolf »

When you look into the tags area of the admin:
-> Extentions -> Tags
Are the {sitename} and {title} tags present?

®olf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
GregP
New Member
New Member
Posts: 7
Joined: Wed Dec 06, 2006 1:56 pm

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by GregP »

Both tags are present there, yes.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by Nullig »

It looks like the site is working, to me. Have you cleared your browser cache?

Nullig
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by Rolf »

When do you get this error message, Greg?
Like Nullig says the site looks fine, except there is no title in the webbrowser.

Mail us perhaps the full template...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Fatal errors on sitename, metadata & content? (Site not functioning basically)

Post by Rolf »

Is it not working in this website, Greg: http://www.gilldeneholidaycottage.com ?

Saw this tag in your template:

Code: Select all

<title>{global_content name='TitleText'} | {title}</title>
Don't think this is going to work...
please change it to:

Code: Select all

<title>{sitename} - {title}</title>
Let's see what is happening now...

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Fatal errors on sitename, metadata & content? (Site not functioning basicall

Post by Dr.CSS »

That means they are using {literal} around those tags so smarty will show them as the are in the template, {literal} {/literal} are only for non CMSMS/smarty calls like JS/CSS or whatever you want to include in a template that has {  } in it...
Post Reply

Return to “CMSMS Core”