Print Page | Close Window

Javascript:openwin problems

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=2848
Printed Date: 01 April 2026 at 4:22am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Javascript:openwin problems
Posted By: Nick-V
Subject: Javascript:openwin problems
Date Posted: 19 May 2003 at 3:04pm

There appear to be certain links and buttons that result in a run time error (line 0 object expected) on my setup (SQL701 on W2K). This does not happen in THIS forum using the same PC for browsing.

Clicking a member in members.asp and clicking image or file upload buttons in forum_posts.asp are examples. It seems these are all use the javascript:openwin command. Opening pop_up_profile.asp manually works fine.

I installed 7.01 and used the scripts recently added to this site to port my data from 6.34 which appears OK so far. Any clues ?

 




Replies:
Posted By: fernan82
Date Posted: 19 May 2003 at 5:28pm

Did you edited the header.asp? or are you trying to use the header.asp from v6.34?

If so you need to add this line the the header.asp:

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



-------------
FeRnAN
http://www.danasoft.com/">


Posted By: Nick-V
Date Posted: 19 May 2003 at 6:09pm

Hey Fernan82 you are right in the area there. I discovered just now that in the header.asp file there was a line:

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

"includes" was in twice so a simple edit and it worked:

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

Thanks.




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