Quote from: Mark at May 01, 2006, 03:38 AM
Can you provide both calls?
I am unable to duplicate the symtoms you describe on any of my testing servers.
here are the calls:
[!NewsListing? &tpl=`af` &dateformat=`%d.%m.%Y` &truncText=`подробно` &paginate=1!]
and
[!NewsListing? &startID=`1` &tpl=`news_left` &dateformat=`%d.%m.%Y` &total=`5` &summarize=`5` &sortby=`createdon`!]
I know that &sortby=`createdon` is by default... thats some kind of silly debuggin of mine
I will remind the error output:
Fatal error: Cannot redeclare customsort() (previously declared in /home/prsound/public_html/manager/includes/document.parser.class.inc.php(691) : eval()'d code:145) in /home/prsound/public_html/assets/snippets/newslisting/functions.php on line 60
this message appears unless the page is not cached yet... after page refreshing (and caching I think) - this message won’t appear and everything works ok (excluding some bug in IE).
string 60 in functions.php is
function customSort(&$data, $fields, $order) {
and string 145 in document.parser.class.inc.php is
function fetchRow($rs, $mode='assoc') {
Updated: OMG! now I saw that error on a single NL-call page:
http://www.promosound.org/128 ...that is completely strange.