Hey Alex,

First of all the best place to ask for help on Shindig is on the shindig mailing lists, see http://incubator.apache.org/shindig/#tab-support

That being said, it sounds like your CURL is failing, either it's an to old version to work with shindig, or your behind a proxy server?

If the latter is true, i've just today added a proxy server option to shindig (new config key in config.php: 'proxy' => 'myproxy.com:port').

        -- Chris

On Jun 25, 2008, at 5:39 PM, Alex wrote:


I am trying to set up the php Shindig gadget server and keep getting
this error when I test it by visiting http://<my server>/gadgets/ifr?
url=http://www.labpixies.com/campaigns/todo/todo.xml

I originally got an error about being in safe_mode but I turned that
off and it didn't fix the problem.
Does anyone know why this would be happening or how I can fix it?

Thanks so much in advance.  The error is below:




Error
Failed to retrieve gadget content

Debug backtrace

Array
(
   [0] => Array
       (
           [file] => /vol/web/shindig/trunk/php/src/gadgets/http/
GadgetRenderingServlet.php
           [line] => 76
           [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] =>
                       )

                   [lastModified:private] =>
                   [contentType:private] => text/html
                   [charset:private] => UTF-8
                   [noCache:private] =>
                   [cacheTime:private] => 86400
                   [noHeaders] =>
               )

           [type] => ->
           [args] => Array
               (
                   [0] => GadgetException Object
                       (
                           [message:protected] => Failed to retrieve
gadget content
                           [string:private] =>
                           [code:protected] => 0
                           [file:protected] => /vol/web/shindig/trunk/
php/src/gadgets/GadgetServer.php
                           [line:protected] => 44
                           [trace:private] => Array
                               (
                                   [0] => Array
                                       (
                                           [file] => /vol/web/shindig/
trunk/php/src/gadgets/GadgetServer.php
                                           [line] => 31
                                           [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] =>
                                                       )

                                               )

                                       )

                                   [1] => Array
                                       (
                                           [file] => /vol/web/shindig/
trunk/php/src/gadgets/http/GadgetRenderingServlet.php
                                           [line] => 73
                                           [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] =>
                                                       )

                                               )

                                       )

                                   [2] => Array
                                       (
                                           [file] => /vol/web/shindig/
trunk/php/index.php
                                           [line] => 112
                                           [function] => doGet
                                           [class] =>
GadgetRenderingServlet
                                           [type] => ->
                                           [args] => Array
                                               (
                                               )

                                       )

                               )

                       )

               )

       )

   [1] => Array
       (
           [file] => /vol/web/shindig/trunk/php/index.php
           [line] => 112
           [function] => doGet
           [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] =>
                       )

                   [lastModified:private] =>
                   [contentType:private] => text/html
                   [charset:private] => UTF-8
                   [noCache:private] =>
                   [cacheTime:private] => 86400
                   [noHeaders] =>
               )

           [type] => ->
           [args] => Array
               (
               )

       )

)


--~--~---------~--~----~------------~-------~--~----~
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