News module fatal error: undefined function

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.
Locked
warpdesign

News module fatal error: undefined function

Post 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??
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: News module fatal error: undefined function

Post by Ted »

Make sure that the lib/smarty/plugins/modifier.date_format.php file got uploaded to your host properly.
warpdesign@yahoo.com

Re: News module fatal error: undefined function

Post 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
warpdesign@yahoo.com

Re: News module fatal error: undefined function

Post 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?
warpdesign

Re: News module fatal error: undefined function

Post by warpdesign »

Anyone?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: News module fatal error: undefined function

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

Re: News module fatal error: undefined function

Post 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!
Locked

Return to “CMSMS Core”