[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - Some lines are crossed out in web page
Cheshire Cat Computing
https://steveshipway.org/forum/

Some lines are crossed out in web page
https://steveshipway.org/forum/viewtopic.php?f=2&t=4051
Page 1 of 1

Author:  ffeijo [ Tue Dec 01, 2009 4:55 am ]
Post subject:  Some lines are crossed out in web page

I am getting a chart where all the interfaces for one router (single .cfg file) are with the lines at the bottom of the interface crossed out, thusly:

http://gallery.me.com/ffeijo#100173/cro ... olor=black


It is only cosmetic, the links work. On the same server there are at least 4 other routers being monitored and those same lines are normal for them. Does someone know why, and most importantly, how to get rid of them ?

Thanks for any help.


***

The server runs Ubuntu server 8.04.3 LTS, rrdtool 1.2.19, mrtg 2.16.2 and routers2 2.20.

Here is the cfg file :


WorkDir: /var/www/mrtg
Logformat: rrdtool
Options[_]: growright bits
routers.cgi*Icon: router-sm.gif
routers.cgi*ShortDesc: Buc 1841 BxB
RunAsDaemon: yes
Interval:1
Timezone[_]: EST
routers.cgi*Icon: router-sm.gif
routers.cgi*Extension: "PDF Report weekly,month" /cgi-bin/pdfreport.cgi pdf-sm.gif
routers.cgi*Extension: "PDF Report daily,weekly" /cgi-bin/pdfreport.cgi?dwmy=dw pdf-sm.gif






#LAN
Target[133.136.afsnetworks.com.f00]: /172.31.9.220:xxx@172.31.9.220
MaxBytes[133.136.afsnetworks.com.f00]: 12500000
Title[133.136.afsnetworks.com.f00]: Lan interface
PageTop[133.136.afsnetworks.com.f00]: <div align=center> <H3>Buc 1841 BxB - Lan <s</H3> </div>
SetEnv[133.136.afsnetworks.com.f00]: MRTG_INT_DESCR="F0/0" MRTG_INT_IP=""
UnScaled[133.136.afsnetworks.com.f00]: dwmy
routers.cgi*InOut[133.136.afsnetworks.com.f00]: No
routers.cgi*InCompact[133.136.afsnetworks.com.f00]: no
routers.cgi*InSummary[133.136.afsnetworks.com.f00]: yes
routers.cgi*Mode[133.136.afsnetworks.com.f00]: interface
routers.cgi*ShortDesc[133.136.afsnetworks.com.f00]: . Lan
routers.cgi*Options[133.136.afsnetworks.com.f00]: bits, nopercent, nomax
routers.cgi*Icon[133.136.afsnetworks.com.f00]: interface-sm.gif
routers.cgi*Extension[133.136.afsnetworks.com.f00]: "Show current interface status" /cgi-bin/ifstatus.cgi camera2-sm.gif
routers.cgi*Link[133.136.afsnetworks.com.f00]: "Wan interface " troubleshoot/Buc-1841-2-Ken.cfg 133.136.afsnetworks.com.f10 router-sm.gif
routers.cgi*IfNo[133.136.afsnetworks.com.f00]: 1

Author:  stevesh [ Tue Dec 01, 2009 2:25 pm ]
Post subject:  Re: Some lines are crossed out in web page

Have you been modifying your CSS file? Because the problem lies somewhere in there.

The routers2.css specifies the attributes for various parts of the page and you seem to have a strikethrough attribute on these. Possibly you have headers and footers with embedded tags and no closing tag?

Nice to see someone is making the most of the Extension and Link commands! Now I just need to see if anyone is using the header/footer text symbol replacement...

Author:  ffeijo [ Tue Dec 01, 2009 5:43 pm ]
Post subject:  Re: Some lines are crossed out in web page

Gosh, Steve, you are so good you found my typo all the way from New Zealand.

It was probably a leftover from cut and paste. You can see it right here on the thread, on the pagetop directives, before the </H3> tag.

Thanks, and I certainly try to use all the stuff you and Toby sweated out. You two deserve all the DVDs you can get.

Author:  ffeijo [ Wed Dec 02, 2009 3:10 am ]
Post subject:  Re: Some lines are crossed out in web page

>>>header/footer text symbol replacement

That I am not familiar with. Is it something like variables, $ip, $name, that then gets replaced by their contents on the page ?

Author:  stevesh [ Wed Dec 02, 2009 3:01 pm ]
Post subject:  Re: Some lines are crossed out in web page

Yes.
In the header or footer, or in the PageTop and PageFoot (and also in some other places) you can use symbols like %DEVICE%, %INTERFACE%, and so on which are replaced appropriately - this allows you to do some clever IMG or A tags in the HTML. In later versions of routers2, you can use %INCLUDE(filename)% or %EXEC(program)% as well; there is a list of the various symbols in the documentation. More details are also in the book... http://www.steveshipway.org/book/ so you might be able to get your employer to buy a copy... :)

Author:  ffeijo [ Thu Dec 03, 2009 3:49 am ]
Post subject:  Re: Some lines are crossed out in web page

Thanks for the reply. I am a proud purchaser since you announced the book on the list. Might get a new copy, since mine is starting to get worn with the constant use.

Apparently I did not read it so thoroughly as I should.. :p Will check that again.

Thanks again, from an already snowy North Dakota.

Author:  stevesh [ Thu Dec 03, 2009 9:47 am ]
Post subject:  Re: Some lines are crossed out in web page

If you have the 0th Edition (preview edition) of the book, the current 2nd edition has the details for v2.20 which increased the number of availble symbols. The documentation shipped with Routers2 has the updated list of symbols.

Author:  ffeijo [ Thu Dec 03, 2009 10:39 am ]
Post subject:  Re: Some lines are crossed out in web page

I just checked and yep - I got the preview edition. Will update to the new one, of course.

I am not sure of the usage of symbols other than for automation scripts producing cfg files. If one knows, say, what the router name and IP are, what the symbols will do is to spare typing that out on lines as title and pagetop. Is that the principle or am I missing another use ?

Author:  stevesh [ Thu Dec 03, 2009 3:29 pm ]
Post subject:  Re: Some lines are crossed out in web page


Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/