[support] site stuck, how do I reset

Mohammed Al-shar' msharo at wanadoo.jo
Mon Nov 14 12:41:11 UTC 2005


dear listers,
hello.
I was trying to list most recnt announcements as I found in one of the code snipit at the drupal website. I made a new block and wrote the folloing in it:
--------

<?php
$listlength=5;
$termtolistnodesfrom="97"; //97 is the category (term) with the announcements
$nodetype="";
$showuser="no";
$excerptlength=200;
$title="Most Recent Announcements";
print listandhighlightnodes($listlength, $termtolistnodesfrom, $nodetype, $showuser, $excerptlength, $title);
?>
--------
now whenever I go to that site:
www.mystop.net
I get the following error: 
--------
Fatal error: Call to undefined function: listandhighlightnodes() in /home/mystop/public_html/includes/common.inc(1857) : eval()'d code on line 9
----------
is there a way to undo what I did so that the site functions again? I wouldn't think that the solution would be to just lose the whole site?
regards,
mohammed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20051114/18e33103/attachment.htm


More information about the support mailing list