I'm not sure if my last email went through, but all the sample pages
work now. 

Y.

On Wed, 2009-09-16 at 21:33 -0400, Yonas wrote:
> The other sampleX.html pages are broken, too. I've attached the output
> for sample6.
> 
> On Wed, 2009-09-16 at 21:27 -0400, Yonas wrote:
> > Nice, that was the problem. Recommend to add this to the README.
> > 
> > On Thu, 2009-09-17 at 03:22 +0200, Chris Chabot wrote:
> > > The error is pretty self explanatory, the meta data service gets an empty
> > > post, ie $GLOBALS['HTTP_RAW_POST_DATA'] is empty in the
> > > MetadataService->doPost function.
> > > 
> > > You could try using always_populate_raw_post_data = On in your php.ini and
> > > if that doesn't help, perhaps the Suhosin patch is blocking the raw post
> > > from being populated?
> > > 
> > > On Thu, Sep 17, 2009 at 3:05 AM, Yonas <[email protected]> wrote:
> > > 
> > > > hey guys,
> > > >
> > > > I'm using the PHP distro and I tried the first demo mentioned on the
> > > > site:
> > > >
> > > > http://shindig:8080/gadgets/files/samplecontainer/samplecontainer.html
> > > >
> > > > Nothing shows up when clicking 'reset all', and Firebug shows these
> > > > errors:
> > > >
> > > >
> > > > Headers:
> > > > ------------
> > > > Response Headers
> > > > Date
> > > > Thu, 17 Sep 2009 00:56:30 GMT
> > > > Server
> > > > Apache/2.2.11 (Ubuntu)
> > > > PHP/5.2.6-3ubuntu4.2 with
> > > > Suhosin-Patch
> > > > X-Powered-By
> > > > PHP/5.2.6-3ubuntu4.2
> > > > Accept-Ranges
> > > > bytes
> > > > Cache-Control
> > > > public,max-age=86400
> > > > Expires
> > > > Fri, 18 Sep 2009 00:56:30 GMT
> > > > Vary
> > > > Accept-Encoding
> > > > Content-Encoding
> > > > gzip
> > > > Content-Length
> > > > 317
> > > > Connection
> > > > close
> > > > Content-Type
> > > > text/html; charset=UTF-8
> > > > Request Headers
> > > > Host
> > > > shindig:8080
> > > > User-Agent
> > > > Mozilla/5.0 (X11; U; Linux i686;
> > > > en-US; rv:1.9.0.14) Gecko/2009090216
> > > > Ubuntu/9.04 (jaunty) Firefox/3.0.14
> > > > Accept
> > > > text/html,application/xhtml
> > > > +xml,application/xml;q=0.9,*/*;q=0.8
> > > > Accept-Language
> > > > en-us,en;q=0.5
> > > > Accept-Encoding
> > > > gzip,deflate
> > > > Accept-Charset
> > > > ISO-8859-1,utf-8;q=0.7,*;q=0.7
> > > > Keep-Alive
> > > > 300
> > > > Connection
> > > > keep-alive
> > > > Content-Type
> > > > application/x-www-form-urlencoded;
> > > > charset=UTF-8
> > > > Referer
> > > > http://shindig:8080/gadgets/files/samplecontainer/samplecontainer.html
> > > > Content-Length
> > > > 208
> > > >
> > > > POST:
> > > > ------------
> > > >
> > > > {"context":{"country":"default","language":"default","view":"default","container":"default"},"gadgets":[{"url":"
> > > > http://shindig:8080/gadgets/files/samplecontainer/examples/SocialHelloWorld.xml
> > > > ","moduleId":1}]}
> > > >
> > > >
> > > > RESPONSE:
> > > > -----------
> > > >
> > > > <html><body><h1>Internal Server Error</h1><br />No post data set<br
> > > > /><pre>Array
> > > > (
> > > >    [0] => Array
> > > >        (
> > > >            [file] => /var/www/shindig/index.php
> > > >            [line] => 118
> > > >            [function] => doPost
> > > >            [class] => MetadataServlet
> > > >            [object] => MetadataServlet Object
> > > >                (
> > > >                    [lastModified:private] =>
> > > >                    [contentType:private] => text/html
> > > >                    [charset:private] => UTF-8
> > > >                    [noCache:private] =>
> > > >                    [cacheTime:private] => 86400
> > > >                    [noHeaders] =>
> > > >                )
> > > >
> > > >            [type] => ->
> > > >            [args] => Array
> > > >                (
> > > >                )
> > > >
> > > >        )
> > > >
> > > > )
> > > > </pre></body></html>
> > > >
> > > >
> > > >

Reply via email to