[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/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 - pdfreport (htlmdoc) error
Cheshire Cat Computing
http://www.steveshipway.org/forum/

pdfreport (htlmdoc) error
http://www.steveshipway.org/forum/viewtopic.php?f=17&t=4308
Page 1 of 2

Author:  needinghelp [ Fri Mar 04, 2011 2:18 am ]
Post subject:  pdfreport (htlmdoc) error

Can someone help not sure what is wrong?

ERRORS DETECTED IN HTMLDOC

/usr/bin/htmldoc --size a4 --webpage --no-links --no-strict --color -t pdf --quiet --path /var/www/html/mrtg --outfile /tmp/report-13171/report.13171.pdf > /tmp/report-13171/report.13171.pdf.err 2>&1

ERROR: No HTML files!
HTMLDOC Version 1.8.23 Copyright 1997-2002 Easy Software Products, All Rights Reserved.
This software is governed by the GNU General Public License, Version 2, and
is based in part on the work of the Independent JPEG Group.

Author:  needinghelp [ Fri Mar 04, 2011 10:59 pm ]
Post subject:  Re: pdfreport (htlmdoc) error

Seeing this error in my httpd error logs

Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1: Character ' ' is not valid inside an entity name, referer: http://172.16.1.135/cgi-bin/routers2.cg ... pe=options

Pls someone help me!

Author:  needinghelp [ Sat Mar 05, 2011 12:35 am ]
Post subject:  Re: pdfreport (htlmdoc) error

Looking at this a bit more and it looks like no html files are in $TMPFILE of the below command any help?

$cmd = "$HTMLDOC --size a4 --webpage --no-links --no-strict --color -t pdf --quiet --path $WEBROOT --outfile $TMPFILE ".(join " ",@files)." > $TMPFILE.err 2>&1";

Author:  stevesh [ Tue Mar 08, 2011 9:51 am ]
Post subject:  Re: pdfreport (htlmdoc) error

Can you give me a copy of the MRTG .cfg file corresponding to the PDF report that is failing? It seems that the problem is not with HTMLDOC, but earlier on since it is failing to create the web page that is subsequently converted to PDF.

Also, please let me know which version of Routers2 and which version of RRDTool you are using -- there were som incompatibilities between later versions of htmldoc and earlier versions of routers2. Upgrading routers2 to the latest verison would probably be a good idea if you are on an older version.

Author:  needinghelp [ Wed Mar 09, 2011 9:33 pm ]
Post subject:  Re: pdfreport (htlmdoc) error

Hi Steve

Thank you for helping I have had to remove some things from the cfg file see below.

WorkDir: /var/www/html/mrtg/
LogFormat: rrdtool

MaxBytes[_]: 12500000
Options[_]: growright,bits
YLegend[_]: Bits per Second
Legend1[_]: Incoming Traffic
Legend2[_]: Outgoing Traffic
Legend3[_]: Maximal 5 Minute Incoming
Legend4[_]: Maximal 5 Minute Outgoing
LegendI[_]: In:
LegendO[_]: Out:
Directory[_]: TEST

Target[gw.gigoutside]: /IP Address Removed:test@IP Address Removed:::::2
Title[gw.gigoutside]: Gig0/0
PageTop[gw.gigoutside]: <H1>Gig0/0</H1>
routers.cgi*InMenu[gw.gigoutside]: No
routers.cgi*Summary[gw.gigoutside]: Outside
routers.cgi*Extension[gw.gigoutside]: "Trending Analysis" /cgi-bin/trend.cgi graph-sm.gif
routers.cgi*Extension[gw.gigoutside]: "PDF Report Monthly,Yearly" /cgi-bin/pdfreport.cgi?wmy=my pdf-sm.gif

routers2.cgi version v2.20
RRDtool version 1.4.3
htmldoc version 1.8.23

Running the below cmd works and the manually running the html file thought htmldoc makes a pdf.

/var/www/cgi-bin/routers2.cgi -D 'mds-gw-corsham-pdf-test.cfg' -T 'gw-corsham.gigoutside' -t dwmy -s l2p > /var/www/html/test.html

Author:  stevesh [ Thu Mar 10, 2011 2:40 pm ]
Post subject:  Re: pdfreport (htlmdoc) error

I'm using htmldoc 1.8.27, rrdtool 1.4.trunk, Routers2 v2.22beta and things seem to be OK.

Since you're using Routers2 v2.20, try upgrading to 2.21 or 2.22beta since there was a fix for pdfreport support in 2.21 which corrected an issue with htmldolc 1.8.x. v2.20 also corrected some errors in pdfreport.cgi so make sure you have the latest version of pdfreport.cgi (shipped with the routers2 package)

The error message is caused by routers2 not producing any html files for htmldoc to process. Are you using authentication/autorisation in your routers2.conf at all?

Steve

Author:  needinghelp [ Thu Mar 10, 2011 10:06 pm ]
Post subject:  Re: pdfreport (htlmdoc) error

I am running no authentication/autorisation upgraded htmldoc to 1.827 and Routers2 v2.21 still the same problem?

Author:  garrycook [ Tue May 10, 2011 6:05 am ]
Post subject:  Re: pdfreport (htlmdoc) error


Author:  stevesh [ Tue May 10, 2011 11:08 am ]
Post subject:  Re: pdfreport (htlmdoc) error


Author:  garrycook [ Tue May 10, 2011 11:28 am ]
Post subject:  Re: pdfreport (htlmdoc) error

Excellent, thanks for the help Steve. It works perfectly now.

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