| Author |
Topic Search Topic Options
|
sdehumo
Newbie
Joined: 08 May 2006
Status: Offline
Points: 7
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 June 2006 at 2:44am |
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 June 2006 at 10:42am |
-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
|
 |
sdehumo
Newbie
Joined: 08 May 2006
Status: Offline
Points: 7
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
sdehumo
Newbie
Joined: 08 May 2006
Status: Offline
Points: 7
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
Charlie Goodwin
Newbie
Joined: 06 June 2006
Status: Offline
Points: 10
|
Post Options
Thanks(0)
Quote Reply
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. 
|
 |