Mark Kehn (@mak)

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hmm, okay that isn’t working.

    Using error_reporting = E_ALL & ~E_NOTICE still shows the warnings for my bbPress

    How 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_reporting line from the php.ini file it still shows the errors. Even if I set: display_errors = Off it still shows errors.

    So what file am I supposed to be editing?

    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_DEPRECATED

    to this –

    error_reporting = E_ALL & ~E_NOTICE

    Would 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

    I don’t have strict on. I have .htaccess set to show messages, that’s it.

    Thank you for the explanation though.

    I found out after a couple hours more searching on the web that you can use this code below to hide php errors, enable a private log of the errors, and also protect the error log from outsiders.

    # suppress php errors from showing publicly

    php_flag display_startup_errors on

    php_flag display_errors on

    php_flag html_errors on

    # enable PHP error logging

    php_flag log_errors on

    php_value error_log ../PHP_errors.log

    # prevent access to PHP error log

    <Files PHP_errors.log>

    Order allow,deny

    Deny from all

    Satisfy All

    </Files>

    @SharpMouth – was this what you were referring too? Is this what you used to stop the error messages from showing? This would hide the error messages but it doesn’t fix the actual problem. Can you tell me if you ever got the actual problem fixed, and if so, how?

    Much appreciated.

    I have this exact same problem as Sharpmouth in his first post up top here. EXACT, same error messages, same line numbers everything. DITTO for the second image he posted.

    I also did the integration with wordpress during the install of bbpress and I followed it exactly, I had no trouble whatsoever, I skipped nothing but after clicking the final button to finish the installation I got the message it installed, but with errors.

    @ ashfame you said, “Possibility is that you missed out something as the tutorial works flawlessly.”

    I think your comment was snarky in my opinion. The tutorial got me through the installation but it doesn’t mean it worked flawlessly because following the instructions still ended up with results at end of install. Truth is I don’t think these errors have anything to do with the documentation on how to install, it has to do with the bbpress code itself. The code is broke regardless what a piece of paper (the tutorial) says about it.

    @SharpMouth – your final message says you got it to work but to me it only sounds like a bandaid but the issue is still there even though you figured a way to hide the messages. You said you fixed it, does that mean you can click on the links to go to the bbpress Admin area or to LogOut, LogIn without getting the “headers already sent out” garbage?

    How did you turn off error reporting? Better yet, what steps exactly did you take to fix everything to finally get it all to work? Remember, I am having the exact same results as you after the install, so please tell me what you did to get everything to work for you. Much appreciated, thanks.

    Here are some extra screenshots, ones that SharpMouth didn’t post himself when he was having issues.

    This first one was barely visible it had the error messages as white text on white background so I selected all the text so you could read it.

    http://www.flickr.com/photos/16731818@N00/3948343005/sizes/l/

    These next two are just showing the installation log. I blacked out personal info not needed by you.

    http://www.flickr.com/photos/16731818@N00/3948343007/sizes/o/

    http://www.flickr.com/photos/16731818@N00/3948343009/sizes/o/

    For the screenshot below – As you see here in the red message box it says it completed but with minor errors. It isn’t referring to the error messages I highlighted in the first screenshot it is referring to the error about keymaster email not going out.

    http://www.flickr.com/photos/16731818@N00/3948343013/sizes/o/

Viewing 5 replies - 1 through 5 (of 5 total)