PHP 5.3.6 Errors

Discussion in 'Troubleshooting' started by rnsnetwork, Jul 23, 2011.

  1. rnsnetwork

    rnsnetwork New Member

    Joined:
    Mar 20, 2007
    Messages:
    6
    Wondering if anyone has seen this error set? We recently upgraded PHP on our server to 5.3.6 and are getting these errors. Can I simply comment out these functions? Ideas?


    Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/***/public_html/members/config.inc.php on line 26

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/***/public_html/members/config.inc.php:26) in /home/***/public_html/members/common.inc.php on line 1827
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Couple of things to check:

    1) Open config.inc.php and common.inc.php ensure there are no empty carriage returns at the end of the file. If there are, remove them and resave.

    2) In your php.ini set:

    Code:
    display_errors = off
  3. mergs

    mergs New Member

    Joined:
    Nov 30, 2006
    Messages:
    2
    Good day,

    My environment

    aMember 3.2.4PRO
    PHP 5.3.6 (cgi-fcgi)
    OS Linux hoster902.com 2.6.36.2...
    MySQL 5.1.54-msl-usrs-sure2-log

    with a brand new update to 3.2.4 from 3.1.8 just today.

    With php.ini set: display_errors = off

    I do not get errors. If I remove it I do get the errors:
    Deprecated: Function set_magic_quotes_runtime() is deprecated

    I was hoping to see the php.ini setting not required with this updated.

    Will Amember be updating its core so that the settings won't be needed and the use of deprecated functions is discontinued?
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    yes v4 has that updated..

    that being said, you should not be running production environments with display_errors on..

Share This Page