powa-team / powa

PostgreSQL Workload Analyzer
http://powa.readthedocs.io/
PostgreSQL License
768 stars 57 forks source link

default template : parasite character #20

Closed Victor-D closed 10 years ago

Victor-D commented 10 years ago

Hi,

This templates show a useless number (i.e : 1) twice in the html page default.html.ep

Regards

rjuju commented 10 years ago

Hi,

I can't see such characters on http://demo-powa.dalibo.com/

Does this problem only appears on your local installation ?

Victor-D commented 10 years ago

Hi,

Thanks you for your reply.

I do not see this character on the demo neither.

I am running Linux RHEL6.5 kernel 2.6.32-431.el6.x86_64 with Perl v5.10.1 and Mojolicious 5.33 (Tiger Face).

Here are the two lines i've erased from the default.html.ep file :

diff /usr/src/powa-REL_1_1/ui/templates/layouts/default.html.ep /var/www/powa/templates/layouts/default.html.ep

45d44 < %= user_menu 58d56 < %= main_menu

rjuju commented 10 years ago

Ok, as indicated in the documentation you need mojolicious 4.75 (and probably any version between 4.75 and 4.99).

Mojolicious major version 5 changed some features that we use, which leads to a bogus database list on the left menu. Install mojolicious 4.75 and restore the original default.html.ep to fix your issue.

Victor-D commented 10 years ago

With mojolicious 4.75 it is ok. The left menu displays in a nicer way !

topic closed

rjuju commented 10 years ago

Commit 96304e6dcc97bf33cc0a03fb120428c5396e0ca3 makes sure that users are aware of the mojolicious version requirement.