Page 1 of 1

News module fatal error: undefined function

Posted: Tue Feb 07, 2006 2:19 am
by warpdesign
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??

Re: News module fatal error: undefined function

Posted: Tue Feb 07, 2006 2:27 am
by Ted
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

Posted: Tue Feb 07, 2006 6:56 am
by warpdesign@yahoo.com
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

Re: News module fatal error: undefined function

Posted: Tue Feb 07, 2006 6:23 pm
by warpdesign@yahoo.com
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

Posted: Thu Feb 09, 2006 1:05 am
by warpdesign
Anyone?

Re: News module fatal error: undefined function

Posted: Thu Feb 09, 2006 9:51 pm
by Ted
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.

Re: News module fatal error: undefined function

Posted: Thu Feb 09, 2006 11:13 pm
by warpdesign
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!