Joomla!
http://forum.joomla.org/

Joomla! 1.0.2 インストーラーの問題
http://forum.joomla.org/viewtopic.php?f=141&t=10265
Page 1 of 1

Author:  athron [ Tue Oct 04, 2005 11:40 am ]
Post subject:  Joomla! 1.0.2 インストーラーの問題

1.0.2を新規にインストールするときに、インストーラーが誤ったURLを生成します。

http://forum.joomla.org/index.php/topic ... l#msg68740

インストール処理は継続できますが、出来上がったサイトの挙動が保証できません。

bug trackerに報告しました。
  artf1382:  http://developer.joomla.org/sf/go/artf1382?nav=1

1.0.2にする場合は、1.0.1インストール後に、updateするようにしてください。

Author:  athron [ Tue Oct 04, 2005 3:31 pm ]
Post subject:  Re: Joomla! 1.0.2 インストーラーの問題

発生するパターンが分かりました。
サブドメインのトップにインストールしようとすると起きるようです。

例えば、自分のサイトドメインに、joomlaサブドメインを作った場合、
http://joomla.yoursite.url/ にインストールしようとすると "//"が生成されて、
http://joomla.yoursite.url//installation/index.phpとなり、

http://yoursite.url/joomla/ にインストールする場合は、正常に、
http://joomla.yoursite.url/installation/index.php となります。

bag trackerにコメントしておきます。

Author:  athron [ Wed Oct 05, 2005 12:01 pm ]
Post subject:  Re: Joomla! 1.0.2 インストーラーの問題

解決しました。 :D

joomla 1.0.2 で変更があった、  {josroot}/index.php に問題がありました。

リリースコード
Code:
if (!file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10) {
    header("Location: http://" . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/installation/index.php" );
   exit();
}


解決策
Code:
if (!file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10) {
   if(dirname($_SERVER['PHP_SELF']) == "/"):
      $dirslash = "/";
   else:
      $dirslash = dirname($_SERVER['PHP_SELF']) . "/";
   endif;

     header("Location: http://" . $_SERVER['HTTP_HOST'] . $dirslash . "installation/index.php" );
   exit();
}



bag trackerに、コメントを追加しました。
http://developer.joomla.org/sf/go/artf1382?nav=1

Author:  athron [ Tue Oct 11, 2005 2:29 pm ]
Post subject:  Re: Joomla! 1.0.2 インストーラーの問題

SVNには、既に修正が取り込まれました。

次の1.0.3でリリースされます。

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/