Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /virtual/(ユーザー名)/public_html/wiki/install-utils.inc on line 29
PHP 5.0.3 installed Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. Warning: PHP's safe mode is active. You may have problems caused by this, particularly if using image uploads. PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. PHP's memory_limit is 64M. If this is too low, installation may fail! Have zlib support; enabling output compression. Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions GNU diff3 not found. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: /virtual/(ユーザー名)/public_html/wiki Script URI path: /wiki Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider changing it manually. Generating configuration file...
Database type: mysql Attempting to connect to database server as (ユーザー名)...success. Connected to 4.1.7 Database (ユーザー名) exists Creating tables... using MySQL 4 table defs...Query "CREATE TABLE `wikiwikiwebjob` ( job_id int(9) unsigned NOT NULL auto_increment, job_cmd varchar(255) NOT NULL default '', job_namespace int NOT NULL, job_title varchar(255) binary NOT NULL, job_params blob NOT NULL default '', PRIMARY KEY job_id (job_id), KEY (job_cmd, job_namespace, job_title) ) TYPE=InnoDB " failed with error code "Specified key was too long; max key length is 1024 bytes (localhost)".
データベース検索の文法エラー。これは恐らくソフトウェアのバグを表しています。 最後に実行を試みた問い合わせ: (SQL query hidden) from within function "Article::insertOn". MySQL returned error "1062: Duplicate entry '0-' for key 2 (localhost)". こんなエラーが出たのですが、どうすればいいのでしょうか・・・
MediaWiki 1.6.5 Installation Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list. Checking environment... Please include all of the lines below when reporting installation problems.
PHP 5.0.1 installed PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. PHP is configured with no memory_limit. Have zlib support; enabling output compression. Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions GNU diff3 not found. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: c:\Apache\htdocs\mediawiki-1.6.5 Script URI path: /mediawiki-1.6.5 Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider changing it manually. Generating configuration file...
Database type: mysql PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see dev.mysql.com/doc/mysql/en/old-client.html for help. Attempting to connect to database server as root...success. Connected to 4.0.20a-nt Database wikidb exists Creating tables... using MySQL 4 table defs... done. Initializing data... Created sysop account Jeremiah.
275 名前:271 [2006/05/25(木) 01:43:58 ID:vnZ55QeC]
2枚目です。
Initialising "MediaWiki" namespace... A database error has occurred Query: INSERT INTO `text` (old_id,old_text,old_flags) VALUES (NULL,'/* tooltips and access keys */ ta = new Object(); ta[\'pt-userpage\'] = new Array(\'.\',\'自分の利用者ページ\'); ta[\'pt-anonuserpage\'] = new Array(\'.\',\'あなたのIPアドレス用の利用者ページ\'); ta[\'pt-mytalk\'] = new Array(\'n\',\'自分の会話ページ\'); ta[\'pt-anontalk\'] = new Array(\'n\',\'あなたのIPアドレスからなされた編集の会話ページ\'); ta[\'pt-preferences\'] = new Array(\'\',\'オプションの変更\'); ta[\'pt-watchlist\'] = new Array(\'l\',\'変更を監視しているページの一覧\'); ta[\'pt-mycontris\'] = new Array(\'y\',\'自分の投稿記録\'); ta[\'pt-login\'] = new Array(\'o\',\'ログインすることが推奨されますが、しなくても構いません。\'); ta[\'pt-anonlogin\'] = new Array(\'o\',\'ログインすることが推奨されますが、しなくても構いません。\'); ta[\'pt-logout\'] = new Array(\'o\',\'ログアウト\'); ta[\'ca-talk\'] = new Array(\'t\',\'項目のノート\'); ta[\'ca-edit\'] = new Array(\'e\',\'このページを編集できます。投稿の前に「プレビューを実行」ボタンを使ってください。\'); ta[\'ca-addsection\'] = new Array(\'+\',\'このページにコメントを加える\'); ta[\'ca-viewsource\'] = new Array(\'e\',\'このページは保護されています。ページのソースを閲覧できます。\'); ta[\'ca-history\'] = new Array(\'h\',\'このページの過去の版\'); ta[\'ca-protect\'] = new Array(\'=\',\'このページを保護\'); ta[\'ca-delete\'] = new Array(\'d\',\'このページを削除\'); ta[\'ca-undelete\'] = new Array(\'d\',\'削除されたページを復帰する\');
276 名前:271 [2006/05/25(木) 01:44:44 ID:vnZ55QeC]
3枚目です。
ta[\'ca-move\'] = new Array(\'m\',\'このページを移動\'); ta[\'ca-watch\'] = new Array(\'w\',\'このページをウォッチリストへ追加\'); ta[\'ca-unwatch\'] = new Array(\'w\',\'このページをウォッチリストから外す\'); ta[\'search\'] = new Array(\'f\',\'ウィキ内を検索\'); ta[\'p-logo\'] = new Array(\'\',\'メインページ\'); ta[\'n-mainpage\'] = new Array(\'z\',\'メインページに移動\'); ta[\'n-portal\'] = new Array(\'\',\'このプロジェクトについて、あなたのできることを探す場所です\'); ta[\'n-currentevents\'] = new Array(\'\',\'最近の出来事\'); ta[\'n-recentchanges\'] = new Array(\'r\',\'最近更新が行われたページの一覧\'); ta[\'n-randompage\'] = new Array(\'x\',\'ランダムに記事を選んで表示\'); ta[\'n-help\'] = new Array(\'\',\'ヘルプ・使い方\'); ta[\'n-sitesupport\'] = new Array(\'\',\'私たちをサポートしてください\'); ta[\'t-whatlinkshere\'] = new Array(\'j\',\'このページにリンクしているページの一覧\'); ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'最近更新が行われたこのページのリンク先\'); ta[\'feed-rss\'] = new Array(\'\',\'このページのRSSフィード\'); ta[\'feed-atom\'] = new Array(\'\',\'このページのAtomフィード\'); ta[\'t-contributions\'] = new Array(\'\',\'ユーザーの投稿記録\'); ta[\'t-emailuser\'] = new Array(\'\',\'このユーザーにメールを送信\'); ta[\'t-upload\'] = new Array(\'u\',\'画像やメディアファイルをアップロード\');
277 名前:271 [2006/05/25(木) 01:46:30 ID:vnZ55QeC]
最後の4枚目です。 長くて本当に申し訳ありません…。
ta[\'t-specialpages\'] = new Array(\'q\',\'特別ページの一覧\'); ta[\'ca-nstab-main\'] = new Array(\'c\',\'本文を表示\'); ta[\'ca-nstab-user\'] = new Array(\'c\',\'利用者ページを表示\'); ta[\'ca-nstab-media\'] = new Array(\'c\',\'メディアページを表示\'); ta[\'ca-nstab-special\'] = new Array(\'\',\'これは特別ページです。編集することはできません。\'); ta[\'ca-nstab-wp\'] = new Array(\'a\',\'{{SITENAME}}ページを表示\'); ta[\'ca-nstab-image\'] = new Array(\'c\',\'画像ページを表示\'); ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'定型文を表示\'); ta[\'ca-nstab-template\'] = new Array(\'c\',\'テンプレートを表示\'); ta[\'ca-nstab-help\'] = new Array(\'c\',\'ヘルプページを表示\'); ta[\'ca-nstab-category\'] = new Array(\'c\',\'カテゴリページを表示\');','utf-8') Function: Revision::insertOn 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 '; ta[\'pt-anonlogin\'] = new Array(\'o\',\'ログインするだ(localhost)
Backtrace: GlobalFunctions.php line 602 calls wfBacktrace() Database.php line 473 calls wfDebugDieBacktrace() Database.php line 419 calls DatabaseMysql::reportQueryError() Database.php line 1023 calls DatabaseMysql::query() Revision.php line 624 calls DatabaseMysql::insert() InitialiseMessages.inc line 213 calls Revision::insertOn() InitialiseMessages.inc line 72 calls initialiseMessagesReal() index.php line 739 calls initialiseMessages()
>>271 ・MediaWikiは1.6.6が出てるからそれを使うべし(問題解決とは関係ないが) ・Apacheのバージョンを1.3.xに下げたのはなぜ? ・結局MySQLのバージョンは何?UTF-8関係で問題が起こるなら新しい バージョンの方がいいのでは。 ちなみに4.1や5を使うときは、例えばコマンドプロンプトからmysqlで入って、 DATABASE mysql; UPDATE user SET Password = OLD_PASSWORD('mypass') WHERE User = 'some_user'; とすればphpMyAdminでもアクセスできるようになるはず。詳細はここ: ttp://dev.mysql.com/doc/refman/4.1/ja/password-hashing.html ・my.iniで default-character-set = utf8 がエラーになるってこと? SHOW CHARSET; でutf8は表示される? ・いろいろ試すときは、毎回 wikidb っていうデータベースを削除すべし 一回次のことをやってみるのもいいかも drop wikidb; create database wikidb character set utf8;