![]() |
Cấu hình thay đổi cấu hình Joomla trên site bị lỗi: "Could not save data. Error: Coul
Cấu hình thay đổi cấu hình Joomla trên site bị lỗi: "Could not save data. Error: Could not write to the configuration file"
Áp dụng cho:
Khi cài đặt ứng dụng Joomla thông qua Subscriber’s Control Panel > Applications > joomla > Install. Sau đó cấu hình thiết lập site thông qua Joomla's Administrative interface và lưu lại thì bị lỗi sau: http://DOMAIN.TLD/joomla/administrator/index.php > Global Configuration > Save ---8<--- Could not save data. Error: Could not write to the configuration file --->8--- Khi xem nhật ký lỗi của domain: Mã:
/var/www/vhosts/DOMAIN.TLD/statistics/logs/error_log[Tue Apr 10 03:16:06 2012] [error] [client 123.123.123.123] PHP Warning: file_put_contents(/var/www/vhosts/DOMAIN.TLD/httpdocs/joomla/configuration.php): failed to open stream: Permission denied in /var/www/vhosts/DOMAIN.TLD/httpdocs/joomla/libraries/joomla/filesystem/file.php on line 418, referer: http://DOMAIN.TLD/joomla/administrat...ion=com_config --->8--- Nguyên nhân Nguyên nhân này ra gây bởi chế độ safe_mode đang bật "safe_mode = on". Ứng dụng Joomla yêu cầu safe_mode phải tắt "safe_mode = off". Giải pháp Cấu hình lại php.ini tắt chế độ safe_mode cho php hoặc cập nhật cho máy chủ của bạn vì lỗi này đã được sửa fixed bởi Micro-Update. Chúc các bạn thực hiện thành công. :battay: |
| Bây giờ là 05:54 PM. Giờ GMT +7 |
Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.