<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>I was looking into the bug <a href="http://sourceforge.net/p/phpmyadmin/bugs/4040/">http://sourceforge.net/p/phpmyadmin/bugs/4040/</a> , I am able to reproduce it, I get the fatal error in apache error log saying "<br>
PHP Fatal error: Call to a member function getPath() on a non-object in /var/www/phpmyadmin/libraries/Util.class.php on line 184"<br></div>Though there is no error shown on UI, at the user interface I get the expected message "<span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(240,255,240);display:inline!important;float:none"><span class=""></span>Configuration has been saved</span>" .<br>
</div>Also the error comes only when active theme is "pmahomme". Because in the code we are unsetting the SESSION['PMA_Theme_Manager'] and $_SESSION['PMA_Theme'] if the current theme is not "original".<br>
<br></div>So I have a Question:<br></div>Currently when we reset the settings, active theme doesn't reset to default one, which is "pmahomme", it remains same. Is it the correct behaviour or should it reset the current theme to default one?<br>
<br></div>So if we don't need to reset the theme to default one, then just removing the unset statement which is unsetting themes session variables should fix the issue. Otherwise instead of unsetting, setting the themes session variables to default theme will fix the issue.<br>
<br></div>Please let me know if any concerns, so that I can proceed with fixing this bug.<br></div><div><br></div>Thanks and Regards<br></div>Smita Kumari<br><div><div><div><br></div></div></div></div>