Page 1 of 1

Error in News Mod???

Posted: Sun 8. Oct 2006, 17:17
by jmansa
I have just installed the news mod, and everything semes fine but when I want to add news I get this error
Fatal error: Cannot redeclare sql_datetime() (previously declared in /mysite/include/inc_lib/general.inc.php:23) in /mysite/include/inc_tmpl/news.editcontent.inc.php on line 2
How do I get rit of this???[/quote]

Posted: Sun 8. Oct 2006, 19:31
by pico
Hi

don't have the Code here, but try to Comment out

Code: Select all

/* function sql_datetime(...) {
...
}
*/
in /include/inc_tmpl/news.editcontent.inc.php
seems that this function is now in ../include/inc_lib/general.inc.php
declared

Posted: Sun 8. Oct 2006, 20:33
by jmansa
Just removed the date funktion in edit.news... Thanks...