Esri / resource-proxy

Proxy files for DotNet, Java and PHP.
Apache License 2.0
371 stars 322 forks source link

PHP Proxy returning 500 Internal Server Error for POST #536

Closed BharathKonaganti closed 3 years ago

BharathKonaganti commented 4 years ago

Hi

I am using PHP proxy to load web map which has secured layers with pop-up enabled. The webmap is loading with layers. but when i click on any feature, then the popup is not displayed as the query is failing with 500 Internal server Error.

Please let me know if i need to change anything in proxy in order to work with POST requests.

BharathKonaganti commented 4 years ago

I found the solution.

In proxy.php file while calling the post method in runProxy() method at line number 868 () we have to pass null parameters.

$this->proxyPost(); change to $this->proxyPost(null,null);

bsvensson commented 4 years ago

@BharathKonaganti - I'm glad you got it working.

What version of php are you using?

BharathKonaganti commented 4 years ago

@bsvensson: php version is 7.1.33

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you need additional assistance please contact Esri Technical Support. Thank you for your contributions.

github-actions[bot] commented 3 years ago

This issue has been automatically closed due to inactivity. If you need additional assistance please contact Esri Technical Support.