My Drupal is up and running on my localhost box (Mac OS X 10.4.1, Apache 1.3.33, Php 4.3.11, mod rewrite on) everything works flawlessly but the forum. I have enabled it through the admin/modules page, and not yet configured it.

When I click on node/add/forum, I get the following lines on top of the page:

warning: in_array(): Wrong datatype for second argument in /Users/cngg/Sites/musimac/modules/node.module on line 1296.
warning: in_array(): Wrong datatype for second argument in /Users/cngg/Sites/musimac/modules/node.module on line 1297.
warning: in_array(): Wrong datatype for second argument in /Users/cngg/Sites/musimac/modules/node.module on line 1298.
warning: in_array(): Wrong datatype for second argument in /Users/cngg/Sites/musimac/modules/node.module on line 1299.
warning: in_array(): Wrong datatype for second argument in /Users/cngg/Sites/musimac/modules/node.module on line 1300.

Any hints?

TIA.

Comments

matteo’s picture

Gabriele, the problem occurs because of this:

http://drupal.org/node/17158

I tried specifying at least one option and it solved the problem to me...
Goto /admin/node/configure/types, configure for every node type at least one of these options:

Default options:
Published
In moderation queue
Promoted to front page
Sticky at top of lists
Create new revision

The problem occurs if you did not check any of these options.

ciao

Matteo

Shhh’s picture

Thank's a lot