Jun 172007
DrupalのXML Sitemapモジュールが動いてませんでした。一時ファイルの出力に失敗しているようです。
The selected file ${tmp}/fileRKrk1l could not be copied. The selected file ${tmp}/filexlYRBg could not be copied. warning: readfile() [function.readfile]: Unable to access ${tmp}/drupal_gsitemap/${hostname}/index.xml.gz in /path/to/sites/all/modules/gsitemap/gsitemap.module on line 570. warning: readfile(${tmp}/drupal_gsitemap/${hostname}/index.xml.gz) [function.readfile]: failed to open stream: Success in /path/to/sites/all/modules/gsitemap/gsitemap.module on line 570.
PHP Safeモードの問題なので、一時ディレクトリをあらかじめ作成し、所有者がウェブサーバの実行ユーザにならないようにして解決。
$ mkdir ${tmp}/drupal_gsitemap $ mkdir ${tmp}/drupal_gsitemap/${hostname} $ chmod -R +w ${tmp}/drupal_gsitemap
XREAでDrupalを使うなら、素直にCGIモードで動かしたほうがいいのかも。
Sorry, the comment form is closed at this time.