Topic on Project:Support desk

Warning: Cannot modify header information

3
2003:C4:2BE3:3100:B594:CB18:9E9:8713 (talkcontribs)

Installed Version 1.28.2, everything went well, saved the local settings.php on the server and got this as a result:

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/users/christofgorny/www:/users/_temp/christofgorny) in /users/christofgorny/www/includes/libs/filebackend/fsfile/TempFSFile.php on line 90

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/users/christofgorny/www:/users/_temp/christofgorny) in /users/christofgorny/www/includes/libs/filebackend/fsfile/TempFSFile.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /users/christofgorny/www/LocalSettings.php:4) in /users/christofgorny/www/includes/libs/HttpStatus.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at /users/christofgorny/www/LocalSettings.php:4) in /users/christofgorny/www/includes/WebResponse.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /users/christofgorny/www/LocalSettings.php:4) in /users/christofgorny/www/includes/WebResponse.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /users/christofgorny/www/LocalSettings.php:4) in /users/christofgorny/www/includes/WebResponse.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /users/christofgorny/www/LocalSettings.php:4) in /users/christofgorny/www/includes/WebResponse.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /users/christofgorny/www/LocalSettings.php:4) in /users/christofgorny/www/includes/WebResponse.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /users/christofgorny/www/LocalSettings.php:4) in /users/christofgorny/www/includes/WebResponse.php on line 45

What can I do?

Malyacko (talkcontribs)

Change the open_basedir setting to allow saving stuff to /tmp...

Ciencia Al Poder (talkcontribs)

Or if you can't change that, set $wgTmpDirectory to an alternate writable directory, which must not be accessible from the web, /users/_temp/christofgorny seems like a good candidate, given it's name.