hsdn / lg

PHP Version of BGP Looking Glass script, based on the Perl sources: https://github.com/Cougar/lg
Other
41 stars 33 forks source link

Double <html> in object data #16

Closed Nousin closed 6 years ago

Nousin commented 6 years ago

Hello! First, I wanted to congratulate you on your work and thank you. Can you help me with this doubt? When I generate the graph, it creates an additional html, which causes the graph to get stuck in a "box"

https://uploaddeimagens.com.br/imagens/lg1-png-b2ab3993-51ec-4469-8267-6d69d4d8f1e5 https://uploaddeimagens.com.br/imagens/lg2-png

once again Thank you!

justkeepquiet commented 6 years ago

Hi, please read https://github.com/hsdn/lg/issues/8, this is same problem (with version of php).

Nousin commented 6 years ago

Hello! I tried auto remove my php with version 7.0. Try with 5, but I did not get results.

What caught my attention is that it generates a frame with a second html stage graph, and the examples already create

image

image

justkeepquiet commented 6 years ago

Hi, the LG script does not generates html code. This code fully generates by Graphviz library (installed on your server), probably the problem is there. Also, the problem can be in a web-server software or php.

We tested our script on php 5.3, 5.5 and 7.0 (CentOS 7), there is no problems.

Nousin commented 6 years ago

Oh right. Thank you very much for your support, I will look further into the problem.

Congratulations on work!

justkeepquiet commented 6 years ago

Thanks for your interest. If you find a way to solve the problem, please tell us.