Help! Lỗi này là lỗi gì vậy warning: realpath() [function.realpath]: SAFE MODE Restriction in effect

Events happening in the community are now at Drupal community events on www.drupal.org.
scorpions0502's picture

Anh nào biết chỉ em với. Lỗi này là lỗi gì vậy warning: realpath() [function.realpath]: SAFE MODE Restriction in effect
web em đang bị lỗi này mong các anh giúp đỡ em với

Comments

dcpromaster's picture

Bạn nên thiết lập lại cấu trúc thư mục gốc(root) cho đúng.

osatadao's picture

Mới cài đặt xong thì gặp cái này
* Notice: Undefined variable: errno in drupal_http_request() (line 829 of /home/vol11/byethost18.com/b18_8680419/htdocs/includes/common.inc).
* Notice: Undefined variable: errstr in drupal_http_request() (line 830 of /home/vol11/byethost18.com/b18_8680419/htdocs/includes/common.inc).
Chuyển host khác thì gặp
* Notice: Use of undefined constant WATCHDOG_ERR - assumed 'WATCHDOG_ERR' trong file_unmanaged_copy() (dòng 909 của /var/www/vhosts/xhotgirl.info/httpdocs/hot/includes/file.inc).
* PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'WATCHDOG_ERR' for column 'severity' at row 1: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => file [:db_insert_placeholder_2] => The specified file %file could not be copied to %destination. [:db_insert_placeholder_3] => a:2:{s:5:"%file";s:22:"temporary://filedrwcXf";s:12:"%destination";s:68:"public://languages/vi_6LsM_3yQG8oJ4fh9VQ_59Md9yW9c53kea5Na3Hh60B8.js";} [:db_insert_placeholder_4] => WATCHDOG_ERR [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://www.xhotgirl.info/hot/ [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 27.72.0.29 [:db_insert_placeholder_9] => 1313315027 ) trong dblog_watchdog() (dòng 157 của /var/www/vhosts/xhotgirl.info/httpdocs/hot/modules/dblog/dblog.module).

Có ai giúp mình không vậy nè. Sẵn tiện cho hỏi server cấu hình như thế nào thì chạy drupal mượt mà

Xin chao!

haphvn's picture

Loi nay ban dung CHMOD de phan quyen lai cho no, vi ban dang de public nen no se co nhieu error.
CHMOD -R 644 sites/default/files

Neu ko dc nua thi ban remove thu muc sites/default/files va tao lai :)

Chuc ban may man!