Welcome to Pandora FMS Community › Forums › Community support › Error in exporting CSV? Bug?
-
Error in exporting CSV? Bug?
Posted by Robb11 on February 26, 2009 at 13:41Hi! 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 141What about these two issues?
Thanks in advance,
Robb.
raul replied 15 years, 12 months ago 3 Members · 5 Replies -
5 Replies
-
-
::
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: http://scorpia.artica.es/pandora/
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!
-
-
-
::
Roberto, I’ve answered you by email. I write it again:
We have solved the issue, you can download the file from:
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