Info
- 10 posts
- 6 voices
- Started 2 years ago by MAK
- Latest reply from 7sl
- This topic is resolved
You CANNOT call bbPress v1.0.2 stable when it breaks before step 1 of install!!!
-
- Posted 2 years ago #
Seriously! You cannot call v1.0.2 beckett stable! Before you even get to step 1...that's right...BEFORE you get to step one it errors out! Let me repeat that. Where is it erroring out? Uh-huh, it gives errors at STEP ZERO! See screenshot:
http://www.flickr.com/photos/16731818@N00/3971382000/sizes/o/
You get the error messages as soon as you enter http://example.com/bbpress to start the install script.
You get five errors before you even think about pushing button to go to step 1. And the fact you all try to hide it (the error messages) is pretty bogus too. White text on white background? Puhleeze!
Does anyone even test stuff before putting it out there to the public? Yes, this is a rant. Why? Well because over a week ago I posted a reply and have not gotten any answers and neither has anyone else who are having the same issue and reported it before me.
Where the hell is Beau Lebens? You all need to let him know about this, HE will fix it in a jiffy if you tell him. Please refer to this thread for screenshots and content:
http://bbpress.org/forums/topic/errors-after-pure-install#post-58542
Thanks
-
- Posted 2 years ago #
Those are warnings, not errors. They are only presented when E_STRICT is on, as the PHP engine can and will disregard them and continue to compile just fine. Without looking into the problem too deep (it's getting on, and I'm about ready for bed), off the top of my head I would suggest that the deprecated warnings are due to the fact that PHPs handling of OOP has changed mildly between v4 and 5. Objects are now passed by reference by default, whereas in PHP4 they weren't. Since bbPress is backwards compatible to work on PHP4 (it cuts down on the snarky accusations that one might receive for being version specific), it will return warnings in PHP5 that are just that. Warnings.
That's the only real problem too. Turn off E_STRICT and you won't get the remaining notices. The 'headers already sent' errors are due to the fact that you're getting the deprecated warning (which outputs text to the screen, thus sending headers) before the script has completed its run.
So... simply put, it can be called stable, as it's purely your setup that is causing the issue, not bbPress itself.
-
- Posted 2 years ago #
I don't have strict on. I have .htaccess set to show messages, that's it.
Thank you for the explanation though.
-
- Posted 2 years ago #
BTW, this seems to be an XAMPP/Windows error not a bbPress one!
-
- Posted 2 years ago #
IIRC, there are a few topics about this issue with XAMP. Did you search the forums?
-
- Posted 2 years ago #
Just turn E_DEPRECATED error logging off and you'll be fine. XAMPP/Windows isn't the problem, it's PHP5.3's new E_DEPRECATED "feature".
-
- Posted 2 years ago #
Hi Nightgunner5,
Can you tell me how to turn that off? Is there a file somewhere in the PHP folder that I would change this?
EDIT:
I found this in the php.ini file.
So all I have to do is change -
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATEDto this -
error_reporting = E_ALL & ~E_NOTICEWould that be correct? Anything else I should do? Also, does this mean that I can turn ON error logging again via my .htaccess file for everything else? I like to have the error logging enabled in case I install a plugin or something this way I would know when it is broken.
This is the code I use in the .htaccess -
# SUPPRESS PHP ERRORS FROM SHOWING PUBLICLY:
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
So again I would like to turn the switches back to ON but at the same time not show the errors in bbPress regarding the DEPRECATED stuff.
Thanks
-
- Posted 2 years ago #
Hmm, okay that isn't working.
Using
error_reporting = E_ALL & ~E_NOTICEstill shows the warnings for my bbPressHow do I do this properly?
I'm not even sure php.ini is the place to do this because even if I totally remove the
error_reportingline from the php.ini file it still shows the errors. Even if I set:display_errors = Offit still shows errors.So what file am I supposed to be editing?
-
- Posted 2 years ago #
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATEDshould actually remove those errors. Something must be wrong with your server configuration. -
- Posted 2 years ago #
Having the same problem. Turning it off doesn't work for me either
-
You must log in to post.