Ticket #37915

インストールできない

Date d'ouverture: 2018-01-23 13:59 Dernière mise à jour: 2018-01-30 05:46

Rapporteur:
(del#93913)
Propriétaire:
Type:
État:
Ouvert [Owner assigned]
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
Aucun

Détails

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;

Ticket History (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
Commentaire

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

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

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
Commentaire

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
Commentaire

(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
  • Propriétaire Update from (Aucun) to kmorimatsu
  • Résolution Update from Aucun to Fixed

Attachment File List

No attachments

Modifier

Please login to add comment to this ticket » Connexion