Hi,
I needed some inputs on how to delete pages. I logged into the wiki as the administrator, but when I tried to delete a page, I got an SQL error that read
'Database error A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "Article::doDeleteArticle". MySQL returned error "1364: Field 'ar_text' doesn't have a default value (localhost)".
Any inputs on how I can troubleshoot this? Thanks a lot.
Best regards, Sindhu Subramaniam
Sindhu.Subramaniam-JciXlfA5DopCkLs28/y7ANBPR1lH4CV8@public.gmane.org a écrit :
'Database error A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "Article::doDeleteArticle". MySQL returned error "1364: Field 'ar_text' doesn't have a default value (localhost)".
in article.php MW 1.8.2, I found
// For backwards compatibility, note that some older archive // table entries will have ar_text and ar_flags fields still.
which version of Mediawiki are you using ? (or did you upgrade recently from an old version to a new one ?)
Sindhu.Subramaniam-JciXlfA5DopCkLs28/y7ANBPR1lH4CV8@public.gmane.org a écrit :
'Database error A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "Article::doDeleteArticle". MySQL returned error "1364: Field 'ar_text' doesn't have a default value (localhost)".
this might help :
http://mail.wikipedia.org/pipermail/mediawiki-l/2006-August/014672.html
mediawiki-l@lists.wikimedia.org