export2pdf: beta2 is out
Moderators: Developers, Moderators
export2pdf: beta2 is out
Hi,
after some very difficult starts, the beta2 is out.
you can download it from http://kalika.no-ip.com/
All descriptions are given on the site.
Regards.
after some very difficult starts, the beta2 is out.
you can download it from http://kalika.no-ip.com/
All descriptions are given on the site.
Regards.
i did a fresh installation with the latest cacti version. and installed your latest beta version (with patch successful). after that i could not access to the "User "Management . then i opened the export2pdf_main.php, which welcomes me with "access denied"
maybe i did something wrong. any hints or prerequisits ?
cheers
tom
maybe i did something wrong. any hints or prerequisits ?
cheers
tom
http://www.lounge-radio.com/
Hi,
i've done a new fresh install.
after that, it's true that user_admin.php, line 536, is broken. (but i've got an error type 'T_VARIABLE not defined'...)
Just delete the "order" tha is wrong, to keep:
"order by user_auth.username");"
because the order clause "user_realms" will not function. (will be corrected in beta3)
After that, in the user admin section it should be ok. Check the export2pdf rights.
If not, tell me.
Fred.
i've done a new fresh install.
after that, it's true that user_admin.php, line 536, is broken. (but i've got an error type 'T_VARIABLE not defined'...)
Just delete the "order" tha is wrong, to keep:
"order by user_auth.username");"
because the order clause "user_realms" will not function. (will be corrected in beta3)
After that, in the user admin section it should be ok. Check the export2pdf rights.
If not, tell me.
Fred.
Hi,
I install beta 3
I can see preview but when I try to generate pdf browser shows
I install beta 3
I can see preview but when I try to generate pdf browser shows
And browser link is:The page cannot be found
Additionally, when I clik generate Pdf&Mail icon browser shows a message :
what is wrong?ERROR: Mail not sent...(Language string failed to load: file_accesstmp/pdf-438c0d30eaa1b.pdf)Click here to close
Warning: unlink(tmp/pdf-438c0d30eaa1b.pdf) [function.unlink]: No such file or directory in /www/htdocs/cacti/export2pdf_main.php on line 1351
Hi,
did you install htmldoc?
http://www.htmldoc.org/
and choose the version 1.8xxx (because 1.9 is known to crash).
the direct link may be: http://www.htmldoc.org/software.php?VER ... rce.tar.gz
Just extract and do:
./configure --prefix=/usr
make
make install
Remember to fill in the cacti administration panel the PATH of htmldoc.
you have raised one point: i've no documentation. This will be done.
Fred.
did you install htmldoc?
http://www.htmldoc.org/
and choose the version 1.8xxx (because 1.9 is known to crash).
the direct link may be: http://www.htmldoc.org/software.php?VER ... rce.tar.gz
Just extract and do:
./configure --prefix=/usr
make
make install
Remember to fill in the cacti administration panel the PATH of htmldoc.
you have raised one point: i've no documentation. This will be done.
Fred.
I install 1.6.25
Additionally, I found a problem:
When I select Multi Graph selection and select graphs, I read a message in preview like this:
Then I set PATH for htmldoc Binary File Path into cacti as:[root@cacti-test htmldoc]# which htmldoc
/usr/bin/htmldoc
[root@cacti-test htmldoc]# htmldoc -h
HTMLDOC Version 1.8.25 Copyright 1997-2005 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.
But I still have same problems/usr/bin
Additionally, I found a problem:
When I select Multi Graph selection and select graphs, I read a message in preview like this:
Another error is when I select branch of tree I get a message like this:Warning: item index: 6 is unknwon. Item Type was: 3
Say hi to your problem buddy***error: do not know this item type
please, read the post http://forums.cacti.net/viewtopic.php?t=10234
it answers some of your questions.
also, the problem about Multi Graph Selection is described. It's a feature implemented in the item view, not for the moment in the preview.
I must migrate to the Plugin Architecture as cigamit said, to be clean.
About your file not found problem, are you sure you have configured cacti as /usr/bin/htmldoc (Configuration =>Settings => Paths => htmldoc Binary File Path)?
It must be configured as the font for example or as the rrdtool binary path.
Fred.
it answers some of your questions.
also, the problem about Multi Graph Selection is described. It's a feature implemented in the item view, not for the moment in the preview.
I must migrate to the Plugin Architecture as cigamit said, to be clean.
About your file not found problem, are you sure you have configured cacti as /usr/bin/htmldoc (Configuration =>Settings => Paths => htmldoc Binary File Path)?
It must be configured as the font for example or as the rrdtool binary path.
Fred.
PDF creating is ok.fred-xdev wrote:please, read the post http://forums.cacti.net/viewtopic.php?t=10234
it answers some of your questions.
also, the problem about Multi Graph Selection is described. It's a feature implemented in the item view, not for the moment in the preview.
I must migrate to the Plugin Architecture as cigamit said, to be clean.
About your file not found problem, are you sure you have configured cacti as /usr/bin/htmldoc (Configuration =>Settings => Paths => htmldoc Binary File Path)?
It must be configured as the font for example or as the rrdtool binary path.
Fred.
I realized that tree function is note ready todays. Because in export2pdf_main.php, between line 12227 and 1233 there is no case 8 that is tree
And I have a last question about mail. To send a mail that produced pdf, is my linux machine has sendmail package?
Ok I understand that I dont need to sendmail.
But, how can I configure my SMTP server?
I have a cacti 0.8.6g IP Address is 10.200.18.39 and we have have a SMTP server (Microsoft ESMTP MAIL Service) IP Address is 10.200.123.135
I dont know how can I configure php codes about export2pdf.
Or, do I need extra application to use send mail feature?
But, how can I configure my SMTP server?
I have a cacti 0.8.6g IP Address is 10.200.18.39 and we have have a SMTP server (Microsoft ESMTP MAIL Service) IP Address is 10.200.123.135
I dont know how can I configure php codes about export2pdf.
Or, do I need extra application to use send mail feature?
Cool. It works.
I can send mail now.
I still have two question:
1. how can I change the charset to see correct leter in PDF? I mean I use Turkish fonts. So when I use turkish letter in schema (textbox etc.) PDF output shows some weird letter.
Is there any way to change code page to see turkish code?
2. How can I send mail more than one mail address. I try comma, semicolon space between mail addresses. ıs there any way?
AND AN IDEA:
If your plug-in can send mail automatically, in cron, could be very nice.
For example , every monday cacti sends mail defined schema. Is it nice?
I can send mail now.
I still have two question:
1. how can I change the charset to see correct leter in PDF? I mean I use Turkish fonts. So when I use turkish letter in schema (textbox etc.) PDF output shows some weird letter.
Is there any way to change code page to see turkish code?
2. How can I send mail more than one mail address. I try comma, semicolon space between mail addresses. ıs there any way?
AND AN IDEA:
If your plug-in can send mail automatically, in cron, could be very nice.
For example , every monday cacti sends mail defined schema. Is it nice?
Who is online
Users browsing this forum: No registered users and 1 guest