• Discussion
  • Undefined index: PMA_token issue in mysql logout

when logout mysql got this error

Notice in ./libraries/classes/Url.php#115
Undefined index: PMA_token

Backtrace

./libraries/classes/Url.php#76: PhpMyAdmin\Url::getHiddenFields(array)
./libraries/classes/Config/FormDisplayTemplate.php#51: PhpMyAdmin\Url::getHiddenInputs(
string '',
string '',
integer 0,
string 'server',
)
./libraries/classes/Config/FormDisplay.php#295: PhpMyAdmin\Config\FormDisplayTemplate::displayFormTop(
string 'logout.php?db=&table=&server=1&target=',
string 'post',
array,
)
./libraries/classes/Config/PageSettings.php#174: PhpMyAdmin\Config\FormDisplay->getDisplay(
boolean true,
boolean true,
boolean false,
string 'logout.php?db=&table=&server=1&target=',
array,
)
./libraries/classes/Config/PageSettings.php#93: PhpMyAdmin\Config\PageSettings->getPageSettingsDisplay(
,
NULL,
)
./libraries/classes/Config/PageSettings.php#225: PhpMyAdmin\Config\PageSettings->__construct(
string 'Navi',
string 'pma_navigation_settings',
)
./libraries/classes/Navigation/Navigation.php#80: PhpMyAdmin\Config\PageSettings::getNaviSettings()
./libraries/classes/Header.php#440: PhpMyAdmin\Navigation\Navigation->getDisplay()
./libraries/classes/Response.php#266: PhpMyAdmin\Header->getDisplay()
./libraries/classes/Response.php#279: PhpMyAdmin\Response->
getDisplay()
./libraries/classes/Response.php#438: PhpMyAdmin\Response->_htmlResponse()
PhpMyAdmin\Response->response()
Notice in ./libraries/classes/Url.php#115
Undefined index: PMA_token

Backtrace

./libraries/classes/Config/FormDisplayTemplate.php#52: PhpMyAdmin\Url::getHiddenFields(array)
./libraries/classes/Config/FormDisplay.php#295: PhpMyAdmin\Config\FormDisplayTemplate::displayFormTop(
string 'logout.php?db=&table=&server=1&target=',
string 'post',
array,
)
./libraries/classes/Config/PageSettings.php#174: PhpMyAdmin\Config\FormDisplay->getDisplay(
boolean true,
boolean true,
boolean false,
string 'logout.php?db=&table=&server=1&target=',
array,
)
./libraries/classes/Config/PageSettings.php#93: PhpMyAdmin\Config\PageSettings->getPageSettingsDisplay(
,
NULL,
)
./libraries/classes/Config/PageSettings.php#225: PhpMyAdmin\Config\PageSettings->__construct(
string 'Navi',
string 'pma_navigation_settings',
)
./libraries/classes/Navigation/Navigation.php#80: PhpMyAdmin\Config\PageSettings::getNaviSettings()
./libraries/classes/Header.php#440: PhpMyAdmin\Navigation\Navigation->getDisplay()
./libraries/classes/Response.php#266: PhpMyAdmin\Header->getDisplay()
./libraries/classes/Response.php#279: PhpMyAdmin\Response->
getDisplay()
./libraries/classes/Response.php#438: PhpMyAdmin\Response->_htmlResponse()
PhpMyAdmin\Response->response()

    @technothumb
    Please do not post your private information to the forum.....

    I have modified the login information for you, please provide your email and I will send it to you

    In addition, after I just clicked the repair panel, phpmyadmin has been able to work normally

      aaPanel_Jose i am still facing same issue,
      show same error while login, even if i am open one database and some one else open other database, after refresh we both show last database opened in phpmyadmin

      Hello,

      Same problem as technotHumb since 3 hours i migrate all my data with databases to new aapanel on different server, when i try to login, the url is only /phpmyadmin/ with no number and letter series and phpmyadmin return pma_token error after logout :
      Notice in ./libraries/classes/Url.php#117
      Undefined index: PMA_token
      https://prnt.sc/tmkf1r

      I've already try to repair the panel and reinstall phpmyadmin (v5) withouy success

        Firmament
        execute this command and try access again?
        chown -R www:www /www/server/phpmyadmin

        This is because now phpmyadmin is resolved through the panel, so random entry is no longer needed to ensure security

          Firmament
          After repairing the panel, click phpmyadmin and there will be a pop-up window for you to choose. If you have problems logging in with the panel, you can try another login method