#4182 Session Expired; Fatal Javascript: Components Not Defined

4.1.0
works-for-me
nobody
None
5
2014-08-25
2013-12-13
David Ernstrom
No

Can't find this bug/issue already entered at all.

Upon upgrade to 4.1.0, I suddenly start to get weird behaviors:
1 - From PMA login page, I always get the "Your Session has Expired, please login again" overlay. Even after clearing all browser history, cache, etc. Also cleared server session data.
2 - Dismissed window, logged in. I now get a pink bar across the bottom saying "A fatal JavaScript error has occurred. Would you like to send an error report?" I try to send the report, but it fails trying to send and suggests I fill out a ticket. Here's the data from the report:
{
"exception": {
"mode": "onerror",
"message": "ReferenceError: Components is not defined",
"stack":
{
"line": "7",
"func": "?",
"uri": "?",
"scriptname": null
}


,
"useragent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0",
"uri": "index.php?"
},
"script_name": "index.php",
"pma_version": "4.1.0",
"browser_name": "FIREFOX",
"browser_version": "26.0",
"user_os": "Win",
"server_software": "Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e mod_wsgi/3.3 Python/2.7.2",
"user_agent_string": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0",
"locale": "en",
"configuration_storage": "enabled",
"php_version": "5.4.3",
"microhistory": {
"pages":
{
"hash": "index.php?db=&table=&server=1&target=&token=dcab89b4c6d5a6fdbe41683c35548d45"
}


,
"current_index": "1"
}
}

More info:
- I was running Firefox 25.1 which also failed, so I upgraded to current (26.0) which also fails.
- 4.1.0 works fine in IE 11.0.9600.16476 on the same computer.
- 4.1.0 works fine in Firefox 26.0 from a different computer.
- I also tried reverting back to PMA 4.0.9, logging in, logging out, and then upgrading again. Still the error messages.

Discussion

  • Marc Delisle
    Marc Delisle
    2013-12-14

    • Group: 3.3.7 --> 4.1.0
     
  • Marc Delisle
    Marc Delisle
    2013-12-14

    David,
    can you reproduce this problem on http://demo.phpmyadmin.net/STABLE (user root, no password) ?

    How did you upgrade?

     
  • David Ernstrom
    David Ernstrom
    2013-12-16

    Also, my upgrade process is as follows:
    1 - extract the new PMA version into a folder beside the old version.
    2 - copy config.inc.php from the old version to the new version.
    3 - update httpd.conf to point my /pma from the old version to the new version.
    4 - bounce the apache server.

     
  • David,
    I can't reproduce it with Firefox 26.0(Ubuntu), neither locally nor on demo.

    Since you also say "4.1.0 works fine in Firefox 26.0 from a different computer.", it might be an issue with your particular firefox installation relating to firefox add-ons you are using..

     
    • status: open --> works-for-me