Print Page | Close Window

Error on page - Object expected

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=14213
Printed Date: 12 April 2026 at 12:50pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Error on page - Object expected
Posted By: latingate
Subject: Error on page - Object expected
Date 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 - http://shafan.co.il/forum (though it's in hebrew)
 
Thanks in advance,
Gal



Replies:
Posted By: dj air
Date 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.


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


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





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


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


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



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