Woops that should've been a http://code.google.com/p/partuza link :)

On Tue, Dec 2, 2008 at 3:27 PM, Chris Chabot <[EMAIL PROTECTED]> wrote:

> that's something that's been implemented in the java version of shindig,
> but the php version is missing.
> the samplecontainer end point allows you to do things like setting an evil
> flag, different db files, etc... which works in java due to it's single
> process / multi-threaded nature, but with php there are no variables that
> live beyond the request scope, so not something we could easily support; Nor
> did it ever seem important enough to me to really put effort into supporting
> this tbh.
>
> if you want a 'real' sample container, check out partuza instead:
> http://code.google.com
> http://www.partuza.nl
>
> it's far more feature rich, has a real db, and demonstrates how to be an
> actual container :)
>
>    -- Chris
>
>
> On Tue, Dec 2, 2008 at 2:10 PM, xin zhang <[EMAIL PROTECTED]> wrote:
>
>> Made some progress.
>>
>> Now have another 500 error.
>>
>> <h1>500 Internal Server Error - Internal Server Error</h1>
>> Invalid or unknown service endpoint: samplecontainer
>>
>> <br>
>> Debug backtrace:
>> <br>
>> <pre>
>> #0
>> /Library/WebServer/Documents/shindig/php/src/social/service/RestRequestItem.php(44):
>> RestRequestItem->setPostData('fileurl=http%3A...')
>> #1
>> /Library/WebServer/Documents/shindig/php/src/social/servlet/DataServiceServlet.php(115):
>> RestRequestItem::createWithRequest(Array, Object(BasicSecurityToken),
>> Object(InputJsonConverter), Object(OutputJsonConverter))
>> #2
>> /Library/WebServer/Documents/shindig/php/src/social/servlet/DataServiceServlet.php(57):
>> DataServiceServlet->handleSingleRequest(Object(BasicSecurityToken),
>> Object(InputJsonConverter), Object(OutputJsonConverter))
>> #3 /Library/WebServer/Documents/shindig/php/index.php(115):
>> DataServiceServlet->doPost()
>> #4 {main}
>> </pre>
>>
>> What causes this error?
>>
>> Thanks
>>
>>
>> --- On Tue, 12/2/08, xin zhang <[EMAIL PROTECTED]> wrote:
>> From: xin zhang <[EMAIL PROTECTED]>
>> Subject: samplecontainer php
>> To: [email protected]
>> Date: Tuesday, December 2, 2008, 12:13 PM
>>
>> Hi All,
>>
>> I just installed latest version of shindig and tried sample container
>> example.
>> I got 500 error. Here is the response:
>> <html><body><h1>Internal Server Error</h1><br
>> />No post data set<br /><pre>Array
>> (
>>     [0] => Array
>>         (
>>             [file] =>
>> /Library/WebServer/Documents/shindig/php/index.php
>>             [line] => 114
>>             [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>
>>
>> I didn't set up virtual host.
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>

Reply via email to