Page 1 of 1
News Module Problems
Posted: Wed Dec 21, 2005 6:50 pm
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!
Re: News Module Problems
Posted: Thu Dec 29, 2005 4:54 am
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.
Re: News Module Problems
Posted: Sun Jan 01, 2006 12:34 pm
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.
Re: News Module Problems
Posted: Sun Jan 01, 2006 1:04 pm
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 ?
Re: News Module Problems
Posted: Mon Jan 02, 2006 2:34 am
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?
Re: News Module Problems
Posted: Tue Jan 03, 2006 7:06 pm
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...
Re: News Module Problems
Posted: Fri Jan 13, 2006 10:52 pm
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?