Menu

#3076 (ok 3.3.6) Setup - undefined function PMA_sendHeaderLocation

fixed
1
2013-06-11
2010-08-10
No

Testing against the latest development version - using Git.

I'll be the first to admit that this bug is en edge case. However, it just happened to a friend how tried to install the latest Debian PHPMyAdmin package (3.3.5-1), It only happens if you access http://example.org/phpmyadmin/setup/ AND ForceSSL is 1/true. (The Debian maintainer has set ForceSSL to true in /var/lib/phpmyadmin/config.inc.php.) Logging in at http://example.org/phpmyadmin/ redirects correctly to https://example.org/phpmyadmin/

The error is "PHP Fatal error: Call to undefined function PMA_sendHeaderLocation() in /home/hans/www/testing/phpmyadmin/libraries/common.inc.php on line 324". The reason is that setup/lib/common.inc.php sets PMA_MINIMUM_COMMON. I have attached one possible solution/patch.

Discussion

  • Hans Fr. Nordhaug

    Patch for setup/lib/common.inc.php

     
  • Michal Čihař

    Michal Čihař - 2010-08-20
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2010-08-20
    • priority: 5 --> 1
    • summary: Setup fails - undefined function PMA_sendHeaderLocation --> (ok 3.3.6) Setup - undefined function PMA_sendHeaderLocation
     
  • Michal Čihař

    Michal Čihař - 2010-08-20

    This bug was fixed in repository and will be part of a future release; thanks for reporting.

     
  • Marc Delisle

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

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