News Module Problems

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
patrick95350

News Module Problems

Post by patrick95350 »

My site is being hosted by my university's servers, which I only have little control over.

I had gotten CMS up and running fine earlier this month. However, this week they moved everything over to new webservers, and now the News module is giving me fits. It won't let me post new articles at all. When I try I get this message:

Code: Select all

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 C:\Web Sites\iaj\lib\smarty\Smarty.class.php on line 1088
It also isn't listed as the News Module on the admin index, it says:
--Add Me - module:News string:news--
I only had test articles in the news mod, so i tried unistalling and then reinstalling it, but that didn't seem to do anything except delete the old articles.

Any ideas on what's wrong? I'm tearing my hair out here!
liquid
Forum Members
Forum Members
Posts: 59
Joined: Sun Aug 07, 2005 10:20 pm

Re: News Module Problems

Post by liquid »

I just moved locations of my install and I'm running into exactly the same problem. All files were copied successfully. I'm suspicious as to why it's only the news module - everything else is working just fine.

Edited to add: I ended up reinstalling from scratch, and then replacing the tables. That did the trick. So obviously something is set somewhere that isn't in the config.php or in the database that's telling the CMS to look in the wrong place for the News module langugage file.
Last edited by liquid on Thu Dec 29, 2005 5:37 am, edited 1 time in total.
amygdela

Re: News Module Problems

Post by amygdela »

This error occurs when a line in your languagefile is missing. Try compare it with the default language file and see the missing translations. I've discovered this in the Dutch translation as well, but after a comparison I've added the missing lines and it worked perfect.
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm

Re: News Module Problems

Post by petert »

amygdela wrote: This error occurs when a line in your languagefile is missing. Try compare it with the default language file and see the missing translations. I've discovered this in the Dutch translation as well, but after a comparison I've added the missing lines and it worked perfect.
what strings were missing? Can you send me the changes ?
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
liquid
Forum Members
Forum Members
Posts: 59
Joined: Sun Aug 07, 2005 10:20 pm

Re: News Module Problems

Post by liquid »

amygdela wrote: This error occurs when a line in your languagefile is missing. Try compare it with the default language file and see the missing translations. I've discovered this in the Dutch translation as well, but after a comparison I've added the missing lines and it worked perfect.
Not to argue with you, but all files were moved from the original install location to the new location. Nothing was missed in the copying. So, something else is going on - once I reinstalled, everything was fine again. Are you sure the specifically the News module isn't setting/using a file location somewhere other than in the config.php file?
patrick95350

Re: News Module Problems

Post by patrick95350 »

As far as my specific problem, it seems I was able to fix the problem by unistalling just the news module and then reinstalling it, using listmodules.php. It didn't fix it right away, but the next morning it was working.

Don't ask me why that would be...
liquid
Forum Members
Forum Members
Posts: 59
Joined: Sun Aug 07, 2005 10:20 pm

Re: News Module Problems

Post by liquid »

I just did another move that was a straight directory switch and didn't involve changing any database information, and it worked fine. I wonder if the news is saving a location somewhere in the database?
Locked

Return to “CMSMS Core”