If you cannot clear the logs, open modlog.php, find:
<a href=\"javascript
:void(0);\" onClick=\"javascript
:if(confirm('Click OK to clear all moderator logs.')) {document.location.href='$PHP_SELF?rt=".time()."&c learLogs=yes&showLimit=$showLimit';}\">CLEAR ALL LOGS</a>
Replace with:
<a href=\"$PHP_SELF?rt=".time()."&clearLogs=yes&showL imit=$showLimit';}\">CLEAR ALL LOGS</a>
If you have the htmlheader() problem, find two times:
HTMLHeader()
replace with
htmlheader()
hope that helps, but who knows