なるほど、そういうことですか。
書き出せない理由が分かりました。 基本認証が原因です。
基本認証を外せば問題なく書き出せます。お騒がせしました。
開発中のサイトと非公開の当社開発サーバなので基本認証をかけて保護していますが、それが原因のようです。
フォルダは、システム(PHP-->OS)ダイレクトで作成しますが、ファイル(HTML)の方は、fopenにURLを
でも、フォルダは作れるのにドキュメントは作れないというのは、変ですね。。。
この情報はTipsとしてどこかに掲載してありますでしょうか?
(フォーラムのすべてに目を通せていないので・・・)
# For full documentation and other suggested options, please see
# http://svn.modxcms.com/docs/display/MODx096/Friendly+URL+Solutions
# including for unexpected logouts in multi-server/cloud environments
# Options +FollowSymlinks
RewriteEngine On
RewriteBase /modx_2
# Fix Apache internal dummy connections from breaking [(site_url)] cache
RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]
# Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^example\.com [NC]
#RewriteRule (.*) http://example.com/$1 [R=301,L]
# Exclude /assets and /manager directories from rewrite rules
RewriteRule ^(manager|assets) - [L]
# For Friendly URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC]
# Reduce server overhead by enabling output compression if supported.
#php_flag zlib.output_compression On
#php_value zlib.output_compression_level 5
if (!scanDirectory($dirpath, $dircontent)) exit;
// print_r ($dircontent);
最初に確認したいのですが、"C:xampp\modx_2"は、"C:xampp\htdocs\modx_2"ですよね?その通りです。失礼致しました。
manager\actions\export_site.static.php がエクスポート処理です。
L234近辺のscanDirectory関数が怪しいと思うので、以下の順序でトライしてみてもらえますか。
1.scanDirectory()を無効化
if (!scanDirectory($dirpath, $dircontent)) exit;
上記をコメントアウトしてからエクスポート > 消えなくなったらここが原因?