Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/classes.php on line 1127

Strict Standards: Redefining already defined constructor for class bbdb in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/db-mysql.php on line 12
Please Login appears at the bottom of the page « Support Forums

Support Forums » Issues

Please Login appears at the bottom of the page

(3 posts)

  1. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/kses.php on line 512
    richard

    Administrator

    If PHP error/notice messages get into the (XML) response stream headed back to the browser, the XMLHttpRequest object can throw a parse exception. This looks (to synapp2.js) like an authentication failure and the login message appears.

    With version 0.1.7, there is at least one place in action.php that throws a warning (notice) under some conditions (line 90 if you must know). It didn't get caught because a developer, who wasn't getting enough sleep, left the HTML display_errors messages turned off in his PHP configuration while he was testing. (He as been severely disciplined and will have time to think about this while he heals and learns to type with nine fingers.)

    In the mean time, if you see this problem, try turning off display_errors or setting the error_reporting level to E_ALL & ~E_NOTICE

    Posted 11 years ago #

  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/kses.php on line 512
    richard

    Administrator

    A review of the recommendations for PHP configuration confirms that display_errors should be off {false, '0'} on any production server. The default error level of PHP is (or should be) E_ALL & ~E_NOTICE, according to the PHP Manual. But, since PHP 5.3 there are now DEPRECATED messages. This has led to a few tweaks that will help SynApp2 run more quietly, in versions beyond 0.1.7.

    Here's a firm recommendation to adjust your PHP configuration to turn off display_errors altogether. It’s easy to look in the PHP log file to see what’s going on. You may have to enable that with log_errors={true,1}. Having error display turned on, for anything other than serious debug sessions, is likely to cause trouble. There's almost always a chance that some code, somewhere, is going to trip a message, especially over time and with different (newer) versions of PHP.

    Posted 10 years ago #

  3. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /webroot/s/2/s2admin/synapp2.org/www/forum/bb-includes/kses.php on line 512
    richard


    Administrator

    SynApp2 version 1.8.0 (beta 1) has improved error handling and reporting. You should update to the latest version.

    Posted 10 years ago #

RSS feed for this topic

Reply

You must log in to post.