Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Javascript:openwin problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Javascript:openwin problems

 Post Reply Post Reply
Author
Nick-V View Drop Down
Senior Member
Senior Member


Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick-V Quote  Post ReplyReply Direct Link To This Post Topic: Javascript:openwin problems
    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 ?

 



Edited by Nick-V
Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Nick-V View Drop Down
Senior Member
Senior Member


Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick-V Quote  Post ReplyReply Direct Link To This Post 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.

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.