Menu

#2729 (ok 2.11.9) pma doesn't start if ini_set() is disabled

2.11.8
fixed
None
1
2013-06-11
2008-07-30
No

phpMyAdmin fails to start with a misleading error message due to a disabled ini_set function on the server (although sessions are working properly):

"Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly."

Reasons are several ini_set(...) calls in libraries/session.inc.php throwing some
"Warning: ini_set() has been disabled for security reasons in ...."
which are misinterpreted as errors induced by "session_start()". Replacing all "ini_set" with "@ini_set" (as already done in several other files) fixes the issue.

Discussion

  • Marc Delisle

    Marc Delisle - 2008-08-01
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2008-08-01

    Logged In: YES
    user_id=210714
    Originator: NO

    Fixed in subversion, thanks for reporting.

     
  • Marc Delisle

    Marc Delisle - 2008-08-01
    • priority: 5 --> 1
    • summary: pma doesn't start if ini_set() is disabled --> (ok 2.11.9) pma doesn't start if ini_set() is disabled
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2008-08-28
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed