質問 > 管理機能 > open_basedir, is not within the allowed path(s) |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
dab |
投稿日時: 2009/3/31 0:00
対応状況: −−−
|
半人前 登録日: 2009/1/31 居住地: 京都 投稿: 13 |
Re: open_basedir, is not within the allowed path(s) サーバーはJ-Web ( http://aiosl.com/j-web/service.html ) です。
設置依頼を受けての設置ですので、依頼者様がどのようなサービスで契約されているのかは不明ですが、 たぶんメールアドレスの個数とウイルスチェックの有無の違いしかないと思います。 phpinfo()によると、 OSはLinuxとだけ出ていて、ディストリビューションやバージョンなどは不明です。 すみませんが、何が有用な情報なのかわかりませんので、 phpinfo()の中で、有用な情報などがあれば補足します。 調べてみたところ、 data/class/SC_UploadFile.php 83行目以降、function makeTempFile() 102行目
となっていますので、 PHPのmove_uploaded_file()を使って/tmpディレクトリからEC-Cubeをインストールしたディレクトリに移動させるなどすれば対策できるのではないかと思ったのですが、
としてみたところ、
やはりセーフモードとopen_basedirの制限に引っかかったようで、
サムネイルを生成する関数でも、ファイルがないというメッセージが表示され、アップロードが中断されました。 参考 http://jp.php.net/manual/ja/reserved.variables.files.php http://jp.php.net/manual/ja/function.move-uploaded-file.php |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
open_basedir, is not within the allowed path(s) | dab | 2009/3/30 21:45 |
Re: open_basedir, is not within the allowed path(s) | tao_s | 2009/3/30 22:37 |
Re: open_basedir, is not within the allowed path(s) | seasoft | 2009/3/30 22:50 |
» Re: open_basedir, is not within the allowed path(s) | dab | 2009/3/31 0:00 |
Re: open_basedir, is not within the allowed path(s) | dab | 2009/3/31 1:04 |