#3951 Unable to change database server in 4.0.1 (Chrome on Mac)

4.0.1
invalid
nobody
None
1
2013-10-04
2013-05-20
Jon Baker
No

I recently upgraded to 4.0.1 from a pre-4.0 version on a server with a config file that contains multiple servers. The "select server" drop-down is now in the left column, but it does nothing when I change the server. If I look at the console log in Chrome, I'm getting an error each time I change the server selection that says "Cannot set property 'innerText' of null"

Discussion

  • Marc Delisle
    Marc Delisle
    2013-05-30

    • assigned_to: Marc Delisle
     
  • Marc Delisle
    Marc Delisle
    2013-05-30

    Cannot reproduce with phpMyAdmin 4.0.1 under Chrome 27.0.1453.94 m (Windows 7).

     
  • Marc Delisle
    Marc Delisle
    2013-05-30

    • status: open --> pending-works-for-me
     
  • Jon Baker
    Jon Baker
    2013-05-30

    Hm, I went back in and it seemed to start working. Played around with it, and it only is failing for me if I first choose a database.

    I.e, I log in, select one of my databases so that the right panel shows my table listing, then change the database selector, and I get "Uncaught TypeError: Cannot set property 'innerText' of null"

     
  • Jon Baker
    Jon Baker
    2013-05-30

    To follow up, it does not happen for me in FireFox (19.0.2 Mac) but does in Chrome (28.0.1500.20 beta Mac)

     
  • Marc Delisle
    Marc Delisle
    2013-06-02

    • status: pending-works-for-me --> open
     
  • Marc Delisle
    Marc Delisle
    2013-06-02

    Can you try a non-beta Chrome version on your Mac?

     
  • Jon Baker
    Jon Baker
    2013-06-02

    I am able to reproduce it in Chrome 27.0.1453.93 Mac.

    I'll attach a screenshot of the call stack from Developer Tools in case that's helpful.

     
  • Marc Delisle
    Marc Delisle
    2013-06-06

    • assigned_to: Marc Delisle --> nobody
     
  • Marc Delisle
    Marc Delisle
    2013-06-06

    • summary: Unable to change database server in 4.0.1 --> Unable to change database server in 4.0.1 (Chrome on Mac)
     
  • Chris Hallgren
    Chris Hallgren
    2013-07-03

    I am able to reproduce this in PMA 4.0.4.1 below is the error

    Uncaught TypeError: Cannot set property 'innerText' of null [VM] index.php (312):1
    lastpass_f.submit [VM] index.php (312):1
    bG.event.trigger get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scrip…]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js:14
    (anonymous function) get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scrip…]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js:14
    bG.extend.each get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scrip…]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js:14
    bG.fn.bG.each get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scrip…]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js:14
    bG.fn.extend.trigger get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scrip…]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js:14
    bG.fn.(anonymous function) get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scrip…]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js:14
    (anonymous function) get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scrip…]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js:86
    bG.event.dispatch get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scrip…]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js:14
    b.dispatch get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scrip…]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js:66
    b6.handle.b4 get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scrip…]=codemirror/lib/codemirror.js&scripts[]=codemirror/mode/mysql/mysql.js:14

     
  • Chris Hallgren
    Chris Hallgren
    2013-07-03

    Running Chrome 28.0.1500.63 m on Windows 8

     
  • Chris Hallgren
    Chris Hallgren
    2013-07-03

    Also reproducable on Chrome 28.0.1500.71 m on Windows 8

     
  • This ticket is invalid. I have been able to fix the problem by disabling lastpass. It's lastpass issue. Sent report and fix to this bug to them.

     
  • Marc Delisle
    Marc Delisle
    2013-10-04

    • status: open --> invalid