weird errors started popping up

General project discussion. NOT for help questions.
Post Reply
tkalfaoglu
New Member
New Member
Posts: 2
Joined: Wed Mar 12, 2008 10:44 am

weird errors started popping up

Post by tkalfaoglu »

I had the CMS Made simple set up properly,  and it was working great, but today when I checked it, it's displaying:

Warning: fread() [function.fread]: Length parameter must be greater than 0 in /var/www/vhosts/....edited....com/httpdocs/iki/lib/classes/class.contentoperations.inc.php on line 508

at its main page, and when I click on a page that we had added, I get:

Warning: Smarty::include() [function.include]: Failed opening '/var/www/vhosts/...edited....com/httpdocs/iki/tmp/templates_c/93b5abb81d3495957e1cb802915ebbd8^%%C2^C24^C24843E6%%module_file_tpl%3AMenuManager%3Bsimple_navigation.tpl.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php:/var/www/vhost/..edited...com/httpdocs/iki/cms:/var/www/vhost/..edited...com/httpdocs/iki/cms:/var/www/vhost/..edited...com/httpdocs/iki/cms/tmp:/var/www/vhost/..edited..com/httpdocs/iki/tmp/templates_c') in /var/www/vhosts/...edited.com/httpdocs/iki/lib/smarty/Smarty.class.php on line 1265

Can anyone help with these error messages?
Btw, I checked on the disk, and that include file, the one with nasty characters in it, is indeed missing from the disk.

Many thanks!
-tk
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: weird errors started popping up

Post by cubix »

have you changed anything? has your host changed anything?

try clearing the cache
tkalfaoglu
New Member
New Member
Posts: 2
Joined: Wed Mar 12, 2008 10:44 am

Re: weird errors started popping up

Post by tkalfaoglu »

Thanks! Indeed clearing the cache did the trick.. Um, should I be clearing this cache daily?
Or, why does it need to be cleared at all I wonder..

Many thanks!
-tk
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: weird errors started popping up

Post by cubix »

i only clear the cache when something isnt working or looks like this..
Warning: Smarty::include() [function.include]: Failed opening '/var/www/vhosts/...edited....com/httpdocs/iki/tmp/templates_c/93b5abb81d3495957e1cb802915ebbd8^%%C2^C24^C24843E6%%module_file_tpl%3AMenuManager%3Bsimple_navigation.tpl.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php:/var/www/vhost/..edited...com/httpdocs/iki/cms:/var/www/vhost/..edited...com/httpdocs/iki/cms:/var/www/vhost/..edited...com/httpdocs/iki/cms/tmp:/var/www/vhost/..edited..com/httpdocs/iki/tmp/templates_c') in /var/www/vhosts/...edited.com/httpdocs/iki/lib/smarty/Smarty.class.php on line 1265
:)
Post Reply

Return to “General Discussion”