Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Mechanic
Posted
After publishing, my page loads with an error. Since I've already published the site, the .ims file also contains the error. Using the debug tool in Internet Explorer I get " 'ob[...].style' is null or not an object". The line of code is "ob[ob[Cobj].grp[i]].style.visibility = code"
How can I fix this error? The error is included in all but one page of the site. The clean page is in a private directory and wasn't included in the corrupted upload. Is there a way to download the good page and use it as a template to fix the pages with the error?
Paul
 
Posts: 6 | Registered: August 23, 2009Reply With QuoteEdit or Delete MessageReport This Post
Honorary 'Aussie' Mechanic
Picture of postyr
Posted Hide Post
Can you post a link to one of the problem pages.

By checking your source code, that may give us a better idea.
 
Posts: 1156 | Location: Australia | Registered: April 17, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
If you also see the error in preview, then with a copy of your project try this on one page:
1. Check that you still have the error in preview. If not, go to step 5.
2. Delete something
3. Edit > Clean Components
4. Go back to step 1

5. When the error is gone, the problem probably lies with the last object(s) you deleted.
 
Posts: 9233 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior Mechanic
Posted Hide Post
Thanks for the suggestions, guys. I'll try the deleting one item at a time idea. In the mean time the site is at www.lprcf.com . The error free page is the members page. I've set a temp U/N = 'self' and temp P/W = '12345' if you care to have a look.
Paul
 
Posts: 6 | Registered: August 23, 2009Reply With QuoteEdit or Delete MessageReport This Post
Honorary 'Aussie' Mechanic
Picture of postyr
Posted Hide Post
As you stated earlier, the error is in the code generated by SS, and is referring to an object (or objects) that have been deleted.

As Bruce suggested, try going to Edit > Clean Components, then republish. Hopefully that will fix it.

We can’t compare your members page, as you have it password protected.

By the way, it may be an idea to change the Title of al of your pages. Your home page is “index”, and all of the others are “master”.
 
Posts: 1156 | Location: Australia | Registered: April 17, 2007Reply With QuoteEdit or Delete MessageReport This Post
Junior Mechanic
Posted Hide Post
Got it!! Thanks for pointing me in the right direction.
 
Posts: 6 | Registered: August 23, 2009Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.