[Phpmyadmin-devel] Theme errors
Herman van Rink
rink at initfour.nl
Fri Mar 5 11:26:18 CET 2010
Michal Čihař wrote:
> Hi all
>
> I really fail to see cause of following error, but maybe I'm just
> missing something.
>
> On demo server, lot (maybe all) of themes throw out errors:
>
> Call to a member function get() on a non-object in themes/aqua/css/theme_left.css.php on line 19#012
> Call to a member function get() on a non-object in themes/aqua/css/theme_right.css.php on line 19#012
> Call to a member function get() on a non-object in themes/aqua_brushed/css/theme_left.css.php on line 19#012
> Call to a member function get() on a non-object in themes/aqua_brushed/css/theme_right.css.php on line 19#012
> Call to a member function get() on a non-object in themes/arctic_ocean/css/theme_left.css.php on line 26#012
> Call to a member function get() on a non-object in themes/arctic_ocean/css/theme_right.css.php on line 29#012
> Call to a member function get() on a non-object in themes/clearview3/css/theme_right.css.php on line 19#012
> Call to a member function get() on a non-object in themes/clearview3/css/theme_left.css.php on line 17#012
>
> Do somebody have an idea how to fix it?
>
I guess that the PMA_Config object is not loaded.
In the original theme the line looks like:
font-size: <?php echo (null !==
$GLOBALS['PMA_Config']->get('fontsize') ?
$GLOBALS['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>;
My first guess would be that it throws the same error... but you could
try it.
--
Met vriendelijke groet / Regards,
Herman van Rink
Initfour websolutions
More information about the Developers
mailing list