Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 14-07-2012, 01:29 AM   #1
tranqui89
Administrator
 
Gia nhập: Dec 2011
Trả Lời: 32
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:
  • Parallels Plesk Panel for Linux/Unix
Mô tả lỗi
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
---8<---
[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.
tranqui89 vắng mặt   Trả lời ngay kèm theo trích dẫn này
Gửi trả lời



Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 09:04 AM. 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 - 2024, Jelsoft Enterprises Ltd.