#1179 Unable to disable ajax completely

3.4.5
closed
nobody
None
7
2011-11-09
2011-10-25
Majkel
No

I've tried to completely disable ajax on my local phpMyAdmin installation - without any result.

I've edited config.inc.php to include the following line:

$cfg['AjaxEnable'] = false;

unfortunately, every day when I start working, the settings is ignored and I have to manually update it in settings.

Very annoying.

Many thanks.

Please note, I am using Fedora 14 and the rpm package available from it's repositories.

Discussion

  • Majkel
    Majkel
    2011-10-25

    • priority: 5 --> 7
     
  • Marc Delisle
    Marc Delisle
    2011-10-25

    This is probably because in the Settings panel, your user preference states that this setting is enabled. Might be because there are more than one person for this username.

    Moved to support.

     
  • Marc Delisle
    Marc Delisle
    2011-10-25

    • milestone: 2177735 -->
    • labels: 1534256 -->
    • status: open --> pending
     
  • Majkel
    Majkel
    2011-10-27

    Thanks,

    I've tried to delete all cookies / etc - did not help to solve the issue.
    I am the sole user on the installation.
    I also have tried to set up "phpMyAdmin configuration storage" but it did not work at all.

    I would expect the config.inc.php setting to become a default... but it does not work.

    Many thanks for your help.

     
  • Majkel
    Majkel
    2011-10-27

    • status: pending --> open
     
  • Marc Delisle
    Marc Delisle
    2011-10-27

    Are you sure that the config.inc.php you are modifying is the one that is active? In some installations, there are more than one file of this name, as decided by the distro.

    Also, in this tracker, please set "Group" to your phpMyAdmin version.

     
  • Majkel
    Majkel
    2011-11-02

    I've added die('x') to that one and phpMyAdmin would not load... so I guess it's the one, which gets loaded.

    I use Fedora linux distribution and package provided by fedora's official repository.

     
  • Marc Delisle
    Marc Delisle
    2011-11-02

    Which phpMyAdmin version?

     
  • Majkel
    Majkel
    2011-11-02

    phpMyAdmin version 3.4.5, I believe this is the version number I've selected, when created this report.

    I cannot select the correct version number in "Group" as it has only version numbers 2.xx

    Many thanks!

     
  • Majkel
    Majkel
    2011-11-02

    see changes at the bottom - the version number I've selected has been removed by user "lem9"

     
  • Marc Delisle
    Marc Delisle
    2011-11-02

    • milestone: --> 3.4.5
     
  • Marc Delisle
    Marc Delisle
    2011-11-02

    Ok, when I moved from Bugs to Support, the group number was lost because Bugs and Support have their own list of group numbers!

     
  • Marc Delisle
    Marc Delisle
    2011-11-02

    If you change some other setting in config.inc.php, does it have an effect?

    Also, maybe the phpMyAdmin configuration storage is set and plays a trick on you. Did you verify if a table named pma_userconfig is present in your "phpmyadmin" database (or another database which holds the configuration storage) ?

     
  • Majkel
    Majkel
    2011-11-03

    hello

    I have phpmyadmin db and pma_userconfig table, but... it's empty. At some point I've tried to set up this, but obviously it did not work. This is on one machine, on other two I did not try to setup phpmyadmin nor pma_userconfig, yet on all of three machines I am unable to disable ajax... every time I open a browser, ajax is enabled.

    many thanks.

     
  • Marc Delisle
    Marc Delisle
    2011-11-03

    Please describe one action you are performing that makes you believe that Ajax is enabled.

     
  • Majkel
    Majkel
    2011-11-03

    localhost > privileges > edit privileges

    I get an ajax popup.
    now I want to add a table to user's permissions, I hit "Go" in that popup, I can see the twizzle, but nothing really happens. further more the ajax popup is using a new theme, which is not my preference.

    after switching off ajax manually, I don't get the ajax popup when editing privileges and I can grant permission.

    I do not really like those ajax popups as they a) kill usability b) difficult to navigate (I hate scrollable areas inside scrollable areas) c) limit visible area d) don't really work. that's why I would prefer to be able to DISABLE ajax wherever possible.

    Many thanks.

     
  • Marc Delisle
    Marc Delisle
    2011-11-03

    Can you try running phpMyAdmin from another browser from which you never ran phpMyAdmin? I just want to be sure that the Settings mechanism is not picking a setting saved in browser's storage.

     
  • Majkel
    Majkel
    2011-11-03

    I've installed and tried midori browser, which I never use.

    Tried to edit privileges - same as in Firefox, got popup, twizzle, but nothing has happened.
    Went to the settings > features - ajax was set as enabled, so it looks like settings was not loaded from config.inc.php

    many thanks!

     
  • Marc Delisle
    Marc Delisle
    2011-11-03

    In your config.inc.php, comment out the line mentioning pma_userconfig, then close all your browser windows and restart your browser.

     
  • Marc Delisle
    Marc Delisle
    2011-11-05

    • status: open --> pending
     
  • Majkel
    Majkel
    2011-11-08

    • status: pending --> open
     
  • Majkel
    Majkel
    2011-11-08

    Sorry for coming back late to you.

    My config has the following lines enabled:
    $cfg['blowfish_secret'] = '*******';

    /*
    * First server
    */
    $i++;
    /* Authentication type */
    $cfg['Servers'][$i]['auth_type'] = 'cookie';
    /* Server parameters */
    $cfg['Servers'][$i]['host'] = 'localhost';
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    $cfg['Servers'][$i]['compress'] = false;
    /* Select mysqli if your server has it */
    $cfg['Servers'][$i]['extension'] = 'mysql';
    $cfg['Servers'][$i]['AllowNoPassword'] = false;

    /*
    * Directories for saving/loading files from server
    */
    $cfg['UploadDir'] = '';
    $cfg['SaveDir'] = '';

    $cfg['AjaxEnable'] = false;

    everything else is commented out as it was by default.

     
  • Majkel
    Majkel
    2011-11-09

    • status: open --> closed
     
  • Majkel
    Majkel
    2011-11-09

    I found the issue!

    On Fedora developers have decided to create a default config... in /etc/phpMyAdmin/config.inc.php location.

    When I added $cfg['AjaxEnable'] = false; in that file, php my admin picked it up without any issues!

    Many thanks for your time!