質問 > 管理機能 > open_basedir, is not within the allowed path(s) |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
dab |
投稿日時: 2009/3/31 1:04
対応状況: −−−
|
半人前 登録日: 2009/1/31 居住地: 京都 投稿: 13 |
Re: open_basedir, is not within the allowed path(s) 一時ディレクトリをopen_basedirで指定されたディレクトリ内に新しくディレクトリを作り、
アクセス属性を755にすることで、 詳しい動作検証は今からですが、とりあえずアップロードできるようになりました。 IMAGE_TEMP_URLのアクセス属性が、move_upload_file()のチェックに引っかかったものと思います。 長くなりますが、data/class/SC_UploadFile.php 81行目のmakeTempFile関数を全文載せておきます。 追加したのは"$dab_tmp_file"以降の3行です。 "is not within the allowed path" に関するエラーが表示された場合の対策になると思います。
|
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
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 |