it looks like your config is completely missing, that line should read
something like:

gadgets.config.init({"core.io":{"proxyUrl":"http:\/\/%host%\/gadgets\/proxy?refresh=%refresh%&url=%url%","jsonProxyUrl":"http:\/\/%host%\/gadgets\/makeRequest"},"views":{"profile":{"isOnlyVisible":false,"urlTemplate":"http:\/\/localhost\/gadgets\/profile?{var}","aliases":["DASHBOARD","default","DASHBOARD","default"]},"canvas":{"isOnlyVisible":true,"urlTemplate":"http:\/\/localhost\/gadgets\/canvas?{var}","aliases":["FULL_PAGE","FULL_PAGE"]}},"rpc":{"parentRelayUrl":"\/gadgets\/files\/container\/rpc_relay.html","useLegacyProtocol":false},"skins":{"properties":{"BG_COLOR":"","BG_IMAGE":"","BG_POSITION":"","BG_REPEAT":"","FONT_COLOR":"","ANCHOR_COLOR":""}},"opensocial-0.8":{"impl":"rpc","path":"http:\/\/%host%\/social","domain":"modules.partuza.nl","enableCaja":false,"supportedFields":{"person":["id",{"name":["familyName","givenName","unstructured"]},"thumbnailUrl","profileUrl","id",{"name":["familyName","givenName","unstructured"]},"thumbnailUrl","profileUrl"],"activity":["id","title","id","title"]}},"core.util":{"opensocial-0.8":{},"dynamic-height":{},"views":{},"tabs":{},"flash":{},"setprefs":{}}});

Your using php shindig right? if so make sure that '../config/container.js'
exists (so shindig/config/container.js), a mistake some people made in the
past is to only copy the php dir (which I agree is confusing when your
working from svn and you have mixed features&javascript code, php code and
java code, but you need [java or php] + the features and javascript code)



On Fri, Dec 12, 2008 at 2:15 AM, Randgalt <[email protected]>wrote:

>
> I'm trying to move to Shindig...
>
> I'm getting an exception early on in a request: "D is undefined". The
> call stack starts at:
>
>  gadgets.config.init({"core.util":{"dynamic-height":{},"views":
> {},"setprefs":{},"opensocial-0.8":{}}});
>
> The exception is on the following line. Unfortunately, it's
> obfuscated. I've re-formatted as much as I can:
>
> for ( var F in A )
> {
>    if ( A.hasOwnProperty(F) )
>    {
>        var E = A[F],D = H[F],B = E.validators;   // EXCEPTION HERE
>        if ( !G )
>        {
>            for ( var C in B )
>            {
>                if ( B.hasOwnProperty(C) )
>                {
>                    if ( !B[C](D[C]) )
>                    {
>                        throw new Error('Invalid config value "' + D
> [C] + '" for parameter "' + C + '" in component "' + F + '"')
>                    }
>                }
>            }
>        }
>        if ( E.callback )
>        {
>            E.callback(H)
>        }
>    }
> }
>
> >
>

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