| Re: DMS Error |
| by HopeL on 2015/2/2 23:19:34 Thank you zyspec! That worked! |
| Re: DMS Error |
| by zyspec on 2015/2/2 23:10:47 By the way.... there's also several places where you need to replace the following too: $HTTP_POST_VARS with $_POST $HTTP_GET_VARS with $_GET $HTTP_SERVER_VARS with $_SERVER |
| Re: DMS Error |
| by zyspec on 2015/2/2 19:18:46 You should be able to replace line 36 in ./dms/file_options.php le="color: #000000"><?php import_request_variables("P", "post_"); with: le="color: #000000"><?php extract($_POST, EXTR_PREFIX_ALL, "post_"); This code isn't real safe, but it should let you get up and running... EDIT: By the way you'll find this exact same code in 13 other places that will also need to be replaced. |
| DMS Error |
| by HopeL on 2015/2/1 18:57:09 I'm trying to use Document Management System but receive the following error when clicking on file Options after uploading a file. Fatal error: Call to undefined function import_request_variables() in /home/site.tld/modules/dms/file_options.php on line 36 Line 36: import_request_variables("P","post_"); I've tried to research and all I can find is that this is deprecated code and won't work with PHP5. Is that correct? If so, how can I update the code so that I can continue to use DMS? Everything else is working well - just can't set Options on files or folders. If it isn't deprecated code, what could it be? Please help! DMS 1.95 XOOPS Version XOOPS 2.5.7.1 PHP Version 5.4.36 mySQL Version 5.1.56-log Server API cgi-fcgi OS Linux |