popup JS error

  • Hari Narayanan
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jun 07, 2005
  • Posts: 103
  • Status: Offline

Post June 19th, 2005, 10:03 pm

Hi all,

I have an issue where a Javascript popup code works absolutely fine in IE 6 in some machines, but in some other machines, IE 6 returns an error "Access denied" when trying to open the popup window. I think it might be some prob. with IE settings, anyway not sure abt that .... Any idea how to rectify this ?

Thanx in advance.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 19th, 2005, 10:03 pm

  • SciSpear
  • Novice
  • Novice
  • No Avatar
  • Joined: Jun 17, 2005
  • Posts: 21
  • Status: Offline

Post June 19th, 2005, 10:07 pm

Can you post the line to open the window?
  • Hari Narayanan
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jun 07, 2005
  • Posts: 103
  • Status: Offline

Post June 19th, 2005, 10:14 pm

This is the code for the pop-up that 'am using ...

newWindow = window.open('url.htm','myPage','height=200,width=275,top=' + y + ',left=' + x +',resizable=no,status=no,scrollbars=no,location=no,menubar=no,toolbar=no,location=no,scrollbars=no');
  • SciSpear
  • Novice
  • Novice
  • No Avatar
  • Joined: Jun 17, 2005
  • Posts: 21
  • Status: Offline

Post June 19th, 2005, 10:31 pm

It might not be the popup code, it seems to work for me. I would guess that the file is not have high enough privileges to be retrieved by apache. I do not know how to change this on a windows server but on my gentoo server I become root and run:
Code: [ Download ] [ Select ]
single file:
chmod 755 filename

folder:
chmod -R 755 foldername
  1. single file:
  2. chmod 755 filename
  3. folder:
  4. chmod -R 755 foldername


If the popup shows up the link is working but not allowed to be displayed. Hope this helps.
  • Hari Narayanan
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jun 07, 2005
  • Posts: 103
  • Status: Offline

Post June 19th, 2005, 10:37 pm

My files are hosted in IIS (Win2K Prof.), and i dont think it has something to do with file permission bcoz it works fine in all machines except one or two. I strongly believe that its some prob. with IE settings or some machine settings itself, but dont know how to fix this .... :roll:

Got any other idea abt this ??

Thanx.
  • SciSpear
  • Novice
  • Novice
  • No Avatar
  • Joined: Jun 17, 2005
  • Posts: 21
  • Status: Offline

Post June 19th, 2005, 10:39 pm

So it works on other computers? Hmmm....Have you tried different browsers on the computers that did not work? I really do not recall to much about all the ie options.
  • Hari Narayanan
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jun 07, 2005
  • Posts: 103
  • Status: Offline

Post June 19th, 2005, 10:43 pm

Currently these machines have only IE 6 installed. Let me try installing FireFox and will get back.

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 190 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.