website down after clearing cache

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.
Azrae

website down after clearing cache

Post by Azrae »

aaah  ???

I deleted all files in the tmp-dir (not the directories)
I did so because the website hasn't shown my edited content (just the old)
After doing so, I get the following error:

Code: Select all

Warning: Smarty error: unable to read resource: "db:33" in /home/deneirn/public_html/cms/lib/smarty/Smarty.class.php on line 1088
As you can see here: www.deneir.net/cms

I dont know what the problem is, but I hope somebody here does :)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: website down after clearing cache

Post by Ted »

Can you set debug to true in config.php?
Azrae

Re: website down after clearing cache

Post by Azrae »

hm

Code: Select all

SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = NULL
It seems that it hasn't got a template-id  ???
Strange...
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: website down after clearing cache

Post by Ted »

And the admin is working fine?
Azrae

Re: website down after clearing cache

Post by Azrae »

admin works perfectly
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm

Re: website down after clearing cache

Post by petert »

Azrael wrote: admin works perfectly
looks like the problem I had. My problems were fixed in the newest svn version.
See also: http://dev.cmsmadesimple.org/tracker/in ... 6&atid=101
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
Azrae

Re: website down after clearing cache

Post by Azrae »

Well,I'll give it a try.
Strange that this bug doesnt occure more often...
Azrae

Re: website down after clearing cache

Post by Azrae »

I got the latest trunk yesterday, downloaded it, uploaded it to the server and made the update.
Doesnt work :(

Code: Select all

Fatal error: Smarty error: [in template:6 line 17]: syntax error: unrecognized tag: li[i].onmouseover = function() { for(n=0;n/home/deneirn/public_html/cms/lib/smarty/Smarty.class.php on line 1095
Well, thats rather frustrating  :P
Why does that not work?  >:( :(
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: website down after clearing cache

Post by Ted »

Do you have javascript on the page that isn't escaped with {literal}{/literal}?
Azrae

Re: website down after clearing cache

Post by Azrae »

Do you mean js written on my own?
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm

Re: website down after clearing cache

Post by petert »

Azrael wrote: Do you mean js written on my own?
any javascript that isn't escaped with {literal} will make smarty treat it as a tag. This is because smarty treats the { char as start of smarty specific tags.
Thus any { that's in your content/pages that isn't escaped will make smarty crap out.
So, are there any ['s or ]'s that might cause smart to act up?

See also:
Embedding javascript
Last edited by petert on Tue Jan 17, 2006 8:55 am, edited 1 time in total.
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
Azrae

Re: website down after clearing cache

Post by Azrae »

Well, that may be possible, I have to watch.
in earlier versions of cmsms that wasn't a problem  :-\
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm

Re: website down after clearing cache

Post by petert »

Azrael wrote: in earlier versions of cmsms that wasn't a problem  :-\
It's a Smarty 'problem', so it always has been there.
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
Azrae

Re: website down after clearing cache

Post by Azrae »

But strange that it doesnt occur earlier to me, because I haven't changed my site for a while...
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm

Re: website down after clearing cache

Post by petert »

Azrael wrote: But strange that it doesnt occur earlier to me, because I haven't changed my site for a while...
then maybe it has got nothing to do with the javascript problem I described earlier.
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
Locked

Return to “CMSMS Core”