Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Error winOpener
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error winOpener

 Post Reply Post Reply
Author
sdehumo View Drop Down
Newbie
Newbie


Joined: 08 May 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdehumo Quote  Post ReplyReply Direct Link To This Post Topic: Error winOpener
    Posted: 01 June 2006 at 8:23am
Version 8.0.2 - MS SQL Server

When i try to admin any post it shows me the next error in Mozilla an IE:

Error: winOpener is not defined
Archivo de origen: javascript:winOpener('pop_up_topic_admin.asp?TID=23653','admin',1,1,480,265)
Línea: 1
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 01 June 2006 at 10:53am
The link is calling a javascript function to open a pop-up window.

For some reason the javascript for this function found in the file includes/default_javascript.js is failing to load correctly.

This could be down to a corrupted file, or a modification you have made.

Try reuploading the original files again and see if that solves the problem.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 2:44am
Originally posted by sdehumo sdehumo wrote:

Version 8.0.2 - MS SQL Server

When i try to admin any post it shows me the next error in Mozilla an IE:

Error: winOpener is not defined
Archivo de origen: javascript:winOpener('pop_up_topic_admin.asp?TID=23653','admin',1,1,480,265)
Línea: 1
 
Borg, this is the exact same problem I'm having with my forum... as I mentioned earlier in another topic...
 
sdehumo, try clicking other buttons that are supposed to bring up a pop window, such as the link  more... for emotiocons when posting, or the 'forget password' link on the login page and see if either when pops up.
 
 
Borg, as you advised, I took off all the javaScripts that I added and disabled any pop up blockers and used 4 different PC's and two different browsers and the problem was still there. I'm using V. 8.02 MS SQL. I'm glad that  I'm not the only one to have such problem.


Edited by Info_Tech - 02 June 2006 at 2:49am
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 9:31am
The error means that the Javascript function 'winOpener' can not be found.

The Javascript function 'winOpener' is found in the file 'includes/default_javascript.js'

In the file header.asp you should have the follwoing line, connecting the forum pages to the default_javascript.js file:-

<script language="javascript" src="includes/default_javascript.js" type="text/javascript"></script>

If you are getting the errors you mention it will be because the file 'includes/default_javascript.js' is corrupted or modified, or the header.asp file is corrupted or modified to remove the link (shown above) to this javascript file.


Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 10:42am
Originally posted by -boRg- -boRg- wrote:

The error means that the Javascript function 'winOpener' can not be found.
... In the file header.asp you should have the follwoing line, connecting the forum pages to the default_javascript.js file:-

<script language="javascript" src="includes/default_javascript.js" type="text/javascript"></script>
 
That's it! This javascript was missing from the head.asp file... Things are back to normal now, thanks so much.
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
sdehumo View Drop Down
Newbie
Newbie


Joined: 08 May 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdehumo Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 10:54pm
I have done all the things you say but i have the same error. I can not open any pop upo window with winOpener
Back to Top
sdehumo View Drop Down
Newbie
Newbie


Joined: 08 May 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdehumo Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2006 at 11:07pm
I have added the script in includes/default_javascript.js directly in the header.asp and now it works. Its like if it doesn link the file.
Its strange because i have changed my server, from hosting to VPS, and althought it has the same FIle Sytem a lot of funcionalities in JScript doesnt work, for example FCKeditor or a calendar, could it be something about javaScript configuration in my server?

Thanks in advance.
Back to Top
Charlie Goodwin View Drop Down
Newbie
Newbie


Joined: 06 June 2006
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Charlie Goodwin Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2006 at 10:12pm
Yep, I get the same problem.
For some reason the line in the header:
 
<script language="javascript" src="includes/default_javascript.js" type="text/javascript"></script>
is not loading in the script file.
At first this was missing from my revised header file but it still didn't work after I put it back in. 
 
Now I have popup blockers all over the shop so I was using the ctrl key to override it. - And that's where the problem lay. Despite all my pop up blockers I didn't need to use the ctrl key - In fact I got an error when I used the ctrl key. Just by clicking the link alone caused the page to pop up without incident.
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.