Hello, I just installed CMSMS for the first time. I was reading the instructions in the sample site and in the area of modules it gives the example of the News module, but if I click on the example news item it gives this error:
Fatal error: Call to undefined function: smarty_modifier_date_format() in
The page it says the error is on is:
News^%%2D^2D8^2D8FE00F%%module_db_tpl%3ANews%3Bdisplaydetail.php on line 19
Can I fix this??
News module fatal error: undefined function
Re: News module fatal error: undefined function
Make sure that the lib/smarty/plugins/modifier.date_format.php file got uploaded to your host properly.
Re: News module fatal error: undefined function
Hmm, it seems to be there and it's not corrupted or anything. I also get all kinds of undefind function errors when I try to do stuff with it on the backend. Under content there is "--Ad Me-Module:News String: News:" Under that there is "--Add Me - module:News string:addarticle--" If I click that I get the error:
Fatal error: Smarty error: [in module_file_tpl:News;editarticle.tpl line 20]: syntax error: unrecognized tag 'html_select_date' (Smarty_Compiler.class.php, line 580) in
(File Path to) Smarty.class.php on line 1088
Fatal error: Smarty error: [in module_file_tpl:News;editarticle.tpl line 20]: syntax error: unrecognized tag 'html_select_date' (Smarty_Compiler.class.php, line 580) in
(File Path to) Smarty.class.php on line 1088
Re: News module fatal error: undefined function
I double checked and everything was definitely transfered through FTP, is it possible that there are files missing from the download? I downloaded it last night and it says it's version 0.11.2. Is there a particular folder that I should be looking for?
Re: News module fatal error: undefined function
I'm wondering if it's config.php related. Like php thought it was in a different path than it actually was, so it's having a hard time finding included files.
Very strange indeed.
Very strange indeed.
Re: News module fatal error: undefined function
I think you are right, it is config.php related- I had some problems during the install with the paths. It wanted to name my root directory "/cgi-php/" and I let it at first thinking it was correct. It didn't work and I just deleted that part of the file path from the config file, then everything worked except for that news module. I'm going to start over from scratch since I haven't yet started designing my templates or adding content to the site... Thanks!