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.
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm

Re: website down after clearing cache

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

;)
Azrae

Re: website down after clearing cache

Post by Azrae »

@megabob3
thanks,  a little late ;)  ;D

@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 :)
Last edited by Azrae on Tue Jan 17, 2006 7:12 pm, edited 1 time in total.
Azrae

Re: website down after clearing cache

Post by Azrae »

Does somebody know (so I can fix that error today) ;)
Azrae

Re: website down after clearing cache

Post by Azrae »

ah, come on,
I know you that ;) :D
mjs

Re: website down after clearing cache

Post 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?
Last edited by mjs on Sat May 13, 2006 12:03 pm, edited 1 time in total.
Locked

Return to “CMSMS Core”