Exception: TypeError: Property 'receiveLocation' of object #<Object> is not a function

32 views
Skip to first unread message

khinester

unread,
Aug 15, 2012, 9:42:34 AM8/15/12
to no...@googlegroups.com
Hello,
I have an issue with my setup and would like some advice, here is my setup:

I am using ikaaro cms framework running python on port 19080, i have a node and now.js running on a different port, in this case 29080 and the whole setup sits behind nginx.

To recreate this, if you go to http://zmgc.net/;maps you get a page with a map and a globe, then when you access http://zmgc.net there is an error on the console

------------------------
Exception: TypeError: Property 'receiveLocation' of object #<Object> is not a function
TypeError: Property 'receiveLocation' of object #<Object> is not a function
    at ZMGC.createHTTPServer (/home/khine/sandboxes/zeitgeist/phoenix/ui/core/js/node/lib/zmgc.js:86:20)

but if i open a new window tab and access http://zmgc.net:29080 and then visit http://zmgc.net on the http://zmgc.net:29080 you get the 'Person' icon displaying correctly which if you also open the http://zmgc.net/;maps the icon displays and there is no error

you need to have all the tabs open in order for the 'PersonIcon' to display on the http://zmgc.net/;maps page, what am i missing?


the map.xml.en is generated by this python code https://github.com/nkhine/phoenix/blob/master/resource_views.py#L420

as you can see, I am including the now.js on the page and this is also accessible from http://zmgc.net/nowjs/now.js

any advice much appreciated.

norman
Reply all
Reply to author
Forward
0 new messages