KSchex Posted February 13, 2018 Posted February 13, 2018 Hi all, I am having a problem with the Transparent Proxy. I have reliably been running my own UI on a NAS with Apache (based on HAD using the REST commands). Since the NAS is primarily for backup, I set up XAMPP on a WIN 10 machine and copied my files and directory structure over. PHP and CURL are enabled (and tested) in Apache as well as .htaccess. I can call my UI but I have no data. I get the following error: --------------- Error accessing /rest/nodes/ZW004_1: Error: Invalid XML: Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\rest\isyProxy.php on line 35 Notice: Undefined variable: header in C:\xampp\htdocs\rest\isyProxy.php on line 22 ZW004_1 Mailbox - Bat Lev4297984.7.1.0true00000ZW004_114.7.1134.258.120185B12 ----------------- Line 22 curl_setopt ($curl, CURLOPT_HEADER, (int)$header); Line 35 $reply = curl("http://$isyIp/" . ltrim($_SERVER[REQUEST_URI],"/"), $isyUser, $isyPassword); I don’t have a real good understanding of curl or operation of the proxy. Any pointers or assistance would be really appreciated. Thanks in advance..
Recommended Posts
Archived
This topic is now archived and is closed to further replies.