Page 1 of 1
Problems with templates_c and smarty
Posted: Wed Feb 08, 2012 4:27 pm
by boov
Hello all,
I am encountering problems with my cache. All of a sudden my cache folder is emptied somewhere along the way when visiting several pages of the site (frontend), while CMSMS expects several files to be there, so an error pops up. I have checked the rights of the folder and made sure that the hosting account has sufficient disk space. None of it helps.
I am guessing that it has something to do with some config value of PHP? However I have no clue where to look.
Can anyone help me out? Might it be solved with updating the smarty lib? Does anyone why CMSMS uses such an 'old' version of the lib?
Hope one of you can help me out?
Thanks!
Lodewijk
Re: Problems with templates_c and smarty
Posted: Wed Feb 08, 2012 4:36 pm
by calguy1000
Please follow forum rules when posting. Including the system information.
Re: Problems with templates_c and smarty
Posted: Fri Feb 10, 2012 7:39 am
by boov
Caught me there, you're totally right. Sorry!
Here's System Info:
----------------------------------------------
Cms Version:
1.10.3
Installed Modules:
CMSMailer:
2.0.2
CMSPrinting:
1.0
MenuManager:
1.7.7
ModuleManager:
1.5.3
News:
2.12.3
Search:
1.7
AdvancedContent:
0.9.2
CGExtensions:
1.27.4
FormBuilder:
0.7.1
TinyMCE:
2.9.5
GBFilePicker:
1.3.1
CGSmartImage:
1.6.1
SiteMapMadeSimple:
1.2.5
CGSimpleSmarty:
1.4.10
ToolBox:
1.0.1
Config Information:
php_memory_limit:
process_whole_template:
false
output_compression:
false
max_upload_size:
120000000
default_upload_permission:
777
url_rewriting:
mod_rewrite
page_extension:
query_var:
page
image_manipulation_prog:
GD
auto_alias_content:
true
locale:
nl_NL
default_encoding:
utf-8
admin_encoding:
utf-8
set_names:
true
Php Information:
phpversion:
5.3.6-8byte1
md5_function:
Aan (Waar)
gd_version:
2
tempnam_function:
Aan (Waar)
magic_quotes_runtime:
Uit (Onwaar)
E_STRICT:
0
E_DEPRECATED:
8192
memory_limit:
120M
max_execution_time:
99
output_buffering:
Aan
safe_mode:
Uit (Onwaar)
file_uploads:
Aan (Waar)
post_max_size:
120M
upload_max_filesize:
120M
session_save_path:
/var/lib/php5 (1777)
session_use_cookies:
Aan (Waar)
xml_function:
Aan (Waar)
Server Information:
Server Api:
cgi-fcgi
Server Db Type:
MySQL (mysql)
Server Db Version:
5.1.60
----------------------------------------------
It's about
www.nedap-retail.nl, the error occurs not all the time. It might be hard to detect it. Off course I hope that you recognise the problem with my description?
If you still miss out any information, please inform me and I'll have another look at it!
Thanks so much for your help!!
Re: Problems with templates_c and smarty
Posted: Fri Feb 10, 2012 7:40 am
by boov
Here's the error by the way!
Warning: include(/home/users/nedgsftp/nedap-retail.nl/tmp/templates_c/%%52^52E^52E7C88B%%tpl_top%3A22.php) [function.include]: failed to open stream: Bestand of map bestaat niet in /home/users/nedgsftp/nedap-retail.nl/lib/smarty/Smarty.class.php on line 1263
Warning: include() [function.include]: Failed opening '/home/users/nedgsftp/nedap-retail.nl/tmp/templates_c/%%52^52E^52E7C88B%%tpl_top%3A22.php' for inclusion (include_path='.:/usr/share/php') in /home/users/nedgsftp/nedap-retail.nl/lib/smarty/Smarty.class.php on line 1263
16012012
Warning: filemtime() [function.filemtime]: stat failed for /home/users/nedgsftp/nedap-retail.nl/tmp/templates_c/%%BB^BB8^BB846DBE%%tpl_top%3A24.php in /home/users/nedgsftp/nedap-retail.nl/lib/smarty/Smarty.class.php on line 1390