任务单 #37915

インストールできない

开放日期: 2018-01-23 13:59 最后更新: 2018-01-30 05:46

报告人:
(del#93913)
属主:
类型:
状态:
开启 [Owner assigned]
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:

Details

version 1.1.0 インストールできない

手順: install/ → 「続ける」をクリック → エラー (PHP Fatal error)

$ grep -rPnH "[^j]error::" .

./install/install.php:42:			elseif (error::fatal()) $template='failed';
./install/install.php:66:		if (empty($post['sitename'])) error::note('_INSTALL_NO_SITE_NAME');
./install/install.php:67:		if (!@date_default_timezone_set($post['timezone'])) error::note('_INSTALL_INVALIED_TIME_ZONE');
./install/install.php:68:		if (empty($post['email'])) error::note('_INSTALL_NO_EMAIL');
./install/install.php:69:		if (empty($post['loginname'])) error::note('_INSTALL_NO_LOGIN_NAME');
./install/install.php:70:		if (empty($post['name'])) error::note('_INSTALL_NO_NAME');
./install/install.php:71:		if (strlen($post['password1'])<6) error::note('_INSTALL_PASSWORD_TOO_SHORT');
./install/install.php:72:		if ($post['password1']!=$post['password2']) error::note('_INSTALL_PASSWORD_MISMATCH');
./install/install.php:124:				error::fatal('SQLite error: <%0%>',$e[2]);
./install/install.php:125:				error::fatal('<%0%>',$m[1]);
./jeans/libs/misc/misc_hash.php:33:						error::quit('"<%0%>" is not supported by hash() emulation mode.',$mode);

プロジェクト内を置換
一致:正規表現
含まれるテキスト
([^j])(error::)
置換文字列
$1j$2

grep -rPnH "class_exists\('error'" .

./jeans/libs/blog.php:33:               if (class_exists('error',false)) {
./jeans/libs/jeans.php:501:             if (!class_exists('error',false)) return false;

任务单历史 (3/9 Histories)

2018-01-23 13:59 Updated by: (del#93913)
  • New Ticket "インストールできない" created
2018-01-23 14:05 Updated by: kmorimatsu
  • Details Updated
评论

サーバーの環境や、インストールをトライしたときの症状など、詳しいことをお知らせください。

2018-01-23 14:08 Updated by: (del#93913)
评论

php -S localhost:8080 -t ./

http://localhost:8080/install

続けるをクリック

エラー

---------------------------------------

/install の場合

「続ける」クリックで テーブルがないので謎のクエリエラーでインストーラーが落ちる リダイレクトで /install/に送り返す必要あり

/install/ の場合 「続ける」クリックで Fatal error: Uncaught Error: Call to undefined method Error::note()

2018-01-23 16:22 Updated by: kmorimatsu
评论

Web serverの種類と、PHPのバージョンを教えてもらえますか?

2018-01-23 21:41 Updated by: (del#93913)
  • Details Updated
2018-01-23 22:26 Updated by: (del#93913)
  • Details Updated
2018-01-23 22:41 Updated by: (del#93913)
  • Details Updated
2018-01-30 05:45 Updated by: kmorimatsu
评论

(del#93913) への返信

"Debug error handling routines when installing (reported by temporary OSDN user: del#93913)" https://osdn.net/projects/jeanscms/scm/svn/commits/368

インストール時のエラー処理不具合のバグとして、承りました。他方、インストール出来ないのは、環境に問題があるからだと思われます。SQLiteが使えないのかも知れません。

This report was taken as a bug of failure for error handling when installing Jeans CMS. The reason why you cannot install Jeans CMS onto your environment is probably because your environment does not have enough features for Jeans CMS. SQLite may not be available.

2018-01-30 05:46 Updated by: kmorimatsu
  • 属主 Update from (无) to kmorimatsu
  • 处理结果 Update from to Fixed

Attachment File List

No attachments

编辑

Please login to add comment to this ticket » 登录名