How fix errors "studio is not defined" and "Enabler is not defined"?

4,338 views
Skip to first unread message

zlo...@gmail.com

unread,
Oct 12, 2014, 4:07:03 AM10/12/14
to gwd...@googlegroups.com
I try to start use Google Web Designer. I download latest GWD (Ubuntu 12.04, x64). I use that tutorial - http://www.youtube.com/watch?v=56u1v3LsI-k

I create empty document, add my "logo" image and click Preview. But there is blank page in browser, and in firebug two errors:

ReferenceError: studio is not defined
file:////tmp/google_web_designer_temp_files/1813301476_1413100419782352/gwd-preview/index.html
Line 117

ReferenceError: Enabler is not defined
file:////tmp/google_web_designer_temp_files/1813301476_1413100419782352/gwd-preview/gwddoubleclick_min.js
Line 3


What is it? How fix?

(sorry for my English)

Jaz

unread,
Oct 13, 2014, 1:35:22 PM10/13/14
to gwd...@googlegroups.com
Hi,

Thanks for using Google Web Designer and we definitely appreciate you writing in. Regarding the video, I would encourage you to explore our official channel of tutorials at www.youtube.com/googlewebdesigner.  We have one that I believe may solve your issue: http://youtu.be/uGAJMFZOVNQ

When you created the file, did you choose the environment DoubleClick? https://support.google.com/webdesigner/answer/4418598
If so, then when you published, did you choose Publish to Studio and upload this Publish file? https://support.google.com/webdesigner/answer/6000811

thx
jaz

Jasmine Rogers
Program Manager, GWD


zlo...@gmail.com

unread,
Oct 13, 2014, 3:07:06 PM10/13/14
to gwd...@googlegroups.com
Sorry, it was my fault. It didn't work in Firefox, because it blocked loading of Enabler.js from external source.

Thank you very much. Now everything is OK.

Jaz

unread,
Oct 13, 2014, 5:03:08 PM10/13/14
to gwd...@googlegroups.com
No problem, glad things are resolved.

Have an awesome day!

David Sanchez

unread,
Nov 12, 2015, 5:55:15 PM11/12/15
to Google Web Designer beta
I'm getting the "Enabler not defined", when previewing on Firefox. I'm using the double-click environment but publishing locally. 

Google Web Designer beta

unread,
Nov 13, 2015, 4:21:27 PM11/13/15
to Google Web Designer beta
Hi David,

If your browser is set to browsing privately, Preview might not work in a private window. Can you please double check? You can try preview in a regular browsing window or try turning off "Tracking Protection" for the private window (if you are using Firefox).

Thanks,
Emily (GWD Team)

sushant.a...@gmail.com

unread,
May 24, 2016, 5:26:06 AM5/24/16
to Google Web Designer beta
Hi Jaz,

we are getting below message continuously , due to which browser is crashing. please help us in identifying the issue.

[studio.sdk] Enabler received un-whitelisted message.

Page Url : http://timesofindia.indiatimes.com/

sushant.a...@gmail.com

unread,
May 24, 2016, 5:26:25 AM5/24/16
to Google Web Designer beta
Hi GWD Support,

Google Web Designer beta

unread,
May 25, 2016, 11:03:20 AM5/25/16
to Google Web Designer beta
Hi sushant,

Are you hosting your own ads on your site?  If so, did you try creating the ads using "Non-google ad" environment instead of DoubleClick?

San Khong

unread,
May 25, 2016, 1:54:53 PM5/25/16
to Google Web Designer beta
I've contacted the Studio team regarding this.  Will keep you updated.  

Thanks,
San
Google Web Designer Team
Reply all
Reply to author
Forward
0 new messages