포럼: osCommerce FAQ (Thread #24386)

インストール・スクリプトが起動できない (2009-10-28 18:08 by #46700)

http://tips.oscommerce.oops.jp/?cid=31727
の手順に従いインストールに従い、手順8.インストール・スクリプトの起動まで来て
ブラウザでにhttp://[サイト名]/catalog/installを入れてもインストール画面が起動されない、代わりにcatalogの下のフォルダ・ファイル一覧が表示されます。
注:自分のマシンをapacheのWEBSERVERにしているので、サイト名が"http://localhost/oscommerce-2.2ms1j/"となっています。

よろしくお願いします。

Reply to #46700×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: インストール・スクリプトが起動できない (2009-10-29 09:36 by #46712)

補足:
一覧に表示されるinstall.phpを直接にクリックしたら、下記のエラーが発生します

Warning: require(includes/functions/general.php) [function.require]: failed to open stream: No such file or directory in C:\Apache2.2\htdocs\oscommerce-2.2ms1j\catalog\install\includes\application.php on line 28

Fatal error: require() [function.require]: Failed opening required 'includes/functions/general.php' (include_path='C:\Apache2.2\htdocs\oscommerce-2.2ms1j\catalog\includes') in C:\Apache2.2\htdocs\oscommerce-2.2ms1j\catalog\install\includes\application.php on line 28

存在しないといわれる'includes/functions/general.php'ちゃんと存在していますが。。
Reply to #46700

Reply to #46712×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: インストール・スクリプトが起動できない (2009-10-29 09:43 by Anonymous #46714)

> 展開されたディレクトリoscommerce-2.2ms1jの下の
> 'catalog'と'admin'の2つのディレクトリを
> Webサーバにコピーします。

であり、

http://localhost/oscommerce-2.2ms1j/

となるのは誤り
Reply to #46712

Reply to #46714×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: インストール・スクリプトが起動できない (2009-10-29 09:39 by Anonymous #46713)

・DirectoryIndexにindex.phpを追加
http://[サイト名]/catalog/install/index.php

のどちらかで

http://httpd.apache.org/docs/2.0/ja/mod/mod_dir.html
Reply to #46700

Reply to #46713×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: インストール・スクリプトが起動できない (2009-10-29 16:25 by #46718)

httpd.conf のDocumentRoot 設定で、Apacheデフォルト"C:/Apache2.2/htdocs" のままで、
解凍したディレクトリに合わせていないのは原因のようです。
これから試します。
Reply to #46700

Reply to #46718×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: インストール・スクリプトが起動できない (2009-10-29 17:07 by #46720)

documentRoot を "C:\Apache2.2\htdocs\oscommerce-2.2ms1j"に直し試したが、まだ同じエラーが出る。

因みに、私のOSはWINDOWSです。"includes/functions/general.php"等のような相対パスが認識できないわけ???
Reply to #46700

Reply to #46720×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: インストール・スクリプトが起動できない (2009-10-29 18:03 by Anonymous #46722)

Apacheのドキュメントルートに
/catalogと/adminを置くのがフツー

エラーが出るのはosCの設定が
不適切なため

/oscommerce-2.2ms1j下で
動かしたいなら両configure.phpを
適切に変更する必要あり
Reply to #46720

Reply to #46722×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login