[OpenPNE3]ログイン状態に応じてフッターを書きかえる

Posted under OpenPNE3,php by uechoco on 金曜日 30 1月 2009 at 16 : 00 : 26

 OpenPNE2では、HTML挿入機能としてログイン前フッターとログイン後フッターを書きかえる機能がありました。OpenPNE2で存在していた機能は原則としてOpenPNE3でも実装される予定ですが、いつになるかはわかりません。今回は手ごろなフッター書き換えを学んで、OpenPNEテンプレートカスタマイズの感覚を掴みたいと思います(OpenPNE 3.0.0対応)。

 OpenPNE3のフッターを見てみます。
index_friend_list_full

 現状、OpenPNE3のフッターは、ログイン前もログイン後も下図のような「Powered by OpenPNE」という文字列です。
index_friend_list_partial

 この文字列は、内部のテンプレートで直書きになっているので、管理画面などから書き換えることはできません。ここを直接書き換えて、ログイン前とログイン後のフッターを変化させたいと思います。

#1 _footer.phpテンプレートの編集

 フッターのテンプレートは、/apps/pc_frontend/templates/_footer.phpにあります。このファイルはOpenPNE3.0.0では以下のようになっています。

php:
  1. <p>Powered by <a href="http://www.openpne.jp/" target="_blank">OpenPNE</a></p>

 これを、以下のように書き換えます。

php:
  1. <?php if (($member = $sf_user->getMember()) && $member->getIsActive()): ?>
  2. <p>Powered by <a href="http://www.openpne.jp/" target="_blank">OpenPNE</a>(ログイン後)</p>
  3. <?php else: ?>
  4. <p>Powered by <a href="http://www.openpne.jp/" target="_blank">OpenPNE</a>(ログイン前)</p>
  5. <?php endif; ?>

  • $sf_user->isAuthenticated()の返り値のtrue/falseで判断すると、ほとんどの場合は困りませんが、仮登録者の本登録フォームなどで不具合が発生します。仮登録ユーザも「仮登録者として登録済み」と判断され、認証が通ってしまうのが原因です。これはOpenPNE3で認証識別子credentialsとしてSNSMemberだけでなく、SNSRegisterBeginやSNSRegisterFinishなどを用意していることから分かります。
  • 本登録済みのメンバーかどうかを判断するには、$sf_user->getMember()でMemberクラスのインスタンスの取得を試みて、取得できた場合、getIsActive()メソッドのtrue/falseでアクティベート(本登録)済みかどうかを判断します。

#2 結果の確認

 ログイン画面、仮登録者の本登録画面、ログイン済みメンバーのホーム画面の3つ見てみると、ログイン済みの画面だけフッターが書き変わっているのがわかると思います。

  1. ログイン画面(メンバーではない)
    index_member_login
  2. 仮登録者の本登録画面(メンバーではあるが、本登録が済んでいない)
    index_member_registerinput
  3. ログイン済みメンバーのホーム画面(本登録済みのメンバー)
    home

#3 お好みでCSSも

 /web/css/main.cssにフッターのCSSを定義した部分があります。例えば「#Footer p」のtext-alignをcenterにするとかできます。

今回の記事に関して、あってるとか、まちがってるとか、もっといい方法があるとかがあれば、コメントなどでアドバイスください。


[OpenPNE3]ガジェット対応プラグイン作成の入門(あしあと機能のガジェット化)

Posted under OpenPNE3,php,symfony by uechoco on 金曜日 30 1月 2009 at 03 : 54 : 10

 OpenPNE3では、プラグイン式に機能を増やすことができるようになりました。プラグインで機能を増やした時、実際に画面に表示させる方法としては以下のようなものが挙げられます。

  • 新しくページを作成する・・・(OpenPNE公式Webサイトのブログ記事の「OpenPNE3プラグインの作り方#2」が該当します。)
  • テンプレート拡張を利用する・・・(テンプレート拡張、およびそのサンプルは「OpenPNE3プラグインの作り方#4」にあります。)
  • ガジェットとして追加する・・・ホーム画面(マイホームやフレンドホームなど)やサイドバナー領域は、ガジェットと呼ばれる部品を配置することができます。ガジェットの配置は、管理者が管理画面で変更できます。ホーム画面の検索ボックス、インフォメーションボックス、プロフィール写真、フレンドリスト、マイフレンド最新日記、コミュニティ最新書き込みなど、ほとんどの構成要素がガジェット仕様になっています。目ぼしいサンプルが見当たらなかったので、今回作り方を取り上げたいと思います。

 下図が管理画面のガジェットの配置設定画面です。プラグインなどで提供されたガジェットを自由に追加・変更・削除できます。

pc_frontend_home_gadget

 下図はガジェットが実際に表示されているホーム画面。検索ボックス以下のほとんどのコンテンツがガジェットで作られています。今回入門サンプルとして作成する「最新のあしあと」というガジェットも表示されています。

pc_frontend_home_gadget_view

 さて、今回はこのガジェット対応したプラグインを作成しますが、プラグインをゼロから作ることは本質的でない部分を含みますので、既にプラグインとして機能が完成されているものに対してガジェット対応を試みたいと思います。おそらくガジェットの作成方法を学ぶ方法としては最適だと思います。このような経緯から、今回は「あしあと」機能を題材に取り上げました。

※ここからは、ソースコードを解読して仕様を推測していますので、100%正しいプログラムとは限りません。唯一の保証は、私の環境では動作確認ができたということだけです。

あしあと機能は「/ashiato/list」ページを見ると既に実装されていることがわかります。プラグインとしてはopAshiatoPluginとして実装されています。ここに改造を加えていきます。ソースコードの参考にしたのは、自分の最新ブログを表示するblogHomeUserというガジェットです。

#1 gadget.ymlの作成

 /plugins/opAshiatoPlugin/configディレクトリにgadget.ymlを追加します。このファイルは、プラグイン(opAshiatoPlugin)に含まれるすべてのガジェットの情報を記述するためのものです。

TEXT:
  1. ashiatoHomeList:
  2.   caption:
  3.     ja_JP: "最新のあしあと"
  4.   description:
  5.     ja_JP: "最新のあしあとの一覧を表示します"
  6.   component: [ashiato, ashiatoHomeList]

  • 冒頭のashiatoHomeListはガジェットの名前です。この名前でOpenPNE3のデータベースに登録されます。暇な人はopenpne3のデータベース内のgadgetという名前のテーブルの中身を見てみてください。多くのガジェットが登録されていますが、nameカラムは個々のガジェット名前を指しています。
  • captionはガジェットの表示名称を示しています。ja_JPですので日本語の表示名称です。最初に使われているところを見るとすれば、管理画面でガジェットを追加しようとした時に見る、ガジェットの日本語名でしょう。
  • descriptionはガジェットの説明を示しています。こちらもja_JPですので日本語表示です。同様に管理画面でガジェットを追加するときに見かけます。
  • componentsはガジェットの実行処理方法を指定しています。ガジェットの実装プログラムは、symfonyのコンポーネント機能で実装します。今回の場合はashiatoモジュールのashiatoHomeListコンポーネントがこのガジェットの実装プログラムです。

#2 コンポーネントの記述

 前述の通り、ガジェットの実装プログラムはsymfonyのコンポーネント機能を用いて記述します。コンポーネントは各モジュールのactionsディレクトリの中のcomponents.class.phpに書くという決まりがあるので、/plugins/opAshiatoPlugin/apps/pc_frontend/modules/ashiato/actionsディレクトリにcomponents.class.phpを追加します。

php:
  1. <?php
  2. /**
  3.  * ashiato components.
  4.  *
  5.  * @package    OpenPNE
  6.  * @subpackage ashiato
  7.  * @author     uechoco
  8.  */
  9. class ashiatoComponents extends sfComponents
  10. {
  11.  
  12.   public function executeAshiatoHomeList()
  13.   {
  14.     $this->id = $this->getRequestParameter('id', $this->getUser()->getMemberId());
  15.     $this->pager = AshiatoPeer::getAshiatoMemberListPager($this->id, 1, 5);
  16.   }
  17. }

  • ashiatoHomeListコンポーネントの実行メソッド名はexecuteAshiatoHomeList()です。execute+先頭大文字のコンポーネント名です。
  • プログラムの内容は、自分のユーザのmember_idを取得し、そのユーザの最新5県の足跡(ページャ付き)を取得します。基本的にはactions.class.phpのパクリです。

#3 コンポーネントのテンプレート

 コンポーネントにもアクションと同じように実行結果を表示するためのテンプレートが対応しています。ashiatoHomeListコンポーネントのテンプレートとして、/plugins/opAshiatoPlugin/apps/pc_frontend/modules/ashiato/templatesディレクトリに_ashiatoHomeList.phpを追加してください。

php:
  1. <?php
  2. if (count($pager))
  3. {
  4.   include_parts(
  5.     'AshiatoLatestListBox',
  6.     'ashiatoHomeList',
  7.     array(
  8.       'title' => "最新のあしあと",
  9.       'pager' => $pager,
  10.       'moreInfo' => 'ashiato/list'
  11.     )
  12.   );
  13. }
  14. ?>

  • 最初のif文は、あしあとが取れたときだけ表示するというものです。
  • include_parts関数はOpenPNEのヘルパー関数で、別の場所のテンプレートを呼び出します。今回はAshiatoLatestListBoxという名前のテンプレートパーツを呼び出しています。
  • ユーザホーム・フレンドホームなど、2か所以上で似たような出力をする場合は、このテンプレートに直接HTMLを記述するよりはinclude_partsなどで別のテンプレートパーツを呼びだしたほうが開発者にとって効率的だと思います。

#4 テンプレートパーツの記述

 さきほど呼びだそうとしたテンプレートパーツの本体を記述します。/plugins/opAshiatoPlugin/apps/pc_frontend/ディレクトリにtemplates/ディレクトリを追加し、_partsAshiatoLatestListBox.phpファイルを追加します。これが実際のガジェットのHTML出力部分になっています。

php:
  1. <div id="<?php echo $id ?>" class="dparts homeRecentList">
  2. <div class="parts">
  3.  
  4. <div class="partsHeading">
  5. <h3><?php echo $options['title'] ?></h3>
  6. </div>
  7.  
  8. <div class="block">
  9.  
  10. <table>
  11. <tbody>
  12. <ul class="articleList">
  13.     <?php foreach ($options['pager']->getResults() as $ashiato) : ?>
  14.     <?php $member = $ashiato->getMemberRelatedByMemberIdFrom(); ?>
  15.     <li><?php echo $ashiato->getUpdatedAt(); ?><?php echo link_to($member->getName(), 'member/profile?id=' . $member->getId()); ?></li>
  16.     <?php endforeach; ?>
  17. </ul>
  18.  
  19. <?php if (isset($options['moreInfo'])): ?>
  20. <div class="moreInfo"><ul class="moreInfo"><li>
  21. <?php echo link_to(__('More info'), $options['moreInfo']) ?>
  22. </li></ul></div>
  23. <?php endif; ?>
  24.  
  25. </tbody>
  26. </table>
  27.  
  28. </div>
  29.  
  30. </div></div>

#5 プラグインの再構成

 今回は新しいDBテーブルなどを追加していないので、「./symfony cc」コマンドでキャッシュを初期化するだけでカスタマイズ部分が有効になると思います。もし、DBを新たに追加するような変更をした場合は「./symfony openpne:install」コマンドですべてのデータベースを再構築してください。

#6 管理画面から、あしあとガジェットを登録

 管理画面にログインし、[デザイン設定]-[ガジェット設定]-[ホーム画面ガジェット設定]にて、適当なところにあしあとガジェットを追加してください。

home-gadget-settings
admin-latest-gadget-add
admin-latest-gadget-set

#7 実際に表示されているかどうかを確認する

 SNS本体に戻って、最新のあしあと5件が実際に表示されているかどうかを確認してください。もちろん、あしあとが既にあるという前提です。

ashiato_gadget_view

終わり

 無事にあしあとの一覧が表示されましたでしょうか?おそらく、ガジェット式のプラグインは今後も増えていくと思います。ガジェットの情報がもっとあるの良いのですが・・・。この記事に関して間違っている点や改良点、アドバイスなどがありましたら、コメントなどでお知らせください。


[OpenPNE3]のDBテーブル一覧

Posted under OpenPNE3,php by uechoco on 木曜日 29 1月 2009 at 00 : 00 : 20

とりあえず、今後の遊びのためにもOpenPNE3のデータベースのテーブル一覧が欲しいと思って、DBDesignerにリバースエンジニアリングさせてみました。リレーションとかまでリバースエンジニアリングさせるとカオスな結果になったので、テーブルをアルファベット順に列挙しただけのものになっています。

openpne300

以下のzipの中に、A4横4等分してPDF化したもの、DBDesignerのxml、上記のpngファイルの3点を収めました。適当にダウンロードしてトイレのドアの裏にでも貼ってください。

OpenPNE3.0.0 DBDesigner仕様 DBテーブル一覧(zip)


[OpenPNE3]リリース!インストールしてみた

Posted under OpenPNE3,php,symfony by uechoco on 水曜日 28 1月 2009 at 22 : 59 : 15

あれ、OpenPNE3のalphaの解析するとか言っときながら、既に正式版リリースしちゃいましたね。最近Processionばかり触ってたら、OpenPNE3ががんばってるのに気付かなかった。とりあえず、インストールだけはしておきましょうか。っていうか、インストール記事ばっか書いてる気がするけど・・・もうちょっとPNEたんに時間を割こうかな。

OpenPNE3.0 セットアップ手順を上から順番にやっていきましょう。

1.ダウンロード・・・しました。zipだけなんですね。tar玉とかはないみたいです。unzipします。

2.ファイルの設置・・・Linux上に設置します(/path/to/openpne3root)。VirtualHostで/webディレクトリをopenpne300.localhostとかのドキュメントルートにしてみます。

3.データベース作成・・・mysqlに対し、utf8のデータベースを作ります。openpne300という名前にしました。また、データベースにアクセスできるユーザ名もopenpne300、パスワードはopenpne300passwordとしましょう。

4.インストールコマンドの実行・・・./symfony openpne:installしても(たぶん)動きませんOpenPNE3開発用ページにあるOpenPNE3alpha3セットアップ手順に書いてある通り、/config/ProjectConfiguration.class.phpファイルのrequire_onceの参照先を変えなければなりません。sfCoreAutoload.class.phpまでの絶対パスがわかる方はその通りに記述してください。

php:
  1. require_once '/path/to/openpne3root/lib/symfony/autoload/sfCoreAutoload.class.php';

これでようやくsymfonyコマンドが動きます。

追記:symfony 1.2では、PDO拡張、XLS拡張を使います。mysqlを使う場合はPDO_mysql拡張なども使います。ソースコードからインストールしている人はphpizeコマンドから、yumからインストールしている人は、yumかpeclコマンドからとか、インストールできるんじゃないでしょうか。一例ですが、下記コマンドで「could not find driver」と出た場合はPDO_mysqlとかがないかもしれません。

Bash:
  1. [uechoco@localhost openpne3root]$ ./symfony openpne:install
  2.  
  3. Choose DBMS (mysql, pgsql or sqlite)
  4.  
  5. mysql
  6.  
  7. Type database username
  8.  
  9. openpne300
  10.  
  11. Type database password (optional)
  12.  
  13. openpne300password
  14.  
  15. Type database hostname
  16.  
  17. localhost
  18.  
  19. Type database name
  20.  
  21. openpne300
  22.  
  23. Type database socket path (optional)
  24.  
  25. (空ENTER)
  26. The DBMS??????????????? mysql
  27. The Database Username?? openpne300
  28. The Database Password?? ******
  29. The Database Hostname?? localhost
  30. The Database Name?????? openpne300
  31. The Database Socket
  32.  
  33. Is it OK to start this task? (y/n)
  34.  
  35. y
  36. &gt;&gt; chmod 777 /path/to/openpne3root/web/uploads
  37. &gt;&gt; chmod 777 /path/to/openpne3root/cache
  38. &gt;&gt; chmod 777 /path/to/openpne3root/log
  39. &gt;&gt; chmod 777 /path/to/openpne3root/symfony
  40. &gt;&gt; chmod 666 /path/to/openpne3root/cache/project_autoload.cache
  41. &gt;&gt; chmod 777 /path/to/openpne3root/web/uploads/assets
  42. &gt;&gt; chmod 777 /path/to/openpne3root/web/cache
  43. &gt;&gt; file-???? /path/to/openpne3root/cache/project_autoload.cache
  44. &gt;&gt; schema??? converting "/path/to/openpne3root/config/schema.yml" to XML
  45. &gt;&gt; schema??? putting /path/to/openpne3root/config/generated-schema.xml
  46. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  47. &gt;&gt; schema??? putting /path/to/openpne3root/pl...CommunityTopicPlugin-schema.xml
  48. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  49. &gt;&gt; schema??? putting /path/to/openpne3root/pl...ated-opMessagePlugin-schema.xml
  50. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  51. &gt;&gt; schema??? putting /path/to/openpne3root/pl...ted-opFavoritePlugin-schema.xml
  52. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  53. &gt;&gt; schema??? putting /path/to/openpne3root/pl...ated-opAshiatoPlugin-schema.xml
  54. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  55. &gt;&gt; schema??? putting /path/to/openpne3root/pl...d-opOpenSocialPlugin-schema.xml
  56. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  57. &gt;&gt; schema??? putting /path/to/openpne3root/pl...-opIntroFriendPlugin-schema.xml
  58. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  59. &gt;&gt; schema??? putting /path/to/openpne3root/pl...erated-opDiaryPlugin-schema.xml
  60. &gt;&gt; file+???? config/generated-opCommunityTopicPlugin-schema.xml
  61. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...CommunityTopicPlugin-schema.xml
  62. &gt;&gt; file+???? config/generated-opMessagePlugin-schema.xml
  63. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...ated-opMessagePlugin-schema.xml
  64. &gt;&gt; file+???? config/generated-opFavoritePlugin-schema.xml
  65. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...ted-opFavoritePlugin-schema.xml
  66. &gt;&gt; file+???? config/generated-opAshiatoPlugin-schema.xml
  67. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...ated-opAshiatoPlugin-schema.xml
  68. &gt;&gt; file+???? config/generated-opOpenSocialPlugin-schema.xml
  69. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...d-opOpenSocialPlugin-schema.xml
  70. &gt;&gt; file+???? config/generated-opIntroFriendPlugin-schema.xml
  71. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...-opIntroFriendPlugin-schema.xml
  72. &gt;&gt; file+???? config/generated-opDiaryPlugin-schema.xml
  73. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...erated-opDiaryPlugin-schema.xml
  74. &gt;&gt; propel??? Running "om" phing task
  75. &gt;&gt; file-???? /path/to/openpne3root/config/gen...toPlugin-schema-transformed.xml
  76. &gt;&gt; file-???? /path/to/openpne3root/config/generated-opMessagePlugin-schema.xml
  77. &gt;&gt; file-???? /path/to/openpne3root/config/gen...ryPlugin-schema-transformed.xml
  78. &gt;&gt; file-???? /path/to/openpne3root/config/gen...icPlugin-schema-transformed.xml
  79. &gt;&gt; file-???? /path/to/openpne3root/config/generated-schema-transformed.xml
  80. &gt;&gt; file-???? /path/to/openpne3root/config/generated-opAshiatoPlugin-schema.xml
  81. &gt;&gt; file-???? /path/to/openpne3root/config/gen...-opIntroFriendPlugin-schema.xml
  82. &gt;&gt; file-???? /path/to/openpne3root/config/gen...ted-opFavoritePlugin-schema.xml
  83. &gt;&gt; file-???? /path/to/openpne3root/config/gen...CommunityTopicPlugin-schema.xml
  84. &gt;&gt; file-???? /path/to/openpne3root/config/gen...d-opOpenSocialPlugin-schema.xml
  85. &gt;&gt; file-???? /path/to/openpne3root/config/gen...gePlugin-schema-transformed.xml
  86. &gt;&gt; file-???? /path/to/openpne3root/config/gen...tePlugin-schema-transformed.xml
  87. &gt;&gt; file-???? /path/to/openpne3root/config/gen...ndPlugin-schema-transformed.xml
  88. &gt;&gt; file-???? /path/to/openpne3root/config/gen...alPlugin-schema-transformed.xml
  89. &gt;&gt; file-???? /path/to/openpne3root/config/generated-opDiaryPlugin-schema.xml
  90. &gt;&gt; file-???? /path/to/openpne3root/config/generated-schema.xml
  91. &gt;&gt; autoload? reloading autoloading
  92.  
  93. Phing was run before and used many custom classes that might conflict with
  94. your model classes. In case of errors try running "propel:build-forms" and
  95. "propel:build-filters" alone. This is due to a PHP limitation that cannot be
  96. fixed in symfony.
  97.  
  98. &gt;&gt; propel??? generating form classes
  99. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/FileBinForm.class.php
  100. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/SnsConfigForm.class.php
  101. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/opAuthConfigForm.class.php
  102. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/MemberRelationshipForm.class.php
  103. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/CommunityForm.class.php
  104. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/sfOpenPNEAuthForm.class.php
  105. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/M...berConfigPasswordForm.class.php
  106. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/M...mberConfigAccessBlock.class.php
  107. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/M...nfigMobileAddressForm.class.php
  108. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/M...erConfigPcAddressForm.class.php
  109. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/M...mberConfigGeneralForm.class.php
  110. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/BlacklistForm.class.php
  111. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/NavigationI18nForm.class.php
  112. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/MemberImageForm.class.php
  113. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/CommunityConfigForm.class.php
  114. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/GadgetConfigForm.class.php
  115. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/ProfileOptionForm.class.php
  116. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/opAuthRegisterForm.class.php
  117. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/ProfileI18nForm.class.php
  118. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/b...BaseMemberProfileForm.class.php
  119. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseFileForm.class.php
  120. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/b...aseNavigationI18nForm.class.php
  121. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseGadgetForm.class.php
  122. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseCommunityForm.class.php
  123. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/b...BaseProfileOptionForm.class.php
  124. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseNavigationForm.class.php
  125. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/b.../BaseGadgetConfigForm.class.php
  126. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/b...emberRelationshipForm.class.php
  127. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseBlacklistForm.class.php
  128. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseAdminUserForm.class.php
  129. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseMemberImageForm.class.php
  130. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseFileBinForm.class.php
  131. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/b...seCommunityMemberForm.class.php
  132. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseMemberForm.class.php
  133. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/b...ProfileOptionI18nForm.class.php
  134. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseProfileForm.class.php
  135. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseSnsConfigForm.class.php
  136. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/b...seCommunityConfigForm.class.php
  137. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/b.../BaseMemberConfigForm.class.php
  138. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/base/BaseProfileI18nForm.class.php
  139. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/MemberConfigForm.class.php
  140. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/opAuthLoginForm.class.php
  141. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/CommunityMemberForm.class.php
  142. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/InviteForm.class.php
  143. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/opLanguageSelecterForm.class.php
  144. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/NavigationForm.class.php
  145. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/BaseFormPropel.class.php
  146. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/ProfileOptionI18nForm.class.php
  147. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/MemberProfileForm.class.php
  148. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/MemberForm.class.php
  149. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/s...mberProfileSearchForm.class.php
  150. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/InformationConfigForm.class.php
  151. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/GadgetForm.class.php
  152. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/sfOpenPNEPasswordForm.class.php
  153. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/ProfileForm.class.php
  154. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/AdminUserForm.class.php
  155. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/FileForm.class.php
  156. &gt;&gt; tokens??? /path/to/openpne3root/lib/form/OpenPNEFormAutoGenerate.class.php
  157. &gt;&gt; propel??? generating filter form classes
  158. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...nyFromNonMobileFilter.class.php
  159. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...unityConfigFormFilter.class.php
  160. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/NavigationFormFilter.class.php
  161. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/GadgetConfigFormFilter.class.php
  162. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/BlacklistFormFilter.class.php
  163. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/FileFormFilter.class.php
  164. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/ProfileI18nFormFilter.class.php
  165. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/MemberConfigFormFilter.class.php
  166. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/MemberFormFilter.class.php
  167. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...elationshipFormFilter.class.php
  168. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...eOptionI18nFormFilter.class.php
  169. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...eOptionI18nFormFilter.class.php
  170. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...unityConfigFormFilter.class.php
  171. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...igationI18nFormFilter.class.php
  172. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...emberConfigFormFilter.class.php
  173. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...seCommunityFormFilter.class.php
  174. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...BaseFileBinFormFilter.class.php
  175. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...ProfileI18nFormFilter.class.php
  176. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...seAdminUserFormFilter.class.php
  177. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...se/BaseFileFormFilter.class.php
  178. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter.../BaseFormFilterPropel.class.php
  179. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...unityMemberFormFilter.class.php
  180. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...BaseProfileFormFilter.class.php
  181. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter.../BaseGadgetFormFilter.class.php
  182. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...adgetConfigFormFilter.class.php
  183. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...eNavigationFormFilter.class.php
  184. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...elationshipFormFilter.class.php
  185. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...seSnsConfigFormFilter.class.php
  186. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...MemberImageFormFilter.class.php
  187. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...seBlacklistFormFilter.class.php
  188. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...ofileOptionFormFilter.class.php
  189. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...mberProfileFormFilter.class.php
  190. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter.../BaseMemberFormFilter.class.php
  191. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...mberProfileFormFilter.class.php
  192. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/SnsConfigFormFilter.class.php
  193. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...ofileOptionFormFilter.class.php
  194. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/ProfileFormFilter.class.php
  195. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...unityMemberFormFilter.class.php
  196. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/AdminUserFormFilter.class.php
  197. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/sfMobileIOFilter.class.php
  198. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...igationI18nFormFilter.class.php
  199. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/opEmojiFilter.class.php
  200. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...bledApplicationFilter.class.php
  201. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter...penPNEExecutionFilter.class.php
  202. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/GadgetFormFilter.class.php
  203. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/MemberImageFormFilter.class.php
  204. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/CommunityFormFilter.class.php
  205. &gt;&gt; tokens??? /path/to/openpne3root/lib/filter/FileBinFormFilter.class.php
  206. &gt;&gt; schema??? converting "/path/to/openpne3root/config/schema.yml" to XML
  207. &gt;&gt; schema??? putting /path/to/openpne3root/config/generated-schema.xml
  208. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  209. &gt;&gt; schema??? putting /path/to/openpne3root/pl...CommunityTopicPlugin-schema.xml
  210. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  211. &gt;&gt; schema??? putting /path/to/openpne3root/pl...ated-opMessagePlugin-schema.xml
  212. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  213. &gt;&gt; schema??? putting /path/to/openpne3root/pl...ted-opFavoritePlugin-schema.xml
  214. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  215. &gt;&gt; schema??? putting /path/to/openpne3root/pl...ated-opAshiatoPlugin-schema.xml
  216. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  217. &gt;&gt; schema??? putting /path/to/openpne3root/pl...d-opOpenSocialPlugin-schema.xml
  218. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  219. &gt;&gt; schema??? putting /path/to/openpne3root/pl...-opIntroFriendPlugin-schema.xml
  220. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  221. &gt;&gt; schema??? putting /path/to/openpne3root/pl...erated-opDiaryPlugin-schema.xml
  222. &gt;&gt; file+???? config/generated-opCommunityTopicPlugin-schema.xml
  223. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...CommunityTopicPlugin-schema.xml
  224. &gt;&gt; file+???? config/generated-opMessagePlugin-schema.xml
  225. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...ated-opMessagePlugin-schema.xml
  226. &gt;&gt; file+???? config/generated-opFavoritePlugin-schema.xml
  227. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...ted-opFavoritePlugin-schema.xml
  228. &gt;&gt; file+???? config/generated-opAshiatoPlugin-schema.xml
  229. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...ated-opAshiatoPlugin-schema.xml
  230. &gt;&gt; file+???? config/generated-opOpenSocialPlugin-schema.xml
  231. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...d-opOpenSocialPlugin-schema.xml
  232. &gt;&gt; file+???? config/generated-opIntroFriendPlugin-schema.xml
  233. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...-opIntroFriendPlugin-schema.xml
  234. &gt;&gt; file+???? config/generated-opDiaryPlugin-schema.xml
  235. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...erated-opDiaryPlugin-schema.xml
  236. &gt;&gt; propel??? Running "sql" phing task
  237. &gt;&gt; file-???? /path/to/openpne3root/config/gen...toPlugin-schema-transformed.xml
  238. &gt;&gt; file-???? /path/to/openpne3root/config/generated-opMessagePlugin-schema.xml
  239. &gt;&gt; file-???? /path/to/openpne3root/config/gen...ryPlugin-schema-transformed.xml
  240. &gt;&gt; file-???? /path/to/openpne3root/config/gen...icPlugin-schema-transformed.xml
  241. &gt;&gt; file-???? /path/to/openpne3root/config/generated-schema-transformed.xml
  242. &gt;&gt; file-???? /path/to/openpne3root/config/generated-opAshiatoPlugin-schema.xml
  243. &gt;&gt; file-???? /path/to/openpne3root/config/gen...-opIntroFriendPlugin-schema.xml
  244. &gt;&gt; file-???? /path/to/openpne3root/config/gen...ted-opFavoritePlugin-schema.xml
  245. &gt;&gt; file-???? /path/to/openpne3root/config/gen...CommunityTopicPlugin-schema.xml
  246. &gt;&gt; file-???? /path/to/openpne3root/config/gen...d-opOpenSocialPlugin-schema.xml
  247. &gt;&gt; file-???? /path/to/openpne3root/config/gen...gePlugin-schema-transformed.xml
  248. &gt;&gt; file-???? /path/to/openpne3root/config/gen...tePlugin-schema-transformed.xml
  249. &gt;&gt; file-???? /path/to/openpne3root/config/gen...ndPlugin-schema-transformed.xml
  250. &gt;&gt; file-???? /path/to/openpne3root/config/gen...alPlugin-schema-transformed.xml
  251. &gt;&gt; file-???? /path/to/openpne3root/config/generated-opDiaryPlugin-schema.xml
  252. &gt;&gt; file-???? /path/to/openpne3root/config/generated-schema.xml
  253. &gt;&gt; schema??? converting "/path/to/openpne3root/config/schema.yml" to XML
  254. &gt;&gt; schema??? putting /path/to/openpne3root/config/generated-schema.xml
  255. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  256. &gt;&gt; schema??? putting /path/to/openpne3root/pl...CommunityTopicPlugin-schema.xml
  257. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  258. &gt;&gt; schema??? putting /path/to/openpne3root/pl...ated-opMessagePlugin-schema.xml
  259. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  260. &gt;&gt; schema??? putting /path/to/openpne3root/pl...ted-opFavoritePlugin-schema.xml
  261. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  262. &gt;&gt; schema??? putting /path/to/openpne3root/pl...ated-opAshiatoPlugin-schema.xml
  263. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  264. &gt;&gt; schema??? putting /path/to/openpne3root/pl...d-opOpenSocialPlugin-schema.xml
  265. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  266. &gt;&gt; schema??? putting /path/to/openpne3root/pl...-opIntroFriendPlugin-schema.xml
  267. &gt;&gt; schema??? converting "/var/duo/OpenPNE-30...lugin/config/schema.yml" to XML
  268. &gt;&gt; schema??? putting /path/to/openpne3root/pl...erated-opDiaryPlugin-schema.xml
  269. &gt;&gt; file+???? config/generated-opCommunityTopicPlugin-schema.xml
  270. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...CommunityTopicPlugin-schema.xml
  271. &gt;&gt; file+???? config/generated-opMessagePlugin-schema.xml
  272. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...ated-opMessagePlugin-schema.xml
  273. &gt;&gt; file+???? config/generated-opFavoritePlugin-schema.xml
  274. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...ted-opFavoritePlugin-schema.xml
  275. &gt;&gt; file+???? config/generated-opAshiatoPlugin-schema.xml
  276. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...ated-opAshiatoPlugin-schema.xml
  277. &gt;&gt; file+???? config/generated-opOpenSocialPlugin-schema.xml
  278. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...d-opOpenSocialPlugin-schema.xml
  279. &gt;&gt; file+???? config/generated-opIntroFriendPlugin-schema.xml
  280. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...-opIntroFriendPlugin-schema.xml
  281. &gt;&gt; file+???? config/generated-opDiaryPlugin-schema.xml
  282. &gt;&gt; file-???? /path/to/openpne3root/plugins/op...erated-opDiaryPlugin-schema.xml
  283. &gt;&gt; propel??? Running "insert-sql" phing task
  284. &gt;&gt; file-???? /path/to/openpne3root/config/generated-opMessagePlugin-schema.xml
  285. &gt;&gt; file-???? /path/to/openpne3root/config/generated-opAshiatoPlugin-schema.xml
  286. &gt;&gt; file-???? /path/to/openpne3root/config/gen...-opIntroFriendPlugin-schema.xml
  287. &gt;&gt; file-???? /path/to/openpne3root/config/gen...ted-opFavoritePlugin-schema.xml
  288. &gt;&gt; file-???? /path/to/openpne3root/config/gen...CommunityTopicPlugin-schema.xml
  289. &gt;&gt; file-???? /path/to/openpne3root/config/gen...d-opOpenSocialPlugin-schema.xml
  290. &gt;&gt; file-???? /path/to/openpne3root/config/generated-opDiaryPlugin-schema.xml
  291. &gt;&gt; file-???? /path/to/openpne3root/config/generated-schema.xml
  292. &gt;&gt; propel??? load data from "/var/duo/OpenPN...unityTopicPlugin/data/fixtures"
  293. &gt;&gt; propel??? load data from "/var/duo/OpenPN.../opMessagePlugin/data/fixtures"
  294. &gt;&gt; propel??? load data from "/var/duo/OpenPN...opFavoritePlugin/data/fixtures"
  295. &gt;&gt; propel??? load data from "/var/duo/OpenPN.../opAshiatoPlugin/data/fixtures"
  296. &gt;&gt; propel??? load data from "/var/duo/OpenPN...OpenSocialPlugin/data/fixtures"
  297. &gt;&gt; propel??? load data from "/var/duo/OpenPN...viteFriendPlugin/data/fixtures"
  298. &gt;&gt; propel??? load data from "/var/duo/OpenPN.../opRankingPlugin/data/fixtures"
  299. &gt;&gt; propel??? load data from "/var/duo/OpenPN...ins/opBlogPlugin/data/fixtures"
  300. &gt;&gt; propel??? load data from "/var/duo/OpenPN...ntroFriendPlugin/data/fixtures"
  301. &gt;&gt; propel??? load data from "/var/duo/OpenPN...ns/opDiaryPlugin/data/fixtures"
  302. &gt;&gt; propel??? load data from "/path/to/openpne3root/data/fixtures"
  303. &gt;&gt; plugin??? Configuring plugin - sfProtoculousPlugin
  304.  
  305. Warning: symlink(): File exists in /path/to/openpne3root/lib/symfony/task/sfFilesystem.class.php on line 224
  306. &gt;&gt; plugin??? Configuring plugin - sfPropelPlugin
  307.  
  308. Warning: symlink(): File exists in /path/to/openpne3root/lib/symfony/task/sfFilesystem.class.php on line 224
  309. &gt;&gt; plugin??? Configuring plugin - opCommunityTopicPlugin
  310.  
  311. Warning: symlink(): File exists in /path/to/openpne3root/lib/symfony/task/sfFilesystem.class.php on line 224
  312. &gt;&gt; plugin??? Configuring plugin - opMessagePlugin
  313.  
  314. Warning: symlink(): File exists in /path/to/openpne3root/lib/symfony/task/sfFilesystem.class.php on line 224
  315. &gt;&gt; plugin??? Configuring plugin - sfImageHandlerPlugin
  316. &gt;&gt; plugin??? Configuring plugin - opFavoritePlugin
  317. &gt;&gt; plugin??? Configuring plugin - sfFormExtraPlugin
  318.  
  319. Warning: symlink(): File exists in /path/to/openpne3root/lib/symfony/task/sfFilesystem.class.php on line 224
  320. &gt;&gt; plugin??? Configuring plugin - opAshiatoPlugin
  321. &gt;&gt; plugin??? Configuring plugin - opAuthMailAddressPlugin
  322. &gt;&gt; plugin??? Configuring plugin - opOpenSocialPlugin
  323.  
  324. Warning: symlink(): File exists in /path/to/openpne3root/lib/symfony/task/sfFilesystem.class.php on line 224
  325. &gt;&gt; plugin??? Configuring plugin - opInviteFriendPlugin
  326.  
  327. Warning: symlink(): File exists in /path/to/openpne3root/lib/symfony/task/sfFilesystem.class.php on line 224
  328. &gt;&gt; plugin??? Configuring plugin - opWebAPIPlugin
  329. &gt;&gt; plugin??? Configuring plugin - opRankingPlugin
  330.  
  331. Warning: symlink(): File exists in /path/to/openpne3root/lib/symfony/task/sfFilesystem.class.php on line 224
  332. &gt;&gt; plugin??? Configuring plugin - opBlogPlugin
  333.  
  334. Warning: symlink(): File exists in /path/to/openpne3root/lib/symfony/task/sfFilesystem.class.php on line 224
  335. &gt;&gt; plugin??? Configuring plugin - opIntroFriendPlugin
  336. &gt;&gt; plugin??? Configuring plugin - opAuthMobileUIDPlugin
  337. &gt;&gt; plugin??? Configuring plugin - opAuthOpenIDPlugin
  338. &gt;&gt; plugin??? Configuring plugin - opDiaryPlugin
  339.  
  340. Warning: symlink(): File exists in /path/to/openpne3root/lib/symfony/task/sfFilesystem.class.php on line 224
  341. &gt;&gt; plugin??? Configuring plugin - sfWebBrowserPlugin
  342. &gt;&gt; cache???? Clearing cache type "all" for "api" app and "test" env
  343. &gt;&gt; file+???? /path/to/openpne3root/data/api_test-cli.lck
  344. &gt;&gt; chmod 777 /path/to/openpne3root/data/api_test-cli.lck
  345. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...ig/config_member_config.yml.php
  346. &gt;&gt; file-???? /path/to/openpne3root/cache/api/test/config/config_gadget.yml.php
  347. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...nfig_side_banner_gadget.yml.php
  348. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...onfig/config_sns_config.yml.php
  349. &gt;&gt; file-???? /path/to/openpne3root/cache/api/test/config/config_app.yml.php
  350. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...ig/config_mobile_gadget.yml.php
  351. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...config_community_config.yml.php
  352. &gt;&gt; file-???? /path/to/openpne3root/cache/api/.../config_config_handlers.yml.php
  353. &gt;&gt; file-???? /path/to/openpne3root/cache/api/.../config/config_settings.yml.php
  354. &gt;&gt; file-???? /path/to/openpne3root/data/api_test-cli.lck
  355. &gt;&gt; cache???? Clearing cache type "all" for "api" app and "dev" env
  356. &gt;&gt; file+???? /path/to/openpne3root/data/api_dev-cli.lck
  357. &gt;&gt; chmod 777 /path/to/openpne3root/data/api_dev-cli.lck
  358. &gt;&gt; file-???? /path/to/openpne3root/cache/api/.../config/config_autoload.yml.php
  359. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...ig/config_member_config.yml.php
  360. &gt;&gt; file-???? /path/to/openpne3root/cache/api/dev/config/config_gadget.yml.php
  361. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...config/config_databases.yml.php
  362. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...nfig_side_banner_gadget.yml.php
  363. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...onfig/config_sns_config.yml.php
  364. &gt;&gt; file-???? /path/to/openpne3root/cache/api/dev/config/config_app.yml.php
  365. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...ig/config_mobile_gadget.yml.php
  366. &gt;&gt; file-???? /path/to/openpne3root/cache/api/...config_community_config.yml.php
  367. &gt;&gt; file-???? /path/to/openpne3root/cache/api/.../config_config_handlers.yml.php
  368. &gt;&gt; file-???? /path/to/openpne3root/cache/api/.../config/config_settings.yml.php
  369. &gt;&gt; file-???? /path/to/openpne3root/data/api_dev-cli.lck

データベースのことを聞かれた後は、すごくいろいろなことをやってくれています。./symfony project:persissionsとか./symfony prope:build-all-loadとか、そこらへんのコマンドをしているのでしょうか?

5.mod_rewriteの設定・・・私の環境では必要ありません。

6.ブラウザからアクセス(PC)・・・できます。

openpne300-pc_frontend-index

7.ブラウザからアクセス(管理画面)・・・できます。

openpne300-pc_backend-index

インストールは完了です。つまづいたのは、openpne:installコマンドくらいかな?通常画面のデザインは、OpenPNEの公式サイトによく似ていますね。所々のアイコンがOpenPNE2時代のものなので、ちょっとミスマッチですね。管理画面は3ペイン式として一新されていました。管理画面とかもプラグインで拡張できたりしないのかな?そこら辺はおいおいですね。

うーん。。。思った以上に時間がないな。PNEたんと遊ぶ時間をください。。。


[OpenPNE3]alpha3のインストール時の注意

Posted under OpenPNE3,php,symfony by uechoco on 金曜日 28 11月 2008 at 16 : 39 : 38

OpenPNE3は先日alpha3になりました。一応インストールぐらいは済ませようと、先ほどインストールしましたが、思わぬところでエラーが発生したので書き記しておきます。

環境:

OpenPNE3alpha4以降はsymfony1.2に移行するようなのですが、今回インストールしたのはalpha3なのでsymfony 1.1で動くはずです。

で、インストールガイドに従って、OpenPNE3をインストールします。alpha3からはsymfonyコマンドを拡張したようなので、"symfony openpne:install DSN"というコマンドで一発インストールが可能になりました。いいですね!

で、http://openpne3a3.localhost/に割り当てたので、http://openpne3a3.localhost/pc_frontend_dev.phpにアクセスすると、以下のようなエラーが発生しました。

TEXT:
  1. Fatal error: Class 'sfRoute' not found in /var/www/OpenPNE-3alpha3/plugins/opOpenSocialPlugin/lib/user/opOpenSocialPluginRouting.class.php on line 8

opOpenSocialPluginというのがエラーを起こしています。sfRouteというクラスを調べると、どうやらsymfony 1.2系のクラスのようです。というかOpenPNE3alpha4のTracレポートをみると、opOpenSocialPluginはalpha4で(symfony1.2で)実装予定の機能のようです。どうやらalpha3リリース時にsubversionのtagsを切るときに混じってしまったのでしょうか。

エラーの回避方法は、/plugins/opOpenSocialPluginのディレクトリごと消去するだけです。

無事にalpha3が起動できました。


« 前ページへ次ページへ »

Copyright © 2012 うえちょこ@ぼろぐ. WP Theme created by Web Top.