Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-9074 now.

open_basedir restriction on acp_language.php (fix completed in vcs)

This is a fresh install, new board - download package from phpBB.com. Danish language pack installed then . . .

When accessing ACP> System> Language packs this error appears:

[phpBB Debug] PHP Notice: in file /includes/acp/acp_language.php on line 1123: file_exists() [function.file-exists]: open_basedir restriction in effect. File(./../language/index.htm/iso.txt) is not within the allowed path(s): (/customers/pelle.pl/pelle.pl:/var/www/diagnostics:/usr/share/php)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)

so can't install a custom language pack.

Comments / History

Edited ticket

Action performed by Mick (Support Team Member) on Feb 16th 2010, 12:10

Posted by Mick (Support Team Member) on Feb 16th 2010, 14:59

I can now confirm that the same happens on my test board running 3.0.7-RC1 and the Danish language pack:

[phpBB Debug] PHP Notice: in file /includes/acp/acp_language.php on line 1123: file_exists() [function.file-exists]: open_basedir restriction in effect. File(./../language/index.htm/iso.txt) is not within the allowed path(s): (/customers/scowell.co.uk/scowell.co.uk:/var/www/diagnostics:/usr/share/php)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)

PHP Version 5.3.1
mysql 5.0.32

Changed ticket status from "New" to "Fix in progress"

Action performed by nickvergessen (Development Team Member) on Feb 16th 2010, 15:34

Posted by nickvergessen (Development Team Member) on Feb 16th 2010, 15:35

Fix attached
bug-57795.diff (1.19 KB)

Edited post #214235

Action performed by nickvergessen (Development Team Member) on Feb 16th 2010, 15:35

Posted by Mick (Support Team Member) on Feb 16th 2010, 18:25

FWIW the original bug DB & PHP details:

PHP version is: 5.3.1
MySQL(i) 5.0.51a

Assigned ticket to group "Junior Developers"

Action performed by bantu (3.0 Release Manager) on Feb 16th 2010, 19:45

Assigned ticket to user "nickvergessen"

Action performed by nickvergessen (Development Team Member) on Feb 16th 2010, 23:27

Linked ticket with changeset: r10496

Action performed by nickvergessen (Development Team Member) on Feb 17th 2010, 12:49

Changed ticket status from "Fix in progress" to "Fix completed in SVN"

Action performed by nickvergessen (Development Team Member) on Feb 17th 2010, 12:55

Linked ticket with changeset: r10498

Action performed by nickvergessen (Development Team Member) on Feb 17th 2010, 18:40

Posted by azzurri on Mar 7th 2010, 22:31

Same with swedish language pack but in ACP-posts-bbcodes

Posted by A_Jelly_Doughnut (Former Team Member) on Mar 9th 2010, 02:59

Azzuri: You mean the problem still exists in 3.0.7? It should have been fixed.

Posted by Mick (Support Team Member) on Mar 9th 2010, 13:59

No it doesn't, I have tested it.

Ticket details

Related SVN changesets