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.
Error in exporting CSV? Bug?
Robb11 · 26 feb 2009, 13:41 · 6 mensajes · 60 visitas
- Inicio del debate
This doesn't work for me either.. But I got no error... Just the blank screen...
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!
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
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?
Roberto, I've answered you by email. I write it again: We have solved the issue, you can download the file from: http://pandora.svn.sourceforge.net/viewvc/pandora/branches/pandora\_2.0/pandora\_console/operation/agentes/export\_csv.php?revision=1498&pathrev=1498 and change your version with this one. THIS BUG IS ALSO CONFIRMED ON 2.1 VERSION. Just download the file using the url above and replace it. Sorry about that Raúl
Entra en tu cuenta para publicar.
