Bug #16130
closedUpdate of extension list fails because of wrong tmp folder
0%
Description
Hallo Typo3 team
I installed Typo3 4.0 final on my root server managed by confixx 3.0
Today i wanted to update chc_forum because of the security warning and hit the extension list update button in the extension manager. This generates the following error:
fopen(): open_basedir restriction in effect. File(/tmp/mirrors5bJFgF) is not within the allowed path(s): (/home/htdocs/web0/html/:/home/htdocs/web0/phptmp/:/home/htdocs/web0/files/:/home/htdocs/web0/atd/) in /home/htdocs/web0/html/bbg40/t3lib/class.t3lib_div.php on line 2375
The EM has used the wrong directory to download the data. Can this be configured anywhere? In the php.ini web0/phptmp is configured as the php upload dir. Is this setting not evaluated by the EM?
I use php 4.34 and mysql 4.018 under SuSe Linux 9.1
(issue imported from #M3433)
Updated by Karsten Dambekalns almost 18 years ago
In version 4.0.0 this line is in the t3lib_div::writeFile() method, which writes to a file generated by (in the end) tempnam(PATH_site.'typo3temp/','mirrors');. As such it seems absolutely impossible that this generates the mentioned error message, if I didn't fail in identifying the cause of the error.