New plugin: Timeshift (v0.1)
Moderators: Developers, Moderators
Re: New plugin: Timeshift (v0.1)
lines in my global.php
141 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
142 header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
143 header("Cache-Control: no-store, no-cache, must-revalidate");
144 header("Cache-Control: post-check=0, pre-check=0", false);
145 header("Pragma: no-cache");
146
147 /* prevent IE from silently rejects cookies sent from third party sites. */
148 header('P3P: CP="CAO PSA OUR"');
149
150 /* initilize php session */
151 session_name($cacti_session_name);
152 session_start();
141 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
142 header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
143 header("Cache-Control: no-store, no-cache, must-revalidate");
144 header("Cache-Control: post-check=0, pre-check=0", false);
145 header("Pragma: no-cache");
146
147 /* prevent IE from silently rejects cookies sent from third party sites. */
148 header('P3P: CP="CAO PSA OUR"');
149
150 /* initilize php session */
151 session_name($cacti_session_name);
152 session_start();
Re: New plugin: Timeshift (v0.1)
I understand where this error comes from but not why it is displayed.
Are you sure about ~E_WARNING in php.ini ? It should prevent from displaying warnings...
Are you sure about ~E_WARNING in php.ini ? It should prevent from displaying warnings...
Re: New plugin: Timeshift (v0.1)
jet755,
have you tried too
display_errors = Off
in your php.ini ?
have you tried too
display_errors = Off
in your php.ini ?
Re: New plugin: Timeshift (v0.1)
Yes, sure.rvd wrote:I understand where this error comes from but not why it is displayed.
Are you sure about ~E_WARNING in php.ini ? It should prevent from displaying warnings...
Re: New plugin: Timeshift (v0.1)
THANKS!rvd wrote:jet755,
have you tried too
display_errors = Off
in your php.ini ?
The warning output are avoided.
Re: New plugin: Timeshift (v0.1)
BTW, I found the 4 tab png images use 16.7M colors. Other plugin images use 256 colors.
When I use cacti on a remote-controlled PC (mstsc or UltraVNC), the background color of the Timeshift tab looks a little different from other tabs.
When I use cacti on a remote-controlled PC (mstsc or UltraVNC), the background color of the Timeshift tab looks a little different from other tabs.
Re: New plugin: Timeshift (v0.1)
Try and replace files in $CACTI/plugins/timeshift/images with attached ones (removing _256 in their names)jet755 wrote:BTW, I found the 4 tab png images use 16.7M colors. Other plugin images use 256 colors.
When I use cacti on a remote-controlled PC (mstsc or UltraVNC), the background color of the Timeshift tab looks a little different from other tabs.
- Attachments
-
- tab_timeshift_256.png (2.38 KiB) Viewed 3328 times
-
- s_tab_timeshift_down_256.png (1.83 KiB) Viewed 3328 times
-
- s_tab_timeshift_256.png (1.92 KiB) Viewed 3328 times
-
- tab_timeshift_down_256.png (2.26 KiB) Viewed 3328 times
Re: New plugin: Timeshift (v0.1)
Perfect! THANK YOU!
Re: New plugin: Timeshift (v0.1)
New version 0.1.1 includes 256 colors tabs in images directory and modification in setup.php about function timeshift_draw_navigation_text which was not returning $nav as expected.
see http://docs.cacti.net/userplugin:timeshift#timeshift
Thank you Elias !
see http://docs.cacti.net/userplugin:timeshift#timeshift
Thank you Elias !
Who is online
Users browsing this forum: No registered users and 1 guest