You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Jakub Vrána (JIRA)" <ji...@apache.org> on 2009/04/17 14:22:14 UTC
[jira] Created: (SHINDIG-1017) Fatal error with samplecontainer
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: trunk
Reporter: Jakub Vrána
Fix For: trunk
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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SHINDIG-1017) Fatal error with samplecontainer
Posted by "Jakub Vrána (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700190#action_12700190 ]
Jakub Vrána commented on SHINDIG-1017:
--------------------------------------
It seems that SampleContainerHandler.php is missing in php/src/social/service.
> 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: trunk
> Reporter: Jakub Vrána
> Fix For: trunk
>
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.