Menu

#4852 No CodeMirror Highlighting

4.4.2
open
nobody
None
Normal
2015-04-20
2015-04-13
Owen
No

Discussion

  • Marc Delisle

    Marc Delisle - 2015-04-14

    @Owen Did you try on http://demo.phpmyadmin.net? Which browser are you using?

     
  • Owen

    Owen - 2015-04-14

    This has been reproduced in Chrome, IE, and Firefox. I don't see any client side errors in Chrome Dev Tools.

    I do have $cfg['CodemirrorEnable'] = true; in my config.inc.php

    Are there other salient configuration directives?

     
    • Marc Delisle

      Marc Delisle - 2015-04-14

      It would really help if you could reply at my question above: "Did you try on http://demo.phpmyadmin.net" ?

       

      Last edit: Marc Delisle 2015-04-14
      • Owen

        Owen - 2015-04-14

        Oops, sorry Marc. I did try on the demo site and the syntax highlighting worked as expected.

         
        • Marc Delisle

          Marc Delisle - 2015-04-14

          Great. Any chance that the config.inc.php you are looking at is not the one used by phpMyAdmin?

           
          • Owen

            Owen - 2015-04-14

            No, it is the only one.

             
            • Marc Delisle

              Marc Delisle - 2015-04-14

              Can you prove that by introducing a syntax error in it?

               
              • Owen

                Owen - 2015-04-14

                Sure. I won't have a chance until tomorrow morning though.

                 
                • Marc Delisle

                  Marc Delisle - 2015-04-14

                  Another thing: via Settings > SQL queries > SQL queries, Code mirror can be disabled. This is part of user preferences (phpMyAdmin configuration storage).

                   
                  • Owen

                    Owen - 2015-04-15

                    Code Mirror is enabled.

                     
              • Owen

                Owen - 2015-04-15

                I introduced an syntax error in config.inc.php and as expected, my install broke so, I can prove that it is the only config.inc.php file.

                 
  • Dan Ungureanu

    Dan Ungureanu - 2015-04-18

    Can you try downloading the phpMyAdmin package again and overwrite current files with the freshly downloaded ones?

    Make sure to backup any configuration files before doing this (they should not be overwritten anyway).

     

    Last edit: Dan Ungureanu 2015-04-18
  • Owen

    Owen - 2015-04-20

    I have the same issue with the freshly downloaded 4.4.3 package.