Menu

#2530 (ok 2.11.1) PHP Version < 4.2.0 results in Fatal Error

2.11.0
fixed
1
2013-06-11
2007-09-13
Edorian
No

Hi,

i'm not sure if this is a Documentation Problem or not.

The Readme says:

Requirements:
php 4.1.0 or later

but with php 4.1.x an Error is issued on the Startpage (main.php)

in [...]phpMyAdminMaster/libraries/ob.lib.php on line 116
[...] PHP Fatal error: Unknown function: ob_flush()

which is only available in php >= 4.2.0

As i possible fix i replace: "ob_flush();" with

ob_end_flush();
ob_start();

Thanks for your time and the good work.

Discussion

  • Edorian

    Edorian - 2007-09-13
    • summary: PHP Version <= 4.2.0 results in Fatal Error --> PHP Version < 4.2.0 results in Fatal Error
     
  • Marc Delisle

    Marc Delisle - 2007-09-13
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2007-09-13
    • priority: 5 --> 1
    • summary: PHP Version < 4.2.0 results in Fatal Error --> (ok 2.11.1) PHP Version < 4.2.0 results in Fatal Error
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2007-09-13

    Logged In: YES
    user_id=210714
    Originator: NO

    Hmm, I guess it had not been retested with PHP 4.1.x. Doc changed and main.php changed to display a message if PHP < 5.2. I prefer not to implement your workaround, partly because phpMyAdmin in 2008 will need PHP 5.2 as minimum.

     
  • Edorian

    Edorian - 2007-09-14

    Logged In: YES
    user_id=1889441
    Originator: YES

    I'm absolutly ok with that and glad to hear that Plan. Thanks for the Response :)

     
  • Marc Delisle

    Marc Delisle - 2007-09-20
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

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