Bug tracker

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

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/xxxx/websites/town/phpBB3/com (fix completed in vcs)

I've just set up my new laptop with my development xampp package, copied my existing working files over, set up the mysql database.

When I run the phpBB3 index.php I get the page, but the fonts aren't correct, all too large. I also get the following alert at the top of the page(s)

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/xxxx/websites/town/phpBB3/common.php on line 106

Line 106 is: set_magic_quotes_runtime(0)

The only difference to this and my previous installation on another machine is that I installed version 1.7.2 of xampp as opposed to 1.7.1

Any ideas?

edit: Just been into ACP and that doesn't display any tabs or links

Comments / History

Posted by bantu (3.0 Release Manager) on Nov 25th 2009, 00:18

You're missing the most important thing. What PHP version are you using?

Posted by narqelion (I've Been Banned!) on Nov 25th 2009, 00:27

XAMPP 1.7.2 bundles PHP 5.3.0

Posted by Paul (MOD Team Member) on Nov 25th 2009, 07:26

Wasnt this fixed in 3.0.6?

Posted by narqelion (I've Been Banned!) on Nov 25th 2009, 07:55

The OP is reporting their phpBB version as 3.0.5

Project version: 3.0.5

Changed ticket status from "New" to "Already fixed"

Action performed by Kellanved (Former Team Member) on Nov 25th 2009, 13:40

Changed ticket status from "Already fixed" to "New"

Action performed by Acyd Burn (Server Manager) on Nov 28th 2009, 11:19

Posted by Acyd Burn (Server Manager) on Nov 28th 2009, 11:20

The function is indeed deprecated in PHP >= 5.3.0 - and this was never fixed, we still only check for PHP 6.0.0-dev. The error suppression will not work either (reproducible here)

Edited ticket

Action performed by Acyd Burn (Server Manager) on Nov 28th 2009, 11:20

Assigned ticket to group "Development Team"

Action performed by Kellanved (Former Team Member) on Dec 1st 2009, 11:06

Assigned ticket to user "bantu"

Action performed by bantu (3.0 Release Manager) on Dec 4th 2009, 01:23

Changed ticket status from "New" to "Reviewed"

Action performed by bantu (3.0 Release Manager) on Dec 4th 2009, 01:23

Assigned ticket to group "Development Team"

Action performed by bantu (3.0 Release Manager) on Dec 4th 2009, 12:03

Posted by bantu (3.0 Release Manager) on Dec 4th 2009, 12:09

Doesn't throw a deprecated error for me on my test with XAMPP 1.7.2 (PHP 5.3.0).

Posted by bantu (3.0 Release Manager) on Dec 4th 2009, 12:25

The msg_handler() takes care of all the other deprecated functions, but set_magic_quotes_runtime() is called before the error handler is set to ours (in common.php).

Assigned ticket to user "naderman"

Action performed by naderman (Development Team Leader) on Dec 6th 2009, 01:52

Linked ticket with changeset: r10299

Action performed by naderman (Development Team Leader) on Dec 6th 2009, 02:30

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

Action performed by naderman (Development Team Leader) on Dec 6th 2009, 02:32

Ticket details

Related SVN changesets