Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Error on page - Object expected
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error on page - Object expected

 Post Reply Post Reply
Author
latingate View Drop Down
Groupie
Groupie


Joined: 21 July 2002
Location: Israel
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote latingate Quote  Post ReplyReply Direct Link To This Post Topic: Error on page - Object expected
    Posted: 12 March 2005 at 9:46am
When pressing a user name in forum_topics.asp or forum_posts.asp I get an "Error on page - Object expected" error.
 
The strange thing is that this doesn't happen on "default.asp"
 
What can be the problem ?
 
You can see it here : http://shafan.co.il/forum (though it's in hebrew)
 
Thanks in advance,
Gal
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 12 March 2005 at 10:02am
have you edited the page in any way,

does the error come within the pop up?

you may try re uplaoding also as the file may have become corrupt.
Back to Top
latingate View Drop Down
Groupie
Groupie


Joined: 21 July 2002
Location: Israel
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote latingate Quote  Post ReplyReply Direct Link To This Post Posted: 12 March 2005 at 10:22am
The error is displayed in the "status bar" of the browser in the relevant page and not within the pop up
 
The page was not changed and is not corrupt. I've re-installed it, and I'm using the exact file in other domain..
 
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 12 March 2005 at 10:42am
ive just looked on your site, the error is because it can't find te javascript opwn window command.

the openwin();

command found on the default page needs adding to the pages that you are having problems with. the code that needs adding is below


<script  language="JavaScript">

<!-- Hide from older browsers...


//Function to open pop up window

function openWin(theURL,winName,features) {


window.open(theURL,winName,features);
}


</script>





Edited by dj air - 12 March 2005 at 10:44am
Back to Top
latingate View Drop Down
Groupie
Groupie


Joined: 21 July 2002
Location: Israel
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote latingate Quote  Post ReplyReply Direct Link To This Post Posted: 12 March 2005 at 10:47am
Should it be added in each of the problematic pages ? or is there one place where it should be added ?
 
also it is strange, because the function deinition doesn't exist in default.asp
 
thanks
Gal
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 12 March 2005 at 10:59am
yes add it to the pages that aren't working,

im confussed to why its not on the pages though as it shoulkd be.

also it is on the default.asp page, its near the bottom. thats where i copied and pasted the function from.
Back to Top
latingate View Drop Down
Groupie
Groupie


Joined: 21 July 2002
Location: Israel
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote latingate Quote  Post ReplyReply Direct Link To This Post Posted: 12 March 2005 at 11:27am

Thanks for your assitance, however I found the problem

In header.asp the following line was deleted :
<script language="JavaScript" src="includes/default_javascript.js" type="text/javascript"></script>
I've added it and now it's ok
 
Thanks for your efforts
Gal
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.