Pandora FMS Community

[Solved] flash graph is not working

liqweed · 10 ene 2010, 22:12 · 16 mensajes · 85 visitas

  1. Inicio del debate

    hi we have just updated from cvs version to 3.0 stable (installed from .deb). flash graphs stopped working. they display 'agent access rate' and few graphs but NOT ANY from agents data. when i switch to non-flash ones it just works. i can see graph's source with values when i view the page source. is there any way to fix that please? thanks for your great work!

  2. hi we have just updated from cvs version to 3.0 stable (installed from .deb). flash graphs stopped working. they display 'agent access rate' and few graphs but NOT ANY from agents data. when i switch to non-flash ones it just works. i can see graph's source with values when i view the page source. is there any way to fix that please? thanks for your great work!

    Have you tested the demo running at farscape.artica.es ?. If this works for you its a problem in your setup, if not, is a problem in your browser.

  3. i looked at demo ((Link not available anymore)) and it seem to me that flash fusion charts are disabled. i can see graphs in images. this works at our installation too. problem is when fusion charts try to do this job.

  4. Damm, flash was disabled in the demo, can you try to see if flash graphs in the demo works for you ?

  5. thanks for turning flash graphs on. i can see your graphs fine. there is a difference between our sources in.. {         var myChart = new FusionCharts("//include/FusionCharts/FCF_MSArea2D.swf", "chart_330690064", "555", "245", "0", "1"); and {         var myChart = new FusionCharts("/pandora_console/include/FusionCharts/FCF_MSArea2D.swf", "chart_1966635550", "555", "245", "0", "1"); i have 2x // in path my config is:                     $config["homedir"]="/var/www/pandora_console";      // Config homedir                     $config["homeurl"]="/";        // Base URL should this be the problem with rendering the graph?

  6. Your $config["homeurl"] should be /pandora_console I think thats the problem.

  7. If you access Pandora though (Link not available anymore), then you have to set the  $config["homeurl"] = /pandora_console (this is done in the installation process, as the script gets the URL). If you access though (Link not available anymore), this is probably a bug... In which pages you can't see the flash??

  8. yes. my install is to / i cannot see graphs in popup window: (Link not available anymore) i can see without problems: (Link not available anymore) in your demo installation it works fine. tested via latest firefox & chromium. (Link not available anymore)

  9. I have the same problem, but I cannot see any graph. I hat the old ubuntu hardy, Pandora FMS 2.1 version and I did the update. Everythings worked fine, even the database conversion, but the graphics didnt work. Maybe I need install anything more.

  10. Mmm, I think it's a bug. It should be solved in one commit. Let's try to solve it: Change the code in the /include/functions_fsgraph.php file, line 195, from: var myChart = new FusionCharts("' .  $config["homeurl"] .  '/include/FusionCharts/FCF_MSArea2D.swf", to var myChart = new FusionCharts("' .    $pre_url .  '/include/FusionCharts/FCF_MSArea2D.swf", Please, change, and try again. Thanks. Raul

  11. Nothing happens, the problem remains. Thanks for your help. This is my screen,

    [

    ](//pandorafms.com/community/media/forum/0/5092=37-Pantallazo.png)

  12. My case SOLVED. You were wright. I compared the actual version with the old one (2.1) and I discovered some difference in the configuration of the file ./include/config.php. The configuration which does work is: <?php // Begin of automatic config file $config["dbname"]="pandora";                    // MySQL DataBase name $config["dbuser"]="root";                      // DB User $config["dbpass"]="pandora";                    // DB Password $config["dbhost"]="localhost";                  // DB Host $config["homedir"]="/var/www/pandora_console";          // Config homedir $config["homeurl"]="/pandora_console";                  // Base URL // End of automatic config file I changed it, and all the graphics are working.

  13. As I see in the picture you have sent, you have your url in /pandora_console, so you should have in your config file: $config["homeurl"]="/pandora_console"; Anyway, if you take a look at the source code of the HTML page in the graph page, and search for FusionCharts, what do you see? By the way, I'm from Salamanca :-D

    Nothing happens, the problem remains. Thanks for your help. This is my screen,

  14. You're right in the two things, FusionChart is referred to pandora_console and I'm from Salamanca too. All is working now, better than ever.

  15. var myChart = new FusionCharts("' .    $pre_url .  '/include/FusionCharts/FCF_MSArea2D.swf",

    fixed our problem. thanks!

  16. Mmm, I think it's a bug. It should be solved in one commit. Let's try to solve it: Change the code in the /include/functions_fsgraph.php file, line 195, from: var myChart = new FusionCharts("' .   $config["homeurl"] .  '/include/FusionCharts/FCF_MSArea2D.swf", to var myChart = new FusionCharts("' .     $pre_url .  '/include/FusionCharts/FCF_MSArea2D.swf", Please, change, and try again. Thanks. Raul

    Just wanted to throw in a +1 on this. I have also installed to the root address (http:///index.php), and had no flash graphs after installation. This little patch fixed it.

Entra en tu cuenta para publicar.