Thank you for your suggestion. According to your suggestion, I have
cleared my cache every time and tried to set the proxy server as
following step.

1. enable proxy_module and proxy_http_module
2. include these two directives in httpd.conf file

ProxyPass         http://shindig/  http://127.0.0.1:8081/shindig
ProxyPassReverse  http://shindig/  http://127.0.0.1:8081/shindig

I think my setting is not correct or complete because the result of
testing is still show "Empty XML document". I have tried to search the
method to set it but there is nothing can help me. So, please could
you give me some methodology to set the proxy server. I would be
thankful if you could help me.

On Oct 17, 10:59 pm, "Chris Chabot" <[EMAIL PROTECTED]> wrote:
> Hmmm empty xml document, that is a rather odd error.
>
> Is the computer on which shindig is running behind a proxy server? If so
> adding the proxy settings to your configuration might fix this problem.
>
> Also when your testing this remember to clear your cache every time since
> http fetch actions are cached.
>
> On Fri, Oct 17, 2008 at 4:12 PM, Ann <[EMAIL PROTECTED]> wrote:
>
> > I am a student from Thailand and I have to do my senior project about
> > the Open Social Software. Following to
> >http://incubator.apache.org/shindig/#php,
> > I have already set up the php Shindig gadget server and tested it by
> > pointing my browser to
> >http://your.host/shindig/php/gadgets/ifr?url=http://www.labpixies.com...
> > .
> > However, this following error was occured.
>
> > Error
> > Empty XML document
>
> > Debug backtrace
>
> > Array
> > (
> >    [0] => Array
> >        (
> >            [file] => D:\wamp\www\shindig\php\src\gadgets\servlet
> > \GadgetRenderingServlet.php
>
> >            [line] => 78
> >            [function] => outputError
> >            [class] => GadgetRenderingServlet
> >            [object] => GadgetRenderingServlet Object
> >                (
> >                    [context:private] => GadgetContext Object
>
> >                        (
> >                            [httpFetcher:protected] =>
> > BasicRemoteContent Object
> >                                (
> >                                )
>
> >                            [locale:protected] =>
>
> >                            [renderingContext:protected] => GADGET
> >                            [registry:protected] =>
> >                            [userPrefs:protected] =>
> >                            [gadgetId:protected] =>
>
> >                            [view:protected] => profile
> >                            [moduleId:protected] => 0
> >                            [url:protected] =>
> >http://www.labpixies.com/campaigns/todo/todo.xml
>
> >                            [cache:protected] =>
> >                            [blacklist:protected] =>
> > BasicGadgetBlacklist Object
> >                                (
> >                                    [rules:private] => Array
>
> >                                        (
> >                                        )
>
> >                                )
>
> >                            [ignoreCache:protected] =>
> >                            [forcedJsLibs:protected] =>
>
> >                            [containerConfig:protected] =>
> >                            [container:protected] => default
> >                            [refreshInterval:protected] => 86400
> >                        )
>
> >                    [lastModified:private] =>
> >                    [contentType:private] => text/html
> >                    [charset:private] => UTF-8
> >                    [noCache:private] =>
> >                    [cacheTime:private] => 86400
>
> >                    [noHeaders] =>
> >                )
>
> >            [type] => ->
> >            [args] => Array
> >                (
> >                    [0] => SpecParserException Object
> >                        (
>
> >                            [message:protected] => Empty XML document
> >                            [string:private] =>
> >                            [code:protected] => 0
> >                            [file:protected] => D:\wamp\www\shindig\php
> > \src\gadgets\GadgetSpecParser.php
>
> >                            [line:protected] => 28
> >                            [trace:private] => Array
> >                                (
> >                                    [0] => Array
> >                                        (
>
> >                                            [file] => D:\wamp\www
> > \shindig\php\src\gadgets\GadgetServer.php
> >                                            [line] => 41
> >                                            [function] => parse
>
> >                                            [class] =>
> > GadgetSpecParser
> >                                            [type] => ->
> >                                            [args] => Array
> >                                                (
>
> >                                                    [0] =>
> >                                                    [1] =>
> > GadgetContext Object
> >                                                        (
>
> > [httpFetcher:protected] => BasicRemoteContent Object
>
> >                                                                (
> >                                                                )
>
> > [locale:protected] =>
>
> > [renderingContext:protected] => GADGET
>
> > [registry:protected] =>
>
> > [userPrefs:protected] =>
>
> > [gadgetId:protected] =>
>
> > [view:protected] => profile
>
> > [moduleId:protected] => 0
>
> > [url:protected] =>http://www.labpixies.com/campaigns/todo/todo.xml
>
> > [cache:protected] =>
>
> > [blacklist:protected] => BasicGadgetBlacklist Object
> >                                                                (
>
> > [rules:private] => Array
>
> > (
> >                                                                        )
>
> >                                                                )
>
> > [ignoreCache:protected] =>
>
> > [forcedJsLibs:protected] =>
>
> > [containerConfig:protected] =>
>
> > [container:protected] => default
>
> > [refreshInterval:protected] => 86400
> >                                                        )
>
> >                                                )
>
> >                                        )
>
> >                                    [1] => Array
> >                                        (
> >                                            [file] => D:\wamp\www
> > \shindig\php\src\gadgets\GadgetServer.php
>
> >                                            [line] => 25
> >                                            [function] => specLoad
> >                                            [class] => GadgetServer
> >                                            [type] => ->
>
> >                                            [args] => Array
> >                                                (
> >                                                    [0] =>
> > GadgetContext Object
> >                                                        (
>
> > [httpFetcher:protected] => BasicRemoteContent Object
> >                                                                (
> >                                                                )
>
> > [locale:protected] =>
>
> > [renderingContext:protected] => GADGET
>
> > [registry:protected] =>
>
> > [userPrefs:protected] =>
>
> > [gadgetId:protected] =>
>
> > [view:protected] => profile
>
> > [moduleId:protected] => 0
>
> > [url:protected] =>http://www.labpixies.com/campaigns/todo/todo.xml
>
> > [cache:protected] =>
>
> > [blacklist:protected] => BasicGadgetBlacklist Object
> >                                                                (
>
> > [rules:private] => Array
>
> > (
> >                                                                        )
>
> >                                                                )
>
> > [ignoreCache:protected] =>
>
> > [forcedJsLibs:protected] =>
>
> > [containerConfig:protected] =>
>
> > [container:protected] => default
>
> > [refreshInterval:protected] => 86400
>
> >                                                        )
>
> >                                                )
>
> >                                        )
>
> >                                    [2] => Array
>
> >                                        (
> >                                            [file] => D:\wamp\www
> > \shindig\php\src\gadgets\servlet\GadgetRenderingServlet.php
> >                                            [line] => 75
>
> >                                            [function] =>
> > processGadget
> >                                            [class] => GadgetServer
> >                                            [type] => ->
> >                                            [args] => Array
>
> >                                                (
> >                                                    [0] =>
> > GadgetContext Object
> >                                                        (
>
> > [httpFetcher:protected] => BasicRemoteContent Object
>
> >                                                                (
> >                                                                )
>
> > [locale:protected] =>
>
> > [renderingContext:protected] => GADGET
>
> > [registry:protected] =>
>
> > [userPrefs:protected] =>
>
> > [gadgetId:protected] =>
>
> > [view:protected] => profile
>
> > [moduleId:protected] => 0
>
> > [url:protected] =>http://www.labpixies.com/campaigns/todo/todo.xml
>
> > [cache:protected] =>
>
> > [blacklist:protected] => BasicGadgetBlacklist Object
> >                                                                (
>
> > [rules:private] => Array
>
> > (
> >                                                                        )
>
> >                                                                )
>
> > [ignoreCache:protected] =>
>
> > [forcedJsLibs:protected] =>
>
> > [containerConfig:protected] =>
>
> > [container:protected] => default
>
> > [refreshInterval:protected] => 86400
> >                                                        )
>
> >                                                )
>
> >                                        )
>
> >                                    [3] => Array
> >                                        (
> >                                            [file] => D:\wamp\www
> > \shindig\php\index.php
>
> >                                            [line] => 110
> >                                            [function] => doGet
> >                                            [class] =>
> > GadgetRenderingServlet
> >                                            [type] => ->
>
> >                                            [args] => Array
> >                                                (
> >                                                )
>
> >                                        )
>
> >                                )
>
> >                        )
>
> >                )
>
> >        )
>
> >    [1] => Array
> >        (
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to