[Bug 24898] MediaWiki uses /tmp even if a vHost-specific tempdir is set

2013-09-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24898

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

Version|1.17.0  |1.17

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24898] MediaWiki uses /tmp even if a vHost-specific tempdir is set

2011-09-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24898

ad...@hlcs.ru changed:

   What|Removed |Added

 CC||ad...@hlcs.ru
   Platform|All |Other
Version|unspecified |1.17.0
 OS/Version|All |other

--- Comment #2 from ad...@hlcs.ru 2011-09-08 14:54:33 UTC ---
I have problem with this function. My apache config not contains for every
virtual host a line like this:
   SetEnv TMP /home/www/example.com/tmp/

And i have situation when:
getenv( $var ) - return empty (define('TMP', /home/user/mod-tmp/) not workin)
sys_get_temp_dir() - return /tmp (not workin because open_basedir /home/user)

Error:

Warning:  tempnam() [function.tempnam]: open_basedir restriction in effect.
File(/tmp) is not within the allowed path(s): (/home/user:.) in
/home/user/www/site.com/includes/upload/UploadFromUrl.php on line 98

I add to LocalSettings.php line:

   $wgTmpDirectory = /home/user/mod-tmp/;

but in this function, this variable is not taken into account

MediaWiki version 1.17.0
PHP 5.2.10

In MediaWiki version 1.16.5 we have

   $localFile = tempnam( $wgTmpDirectory, 'WEBUPLOAD' );

and it works.


(Google Translate)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24898] MediaWiki uses /tmp even if a vHost-specific tempdir is set

2010-08-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24898

Chad H. innocentkil...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24898] MediaWiki uses /tmp even if a vHost-specific tempdir is set

2010-08-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24898

Chad H. innocentkil...@gmail.com changed:

   What|Removed |Added

 CC||innocentkil...@gmail.com

--- Comment #1 from Chad H. innocentkil...@gmail.com 2010-08-23 01:57:39 UTC 
---
Fixed in trunk in r71457.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l