No issues, additional language/modules installed successfully
Warning
JFolder::create: Path not in open_basedir paths.
Aborting language installation: Failed to create folder [C:\inetpub\vhosts\joomla.tld\httpdocs/language/id-ID]
Package Install: There was an error installing an extension: site_id-ID
Error
Error installing language
...
Open basedir C:/Inetpub/vhosts/joomla.tld;C:\Windows\Temp
...
systeminfo-2017-11-08T06_16_10+00_00.txt
Changing open_basedir to 'C:/inetpub/vhosts/joomla2.tld' ('i' must be in lowercase) resolved the issue
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-11-08 08:06:12 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Closed as no Core-Issue.
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18523
I've analyzed the code in /libraries/joomla/filesystem/folder.php.
JFolder::create() examines, wether each entry of the open_basedir setting in php.ini is a part of the currently compared path. Because the compare is implemented case sensitive, even on Windows, it will fail when using a different letter capitalization in my open_basedir directive vs. the file system! Could you please check it?
I would say that it is the expected behaviour that if your server is set to use a folder called CAPITALS it will not work if the folder is called CaPitals
This is a php.ini setting and not a joomla setting
All Windows systems are case insensitive, so why I cannot use 'Inetpub' instead of 'inetpub' in php.ini? All work perfect except modules installation :(
Looks like it could easily be solved by using a case insensitive compare on Windows.
once again. the setting for openbasedir is in your server php.ini file
it is not in your joomla site - joomla just reads the value
So if you server is configured to look in one place but that place does not exist then joomla cannot find it
Another simple example:
<?php
--
print_r([
'd' => __DIR__,
'f' => __FILE__,
'obd'=> ini_get('open_basedir')
]);
web output:
Array
(
[d] => C:\inetpub\vhosts\q.w10-52-37-138.qa.plesk.ru\httpdocs
[f] => C:\inetpub\vhosts\q.w10-52-37-138.qa.plesk.ru\httpdocs\1.php
[obd] => C:/Inetpub/vhosts/q.w10-52-37-138.qa.plesk.ru\;C:\Windows\Temp\
)
That is a server php.ini setting and not a setting inside joomla