Hi Charlie,

Looking at the debug_backtrace() dump I noticed your GadgetFeaturesRegistry
is completely empty.

My first guess would be that you did an svn checkout of the shindig/php
folder and not a full shindig checkout? (or optionally, moved or removed the
shindig/features folder).

The shindig repo has 2 implementations in it (/shindig/php and
/shindig/java), but the javascript code is shared between them; Both
versions have an identical wire format, so the gadget JS doesn't know or
care if it's talking to the PHP or Java back-end, it Just-Works(Tm) :)

So the folders you need to keep are:
shindig/php
shindig/config
shindig/features
shindig/javascript (<- or at least while you want your static examples to
work)

If you take a look at shindig/php/config/container.php you'll see the
default values for the locations of these files in there:
    'features_path' => realpath(dirname(__FILE__) . '/../../features').'/',
    'container_path' => realpath(dirname(__FILE__) . '/../../config').'/',
    'javascript_path' => realpath(dirname(__FILE__) .
'/../../javascript').'/',

    // The OAuth SSL certificates to use, and the pass phrase for the
private key
    'private_key_file' => realpath(dirname(__FILE__) .
'/../certs').'/private.key',
    'public_key_file' => realpath(dirname(__FILE__) .
'/../certs').'/public.crt',
    'private_key_phrase' => 'partuza',
    'jsondb_path' => realpath(dirname(__FILE__) .
'/../../javascript/sampledata').'/canonicaldb.json',

So if you want to move any of those files around, make sure you update the
config too :)

Hope that helps & let me know if that fixes it!

 -- Chris

On Fri, Sep 5, 2008 at 10:12 PM, Charlie Jiang <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I managed to setup php shindig on my machine. But when I go to the demo
> link, I got an error page claiming features such as views are not
> supported. Has anyone had similar problem before? A dump of page source
> that shows the debug backtrace is attached.
>
> Any help is really appreciated!
>
> Charlie
>
>

Reply via email to