Hi,

When i activate the advanced forum i get an error on page ('length' is null or not an object) in IE7, but when i deactivate it the error gone!!!
Any help please

Comments

michelle’s picture

Status: Active » Postponed (maintainer needs more info)

On what page? What is the full error message?

Michelle

tdobbs’s picture

I get this error to. (The yellow exclamation mark in the left hand side of the status bar in IE).

It is a java error that displays on the main form page as well as any page within the form. It says:

Line 17
Char 5
Error "length is not null or not an object"

When I use Mozilla Firefox the error doesnt appear.

Sparky Marky’s picture

I have the same errorin IE7, in the FF Error console it shows one error:

Error: d is null
Source File: http://www.1996.org.uk/misc/jquery.js?Y
Line: 13

Drupal: 6.4
Additional Modules
ACL: 6.x-1.x-dev (2008-Oct-04)
Active menus: 6.x-1.x-dev (2008-Jun-21)
Advanced Forum: 6.x-1.0-alpha12
BUEditor: 6.x-1.2
Content Construction Kit (CCK): 6.x-2.0-rc8
Event: 6.x-2.x-dev (2008-Sep-20)
Forum Access: 6.x-1.x-dev (2008-Sep-24)
Front Page: 6.x-1.2
Javascript Tools: 6.x-1.0
node privacy byrole: 6.x-1.3
Quote: 6.x-1.1-beta
User: Points 6.x-1.x-dev (2008-Aug-08)
Views: 6.x-2.0-rc4

michelle’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Oh, it's a javascript error? Then it's an issue with #291084: Collapsible forum containers

Michelle

tdobbs’s picture

Yea, I opened up advanced_forum.module and commented out all the COLLAPSABLE CONTAINERS section and it seems to work without the java error.

michelle’s picture

Hacking the module file is not needed. Just copy the template file to your theme and remove the js calls.

Michelle

hussainha’s picture

Dear Michelle,

How can I do that?

benstallings’s picture

Version: 6.x-1.x-dev » 6.x-1.0-alpha12

Thank you for the tip, Michelle, but I need more information (I am also having this problem, using alpha12). I looked through all the template files that come with the module, and through all the copies of them in my theme, and I cannot find any js calls. Which template file is it in, and what js call needs to be removed? Thanks!

The page in question: http://www.pocketpcmag.com/iphone/newhome

michelle’s picture

Version: 6.x-1.0-alpha12 » 6.x-1.x-dev

Just use the dev. And, in general, it's not a good idea to keep commenting on issues that have been marked duplicate. It's hit or miss whether they'll get answered.

Michelle