On Fri, Sep 11, 2009 at 4:01 AM, Yonas wrote:
> I'm new to shindig, and I'm trying to install 0.8.1 on Ubuntu Jaunty.
>
> This directory doesn't exist:
>
> /gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
>
> there's a /test/gadgets/, but no /test/gadgets/ifr.
>
> Is the documentation out of date?
>
> Cheers,
> Yonas

That directory doesn't exist indeed. All requests are mapped to
index.php using mod_rewrite (apache). Take a look at the .htaccess
file in the root dir. You must allow the mod_rewrite directives to be
executed in your VirtualHost configuration, if it is not yet
(AllowOverride All or something like that).

Anyway, I passed this phase and tried to access
/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml. The
error I got was:

Fatal error: Cannot redeclare class HttpUtil in
/Users/moraes/www/shindig/src/gadgets/HttpUtil.php on line 24

...which is hard to debug because the line points to where the class
is declared, and there's no traceback to see where it was included for
the second time. I searched the code, fixed the double include, and
got a GadgetSpecParserError - probably it failed to fetch the gadget
and tried to parse an empty string. This, I believe, is a problem on
my side - I probably miss a dependency for the external url fetch, or
it is not well configured, I'll check that another time.

(btw I tried this with the 1.0 download, not svn)

And a side note, I'm working on a open source container in Python, to
be deployed in App Engine. Shindig is helping me a lot to understand
the specs. If you have interest in the project, please drop me a line.

-- rodrigo

Reply via email to