Project

General

Profile

Backport(バックポート) #2308

php ./symfony openpne:install時にエラーが出る

Added by isao sano over 10 years ago. Updated about 10 years ago.

Status:
Fixed(完了)
Priority:
High(高め)
Assignee:
Target version:
Start date:
2011-07-27
Due date:
% Done:

100%


Description

http://sns.openpne.jp/diary/25547 より転記

サーバ:試験用のWindows XPの普通のノートPC

下記インストール済み、動作確認OK
Apacche 2.2.17
MySQL 5.1.52
PHP 5.3.3

OpenPNEは3.4.8をDLして、D:\OpenPNEに展開した。
あとは、セットアップなんだけど

php ./symfony openpne:install

でエラーが出て先に進めず。エラー内容解析中。

Related issues

Related to OpenPNE 3 - Bug(バグ) #1780: php ./symfony openpne:install時にエラーが出る Fixed(完了) 2010-11-11

Associated revisions

Revision 0364c00c (diff)
Added by Yuya Watanabe about 10 years ago

(fixes #2308, BP from #1780) fixed to continue the install process whether can access to channel server or not

History

#1 Updated by isao sano over 10 years ago

  • Subject changed from 作業日記 to php ./symfony openpne:install時にエラーが出る

#2 Updated by Yuya Watanabe about 10 years ago

  • Status changed from New(新規) to Accepted(着手)
  • Assignee changed from Shingo Yamada to Yuya Watanabe

#3 Updated by wa ta about 10 years ago

  • Status changed from Accepted(着手) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50

更新履歴 0364c00ccdc8c0a57fabed3a27e22f724459bf35 で適用されました。

#4 Updated by Kousuke Ebihara about 10 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70

#5 Updated by isao sano about 10 years ago

default_plugin_channel_serverの設定をアンコメントした後、以下の3つの値に設定した場合、「./symfony openpne:install」コマンドを実行できません。

  • デフォルトの"plugins.openpne.jp"
  • 存在しない"plugins.openpne.jp"
  • 空欄""

その際に出るエラーは以下です。

./symfony openpne:installPHP Fatal error:  Uncaught exception 'InvalidArgumentException' with message 'Unable to parse file "/home/sns/36rc1.example.com/config/OpenPNE.yml": Unable to parse line 216 ( default_plugin_channel_server: "localhost").' in /home/sns/36rc1.example.com/lib/vendor/symfony/lib/yaml/sfYaml.php:100
Stack trace:
#0 /home/sns/36rc1.example.com/lib/config/opProjectConfiguration.class.php(131): sfYaml::load('/home/sano/sns/...')
#1 /home/sns/36rc1.example.com/lib/config/opProjectConfiguration.class.php(43): opProjectConfiguration->setOpenPNEConfiguration()
#2 /home/sns/36rc1.example.com/config/ProjectConfiguration.class.php(33): opProjectConfiguration->setup()
#3 /home/sns/36rc1.example.com/lib/vendor/symfony/lib/config/sfProjectConfiguration.class.php(60): ProjectConfiguration->setup()
#4 /home/sns/36rc1.example.com/lib/vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php(37): sfProjectConfiguratio in /home/sns/36rc1.example.com/lib/vendor/symfony/lib/yaml/sfYaml.php on line 100å

default_plugin_channel_serverの設定を"localhost"にした場合はインストールが実行されます。
上記の3つの状態にした場合の正常の動作は「インストールが完了する」で間違いないでしょうか?

#6 Updated by Shingo Yamada about 10 years ago

  • Status changed from Pending Testing(テスト待ち) to Rejected(差し戻し)
  • % Done changed from 70 to 50

差し戻します。

#7 Updated by Shingo Yamada about 10 years ago

  • Status changed from Rejected(差し戻し) to Accepted(着手)

#8 Updated by Shingo Yamada about 10 years ago

  • Status changed from Accepted(着手) to Pending Review(レビュー待ち)

#9 Updated by Shingo Yamada about 10 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70

#10 Updated by isao sano about 10 years ago

  • Status changed from Pending Testing(テスト待ち) to Fixed(完了)
  • % Done changed from 70 to 100

テスト完了致しました。
問題ありませんのでFixedと致します。

Also available in: Atom PDF