On 4/19/06, Rob Church <robchur(a)gmail.com> wrote:
Make a backup, and then take a look at
maintenance/deleteOldRevisions.php.
$ php deleteOldRevisions.php --delete
<snip>
Function:
Error: 1064 You have an error in your SQL syntax. Check the manual
that corresponds to your MySQL server version for the right syntax to
use near ' 13590, 13591, 4823, 6713, 10519, 4734, 6625, 10430, 12169,
111 (localhost)
Backtrace:
GlobalFunctions.php line 450 calls wfbacktrace()
Database.php line 397 calls wfdebugdiebacktrace()
Database.php line 347 calls databasemysql::reportqueryerror()
purgeOldText.inc line 40 calls databasemysql::query()
deleteOldRevisions.inc line 55 calls purgeredundanttext()
deleteOldRevisions.php line 20 calls deleteoldrevisions()
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
----
(I don't have access to view /var/net-snmp/)
MediaWiki 1.5.7
However, it seems to have worked.. and the wiki is up and running just
fine, so I'm not sure if I need to restore from backups or not.
Ideas?