Menu

#2377 (ok 2.10.1) Call to undefined function PMA_removeCookie()

2.10.0.1
fixed
1
2013-06-11
2007-03-02
Bandini
No

After upgrade from a perfectly functioning 2.9.2 version to 2.10.0.1 themes are gone.

If I try:
http://myserver/phpMyAdmin-2.10.0.1/css/phpmyadmin.css.php

error log of apache shows:

[error] [client 192.168.1.254] PHP Fatal error: Call to undefined function PMA_removeCookie() in /mypath/htdocs/phpMyAdmin-2.10.0.1/libraries/session.inc.php on line 35,

System data:
PHP Version 5.1.6
Apache/2.2.2 (Fedora)

Packages I've tried with identical results:

* phpMyAdmin-2.10.0.1-all-languages.tar.gz
* phpMyAdmin-2.10.0.1-english.tar.gz
* HEAD subversion version 10042

Discussion

  • Bandini

    Bandini - 2007-03-02

    config.inc.php

     
  • Sebastian Mendel

    • assigned_to: nobody --> cybot_tm
     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580
    Originator: NO

    at least the "Call to undefined function PMA_removeCookie()" should be fixed - but not the problem which makes this problem appear on your system

    please test trunk HEAD

    please open new bug if you can identify another error which caused this error

     
  • Sebastian Mendel

    • priority: 5 --> 1
    • summary: Call to undefined function PMA_removeCookie() --> (ok 2.10.0.1+) Call to undefined function PMA_removeCookie()
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2007-03-02
    • summary: (ok 2.10.0.1+) Call to undefined function PMA_removeCookie() --> (ok 2.10.1) Call to undefined function PMA_removeCookie()
     
  • jaygeeboy

    jaygeeboy - 2007-03-28

    Logged In: YES
    user_id=1705888
    Originator: NO

    libraries/session.inc.php, line 35, call function PMA_removeCookie() but this function is defined in libraries/common.lib.php which include libraries/session.inc.php. I replace line 35 from 2.10.0.2 with line 36 from 2.9.0.1 and it works fine.

     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580
    Originator: NO

    this already works fine, as this is fixed in for 2.10.1 release

    "libraries/session.inc.php, line 35, call function PMA_removeCookie() but this function is defined in libraries/common.lib.php which include
    libraries/session.inc.php."
    --
    yes, for sure, that is absolutely correct and works as expected

    the problem was some other: the function PMA_removeCookie() was defined in the !PMA_MINIMUM_COMMON-block, but this function is also used if PMA_MINIMUM_COMMON is defined.

     
  • Marc Delisle

    Marc Delisle - 2007-04-24
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

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