Community Support for OpenDocMan (Deprecated)
Call to undefined function sanitize_system_string() in /var/ - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Bug Reports (https://forum.opendocman.com/forum-8.html)
+--- Thread: Call to undefined function sanitize_system_string() in /var/ (/thread-168.html)



Call to undefined function sanitize_system_string() in /var/ - dug - 02-03-2010

Got everything installed properly, but when I attempt to add a file and submit, I get the return of this error.

Fatal error: Call to undefined function sanitize_system_string() in /var/www/out.php on line 39

I'm not sure where to look, or what to do next. Any help appreciated.


Re: Call to undefined function sanitize_system_string() in /var/ - Stephen - 02-03-2010

Which version are you using? Check the version.php file.


Re: Call to undefined function sanitize_system_string() in /var/ - bbenesh - 02-05-2010

having the exact same problem. little discouraging, thought i FINALLY had worked past all the errors... please help. thanks.

Fatal error: Call to undefined function sanitize_system_string() in /var/www/xxxxx/xxxxx/httpdocs/docserver/out.php on line 39


version 1.2.5.3


Re: Call to undefined function sanitize_system_string() in /var/ - Stephen - 02-08-2010

To fix that you can:

change line 39 in out.php:
$last_message = sanitize_system_string($_REQUEST['last_message']);
Change To:
$last_message = sanitizeme($_REQUEST['last_message']);

change line 45 in view_file.php:
draw_status_bar('File View',sanitize($_REQUEST['last_message']));
Change To:
draw_status_bar('File View',sanitizeme($_REQUEST['last_message']));

Thanks for the report. I will upload a new version with those fixex.


Re: Call to undefined function sanitize_system_string() in /var/ - bbenesh - 02-08-2010

Thanks!

Problem solved.


Re: Call to undefined function sanitize_system_string() in /var/ - Stephen - 02-08-2010

:lol: