Page 2 of 2
Re: website down after clearing cache
Posted: Tue Jan 17, 2006 12:59 pm
by megabob3
Azrael wrote:
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
You must not do yourself!!!
From admin, GLOBAL CONFIGURATION there is CLEAR cache button.
Pust it.

Re: website down after clearing cache
Posted: Tue Jan 17, 2006 6:55 pm
by Azrae
@megabob3
thanks, a little late
@others
I love you

It works!
EDIT:
One of my own plugins doesn't work. It seems some things have changed.
the following lines:
Code: Select all
$objContent = ContentManager::LoadContentFromId($pageID);
$actualcontent = $objContent->GetPropertyValue('content_en');
produces the following error:
Code: Select all
Fatal error: Call to a member function on a non-object in /home/deneirn/public_html/cms/plugins/function.index.php on line 37
which is the second line above.
non-object?
$objContent is an object with the "content" in it, or am I wrong?
Help is appreciated

Re: website down after clearing cache
Posted: Wed Jan 18, 2006 6:12 pm
by Azrae
Does somebody know (so I can fix that error today)

Re: website down after clearing cache
Posted: Mon Jan 23, 2006 11:24 am
by Azrae
ah, come on,
I know you that

Re: website down after clearing cache
Posted: Sat May 13, 2006 12:00 pm
by mjs
Same problem with smarty...
PHP scripts and the system forks fine on other servers, but then I try to use it on my computer/server I got all contents from temporal tepmplates. If i delete these files... smarty do not create new, and I cant use my site. If I do changes in main template, smarty do not use it, it use only compiled template.
I tryed to use
Code: Select all
// clear out all cache files
$smarty->clear_all_cache();
But it doesnt helped.
There is the problem? Maybe PHP configuration or Apache?