Pandora FMS Community

Error in exporting CSV? Bug?

Robb11 · 26 feb 2009, 13:41 · 6 mensajes · 60 visitas

  1. Inicio del debate

    Hi! I have installed Pandora FMS 2.0 and I am configuring it. I have tried to export data in CSV and I got the following error after I have clicked on "Download file" (next to the floppy image): blank page with this error in big black font: Warning: require(include/config.php) [function.require]: failed to open stream: No such file or directory in /var/www/pandora/operation/agentes/export_csv.php on line 21 Fatal error: require() [function.require]: Failed opening required 'include/config.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/pandora/operation/agentes/export_csv.php on line 21 I thought that was a permissions mistake error. I have found, instead, that in the /var/www/pandora/operation/agentes/export_csv.php file there is this requirement: require ("include/config.php"); I have corrected it in require ("../../include/config.php"); and it seems to work. Is it a right thing? Did anybody of you encouter this problem? After this correction, another error occurred: Fatal error: Call to undefined function safe_input() in /var/www/pandora/include /functions_db.php on line 141 What about these two issues? Thanks in advance, Robb.

  2. This doesn't work for me either.. But I got no error... Just the blank screen...

  3. I don't know why you see it as blank. Permissions on some files or dir? Mmm... Try to do that on the online demo of Pandora: (Link not available anymore) user demo password demo. That's the thing which happens to me to. The first workaround works but move the problem on another problem. safe_input() is not defined in functions_db.php!

  4. Hi! Looks like the demo code is get from SVN, but not all the functions were updated. Let me check that. daniels: Probably you don't get the error due to the error level set in php.ini We'll check and fix ASAP. Thanks Robb

  5. Raul but the same problem is occurred in my installation! And I have installed with the installer which is in the tar.gz downloaded from sourceforge! Why?

Entra en tu cuenta para publicar.