Hello
I have a Problem when i add news at my cmsmadesimple. there will show the follow error:
string(143) "Smarty error: [in module_file_tpl:News;editarticle.tpl line 26]: syntax error: unrecognized tag 'Uploads' (Smarty_Compiler.class.php, line 590)"
DEBUG: SQL = INSERT INTO cms_module_news (news_id, news_category_id, news_title, news_data, summary, status, news_date, start_time, end_time, create_date, modified_date,author_id,news_extra) VALUES (22,'1','xxx','xxx','xxx','published','2007-12-07 20:08:37','2007-12-07 20:08:37',NULL,'2007-12-07 20:08:51','2007-12-07 20:08:51','1','')
Duplicate entry '22' for key 1
Who is the problem? Any solution?
Problems with news
Re: Problems with news
Hello,
common questions : your hosting, your version, your settings, your modules, your http logS...
Do you use the Uploads module ?
How many news do you have so far ?
Can you dig into your database and see what is the news_id==22 ?
Pierre M.
common questions : your hosting, your version, your settings, your modules, your http logS...
Do you use the Uploads module ?
How many news do you have so far ?
Can you dig into your database and see what is the news_id==22 ?
Pierre M.
Re: Problems with news
From forum search:ottyscom wrote: I have a Problem when i add news at my cmsmadesimple. there will show the follow error:
string(143) "Smarty error: [in module_file_tpl:News;editarticle.tpl line 26]: syntax error: unrecognized tag 'Uploads' (Smarty_Compiler.class.php, line 590)"
1
2
3
4
.....
maybe you have a older version. Update to 1.2.2
Alby
Re: Problems with news
I have updated to the new version 1.2.2 but the problem again are present. i can not add more news 

Re: Problems with news
I just found the same problem (or at least the same symptoms). I went into phpmyadmin, ldid a query to list _module_news ordered by descending news_id. Then checked the _module_news_seq table which only has one row with one field called ID. It should have the same value as the highest news_id in the _module_news table. Mine was wrong. Perhaps the upgrade to 1.2.3 I'd just finished somehow reset it. I updated the value of ID in the module_news_seq table to be the same as the highest entry in _module_news and everything now works OK
Phil

Re: Problems with news
Thanks MantaPro,
sometime ago I backup my `_module_news` table, and forget to backup the `module_news_seq` table, so it wasn't working
~
some words to crawlers:
news duplicate entry for key id
sometime ago I backup my `_module_news` table, and forget to backup the `module_news_seq` table, so it wasn't working

some words to crawlers:
news duplicate entry for key id