[
https://issues.apache.org/jira/browse/SHINDIG-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan Baxter resolved SHINDIG-1017.
----------------------------------
Resolution: Won't Fix
Moved PHP to attic so we are closing this issue for now
> Fatal error with samplecontainer
> --------------------------------
>
> Key: SHINDIG-1017
> URL: https://issues.apache.org/jira/browse/SHINDIG-1017
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: 1.1-BETA1
> Reporter: Jakub Vrána
>
> Opening http://shindig/gadgets/files/samplecontainer/samplecontainer.html
> with
> http://shindig/gadgets/files/samplecontainer/examples/SocialHelloWorld.xml
> gadget and
> http://shindig/gadgets/files/samplecontainer/../sampledata/canonicaldb.json
> state leads to PHP Fatal error. The error is not displayed on the page but
> appears in the error log. The error is:
> PHP Fatal error: Uncaught exception 'Exception' with message 'When posting
> to the social end-point you have to specify a content type, supported content
> types are: 'application/json', 'application/xml' and 'application/atom+xml''
> in ...\shindig\php\src\social\servlet\ApiServlet.php:93
> Stack trace:
> #0 ...\shindig\php\index.php(111): ApiServlet->__construct()
> #1 {main}
> thrown in ...\shindig\php\src\social\servlet\ApiServlet.php on line 93
> Last class checked in the index.php foreach ($servletMap as $url => $class)
> loop before the error is DataServiceServlet, so the error is probably caused
> by it.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)