Print Page | Close Window

Error winOpener

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20140
Printed Date: 28 March 2026 at 11:59pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Error winOpener
Posted By: sdehumo
Subject: Error winOpener
Date 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



Replies:
Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date 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 http://forums.webwiz.net/forum_posts.asp?TID=20139 - another topic...
 
sdehumo, try clicking other buttons that are supposed to bring up a pop window, such as the link  javascript:winOpener%28%27RTE_popup_emoticons.asp%27,%27emot%27,0,0,450,340%29 - 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.


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: WebWiz-Bruce
Date 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.




-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date 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


Posted By: sdehumo
Date 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


Posted By: sdehumo
Date 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.


Posted By: Charlie Goodwin
Date 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.
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net