phpBB3 Install Issue: set_magic_quotes_runtime & Cannot modify header info

Phylum

Active Member
Apr 20, 2010
33
0
56
Someone's trying to install phpBB3 on the box and when going to the install page these errors/notices are listed at the top.

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/leon/public_html/forum/builds/phpBB3/install/index.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/forum/builds/phpBB3/install/install_install.php on line 1462
[phpBB Debug] PHP Notice: in file /install/index.php on line 437: Cannot modify header information - headers already sent by (output started at /install/index.php:111)
[phpBB Debug] PHP Notice: in file /install/index.php on line 438: Cannot modify header information - headers already sent by (output started at /install/index.php:111)
[phpBB Debug] PHP Notice: in file /install/index.php on line 439: Cannot modify header information - headers already sent by (output started at /install/index.php:111)
[phpBB Debug] PHP Notice: in file /install/index.php on line 440: Cannot modify header information - headers already sent by (output started at /install/index.php:111)​

I'm trying to figure out if:
  1. is a phpBB 3 error, or
  2. something with the server: apache or php or other.

I'm aware magic_quotes_runtime is no longer supported in 5.3.0, but even commenting out the line in /usr/local/lib/php.ini (found via php -i | grep php.ini) and restarting httpd didn't fix. I didn't find anything on 'set_magic_quotes_runtime' on the forums and not much useful on the 'Cannot modify header information' prompt - I assume its related.

/etc/init.d/httpd -v
Server version: Apache/2.2.19 (Unix)
Server built: Jun 19 2011 14:46:41
Cpanel::Easy::Apache v3.3.6 rev9999

php -v
PHP 5.3.6 (cli) (built: Jun 19 2011 14:55:22)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

CentOS x64 2.6.18-238.12.1.el5

Thoughts?
 

Phylum

Active Member
Apr 20, 2010
33
0
56
Re: phpBB3 Install Issue: set_magic_quotes_runtime & Cannot modify header i

THanks for the reply.

I made the adjustment and the number of errors dropped but I still see this:

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/user/public_html/forum/builds/phpBB3/install/index.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/user/public_html/forum/builds/phpBB3/install/install_install.php on line 1462


I was able to push through the installation but somethings still not right as I see these errors:

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/user/public_html/forum/builds/phpBB3/common.php on line 106

Warning: require(./includes/functions_content.php) [function.require]: failed to open stream: No such file or directory in /home/user/public_html/forum/builds/phpBB3/common.php on line 189

Warning: require(./includes/functions_content.php) [function.require]: failed to open stream: No such file or directory in /home/user/public_html/forum/builds/phpBB3/common.php on line 189

Fatal error: require() [function.require]: Failed opening required './includes/functions_content.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/forum/builds/phpBB3/common.php on line 189


I'm still unsure of what the problem could be: phpBB or the server (apache or php) or permissions.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Re: phpBB3 Install Issue: set_magic_quotes_runtime & Cannot modify header i

Hello :)

This looks like an issue with the script you are using. Ensure the latest version of that script is used, and if the issue persists, contact their support to determine if any specific changes should be made relative to the version of PHP you are using.

Thank you.
 

Phylum

Active Member
Apr 20, 2010
33
0
56
Re: phpBB3 Install Issue: set_magic_quotes_runtime & Cannot modify header i

Again, thanks for the response. Turns out while I thought it was phpBB its actually a beta of phpbb platinum. doesn't display these errors. I'll check out the phpbb support forums to see what they have to say.

Many thanks again for your advice.
 
Last edited by a moderator: