Recent Topics

1 Feb 28, 2017 09:25    

I get the "Warning: ini_set() has been disabled for security reasons", obviously.
Code in question in config.php

// To help debugging severe errors, you'll probably want PHP to display the errors on screen.
if( $debug > 0 || $display_errors_on_production )
{ // We are debugging or w want to display errors on screen production anyways:
	ini_set( 'display_errors', 'On' );
}
else
{ // Do not display errors on screen:
	ini_set( 'display_errors', 'Off' );
}

I understand you might want to force display_errors On if debug is enabled but second one seems very unnecessary. Oh, and i didnt turn on debug or anything but it was the ini_set( 'display_errors', 'On' ); that triggered the error

2 Feb 28, 2017 16:58

Set $display_errors_on_production to false in your config.

3 Feb 28, 2017 22:01

@fplanque wrote earlier:

Set $display_errors_on_production to false in your config.


Cool. That's the least of my worries tho I switched to PHP7 and looks like it's impossible to get my kinda outdated b2evo working with it (v5 i think ?)

Starting from which version does b2 fully work with PHP7 ?

4 Feb 28, 2017 22:14

Some v6.x, about a year ago. You can find it in the release notes but, for security reasons, it makes absolutely no sense to run anything older than 6.8.6.

(and there is no chanced indeed that v5 will ever work on PHP7. The adaptations to make it run on PHP7 were massive.)

5 Mar 01, 2017 00:11

and by 6.8.6 you pretty much mean 7.x right ? :P Yeah I can only imagine the struggle... Even the well thought php7 ready scripts fail here and there with strict warnings. Not gonna bother with it than just gonna make a brand new install with the latest .

@fplanque wrote earlier:

Some v6.x, about a year ago. You can find it in the release notes but, for security reasons, it makes absolutely no sense to run anything older than 6.8.6.


(and there is no chanced indeed that v5 will ever work on PHP7. The adaptations to make it run on PHP7 were massive.)

6 Mar 01, 2017 17:47

and by 6.8.6 you pretty much mean 7.x right ? :P

No I really mean the latest 6.8.x which is currently the stable branch. 6.9.x and 7.x branches are beta and alpha branches.


Form is loading...