Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
8 - 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

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

Who's Online

668 user(s) are online (636 user(s) are browsing Support Forums)


Members: 0


Guests: 668


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits