Mediawiki problems: Difference between revisions

Jump to navigation Jump to search
1,485 bytes added ,  23 January 2008
Line 69: Line 69:




=== 406 Not Acceptable ===
When I tried to preview or write a wikipage, a error message: "406 Not Acceptable: An appropriate representation of the requested resource /index.php could not be found on this server." occurred.
I checked the content of this webpage:
<pre>
... ...
* Author: [URL Description]
</pre>
I insert a space after ''Author''. ''Author: [URL Description]'' became ''Author : [URL Description]'' The problem was solved.
<pre>
... ...
* Author : [URL Description]
</pre>
Environment: MediaWiki: 1.5.4; PHP: 4.4.1 (apache); MySQL: 4.0.25-standard
=== MySQL error: Table ... is marked as crashed and should be repaired (MediaWiki 1.6.10) ===
<pre>
    (SQL query hidden)
來自於函數 "MediaWikiBagOStuff::_doquery"。 MySQL返回錯誤 "1194: Table 'objectcache' is marked as crashed and should be repaired (localhost)"。
</pre>
Solution:
Using the phpMyAdmin to do the following steps
# (optional) TRUNCATE `objectcache`  (清空objectcache資料表)
# repair the objectcache table
further reading
* [http://dev.mysql.com/doc/refman/5.0/en/table-maintenance.html MySQL AB :: MySQL 5.0 Reference Manual :: 5.6.4 Table Maintenance and Crash Recovery]
=== not safe to rely on the system's timezone settings. Please use the date.timezone setting  (MediaWiki 1.11.0) ===
check [http://errerrors.blogspot.com/2008/01/not-safe-to-rely-on-systems-timezone.html Err: not safe to rely on the system's timezone settings. Please use the date.timezone setting]


== 待解決問題 ==
== 待解決問題 ==

Navigation menu