您在這裡

"Backup"模組安裝後,設定頁出現大量錯誤訊息

yasuo's 的頭像
yasuo 在 2008-01-30 (三) 15:18 發表

drupal 5.6
想升級到5.7所以先做一次備份
使用模組"Backup"
安裝過程如下
解壓縮上傳到/sites/all/modules
管理admin > 啟動模組enable
啟動完成後到管理admin > access control 開啟備份權限
admin > backup 進入備份頁面
以上均是說明文件內的標準程序
卻出現以下錯誤訊息
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/sbin/mysqldump) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/sbin/mysqldump) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/bin/mysqldump) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/mysqldump) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/X11R6/bin/mysqldump) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/sbin/tar) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/sbin/tar) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/bin/tar) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/tar) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/X11R6/bin/tar) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/sbin/gzip) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/sbin/gzip) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/bin/gzip) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/gzip) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/X11R6/bin/gzip) is not within the allowed path(s): (/var/www/vhosts/acepaley.com/httpdocs:/tmp) in /var/www/vhosts/acepaley.com/httpdocs/blog/sites/all/modules/backup/backup.module on line 461.
System program "mysqldump" not found in $PATH. Please check with your sysadmin for further assistance.

不明白為什麼
我的安裝程序也無問題
請問是怎麼回是呢?

沒用過這個模組。
但是看這些錯誤訊息,看起來是權限的關係...
沒有權限"逛"到這些資料夾去找備分的程式...
所以就出現一堆錯誤訊息了...

可能得修改 資料夾的權限 或是 Apache 的設定,似乎不是用模組本身可以解決的問題。

以上猜測僅供參考...

我只是一個撰碼員,靠寫程式過活。
自從 Drupal 在 4.7 版的時候知道他的存在,但是後來跳去其它程式語言很久沒回來。
變成 D5 比較熟,D6 知道一點,D7 還在學的狀況…