View Full Version : ext-base.js access denied in all browsers

30 Dec 2010, 3:29 PM

I am trying to set up http://dev.sencha.com/deploy/dev/examples/tabs/tabs.html on my website. Everytime on every browser when I try to load it first thing in the morning, the tabs just dont load up. If i leave let it load for about 1 minute and refresh the page couple of time, it starts working. This happened on mozilla , chrome and ie latest versions. But I noticed one thing today, that is on IE, is says Javascipt error at the bottom status bar, it says ext-base.js access denied. What am i doing wrong? Sould i give ext-base.js full permission like 777 eventhough its a security risk or is there another way round to fix this?
I am new to js and web dev too.

Please help

31 Dec 2010, 5:17 AM
Worked for me first time on Firefox, Chrome, and Safari and 777 should be used if you want to write to the file, which you shouldn't need to.

31 Dec 2010, 6:31 AM
explore your source that you don't reference requests to other domains. This is only possible using a proxy.

31 Dec 2010, 8:55 AM
thanks for the replied guys.

I am not refering to other domains, just loading 3 php files on the root folder on seperate tabs. Thats it. This is so strange, it works sometimes, but sometimes it doesnt.

1 Jan 2011, 10:20 AM
I found out the solution, The tabs didnt work if the url is non www. i put this redirect on the .htaccess

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteRule ^(.*) http://www.example.com/$1 [R,L]

and it started working. :D