Page 1 of 1

ReferenceError: Tiggzi is not defined

Posted: Thu Dec 13, 2012 3:32 am
by erichelgeson

I created an app and trying to debug and do some debugging in Chrome, when i try to just grab a value i get an error:

var input = Tiggzi('inUsername');
ReferenceError: Tiggzi is not defined

Am I doing something wrong? Seems like the Tiggzi js api didnt load.


ReferenceError: Tiggzi is not defined

Posted: Thu Dec 13, 2012 4:32 am
by maxkatz

Do you see any errors in the console when the app is loading?


ReferenceError: Tiggzi is not defined

Posted: Thu Dec 13, 2012 4:44 am
by erichelgeson

I do, Chrome latest beta on Mac

Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:236
chromeHidden.Port.dispatchOnDisconnect

The references work when they're embedded in the app, just not in Chrome's console.


ReferenceError: Tiggzi is not defined

Posted: Thu Dec 13, 2012 5:06 am
by maxkatz

Never seen this before, going to send to our dev. team.


ReferenceError: Tiggzi is not defined

Posted: Thu Dec 13, 2012 9:23 am
by Kateryna Grynko

Hello,
To debug in Chrome you have to change parameter as it's shown: Image
As you can see, after parameter is changed there is no error.


ReferenceError: Tiggzi is not defined

Posted: Fri Dec 14, 2012 1:28 am
by erichelgeson

ahh ha! makes sense, thanks!

Though now I'm having 2 other issues. One javascript files/resources never save, i edit them hit save or test and they always are the old one.

Other thing is I always get
"Oh No!

We are sorry. Something happened and we
couldn't complete the request.

Here is what you can do:

Report this problem on http://tiggzi.com/forum.
Email us at support@tiggzi.com about this problem.
Try again from the beginning?
Visit our help site.
"
When I test my app today.


ReferenceError: Tiggzi is not defined

Posted: Fri Dec 14, 2012 1:35 am
by erichelgeson

Well i figured it out, I realized there are scopes to the events tab, eg if you click on the icon you see different events than you see when clicking on the container. I had 2 local variable settings conflicting. Can show you how to reproduce if you'd like.

Thanks


ReferenceError: Tiggzi is not defined

Posted: Fri Dec 14, 2012 4:34 am
by maxkatz

If you can show us that would be great.


ReferenceError: Tiggzi is not defined

Posted: Sat Dec 15, 2012 3:44 am
by erichelgeson

It was actually a javascript var that somehow became undefined. Had 500's when debugging, was hard to debug, actually had to delete the project and re-create.