Ըա ö upload extension ͧ joomla Windows Server
 

ͷӡ upload extension ͧ joomla error
JFolder::create: Could not create directory or open_basedir paths

ö䢴ѧ
1. ҡ phpinfo safe_mode off ӡ disable ftp config ͧ joomla
2. Դ file /libraries/joomla/filesystem/folder.php
ҳ÷Ѵ 208 բͤѧ


// Iterate through open_basedir paths looking for a match
foreach ($obdArray as $test) {

$test = JPath::clean($test);
if (strpos($path, $test) === 0) {
$obdpath = $test;
$inBaseDir = true;
break;
}
}
if ($inBaseDir == false) {
// Return false for JFolder::create because the path to be created is not in open_basedir
JError::raiseWarning(
'SOME_ERROR_CODE',
'JFolder::create: ' . JText::_('Path not in open_basedir paths')


3. 䢢

ҡ " if (strpos($path, $test) === 0) { "
"if (strpos($path, $test) === 1) { "

ҡ " if ($inBaseDir == false) { "
"if ($inBaseDir == true) { "

ͺԴ extension ա

 
Home  |  About us  |  Hosting Unix   |  Hosting Windows  |  Domains  |  Contacts   |  Support   Our Clients
Copyright © 2003 - 2017 ThaiEasyHost.com, A division of Servebase Communication Co.,Ltd.