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/campaigns/todo/todo.xml. 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
(
[file] => D:\wamp\www\shindig\php\index.php
[line] => 110
[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] => 86400
)
[lastModified:private] =>
[contentType:private] => text/html
[charset:private] => UTF-8
[noCache:private] =>
[cacheTime:private] => 86400
[noHeaders] =>
)
[type] => ->
[args] => Array
(
)
)
)
>
Moreover, "GET /gadgets/ifr?url=http://www.labpixies.com/campaigns/
todo/todo.xml HTTP/1.1" 304 - was showed in the shindig-access file.
I would be greatful if anyone could give me the suggestion to solve
these errors.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
