View Single Post
Tuổi 01-06-2011, 09:50 AM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Không thể cài đặt extentions,module trên joomla JFolder::create: Path not in open_bas
Case:

Khi mình cài đặt một module cho joomla trên host thì mình gập lỗi này:


Ở trên localhost thì mình cài các component, module cho joomla 1.5 bình thường.


Mình đã CHMOD tất cả các thư mục thành 777 mà nó vẫn báo:


JFolder::create: Path not in open_basedir paths
Unable to create destination



Solved:

1. Turn off Safe mode on PHP

2.
Vô hiệu quá (disabled) dòng sau trong tập tin: folder.php trong thư mục: /libraries/joomla/filesystem/

Tìm và disabled dòng: $obd = ini_get('open_basedir');


Trước khi disabled

Mã PHP:

$obd 
ini_get('open_basedir'); 

Sau khi disabled


Mã PHP:

//$obd = ini_get('open_basedir'); 
Tham khảo:

http://forum.joomla.org/viewtopic.ph...76318&start=30


Have a fun!


  Trả lời ngay kèm theo trích dẫn này