I'm running phptemplate, I disabled clean URLs cause they would yield white pages on my Debian Linux server. I'm getting these errors when I test drupal locally:

warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\xampplite\htdocs\wizards\modules\forum.module on line 676.

* warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\xampplite\htdocs\wizards\includes\theme.inc on line 235.
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in D:\xampplite\htdocs\wizards\includes\theme.inc on line 238.

Fatal error: Call to undefined function: format_name() in D:\xampplite\htdocs\wizards\themes\engines\phptemplate\phptemplate.engine on line 275

Fatal error: Call to undefined function: form_textfield() in D:\xampplite\htdocs\wizards\themes\engines\phptemplate\phptemplate.engine on line 136

I've been having problems for over two weeks.

Comments

Ariadoss’s picture

The error didn't even have anything to do with Drupal my versions of mod_rewrite and PHP4 were incompatible, I have a Debian server and there was a problem with the source lists having different/incompatible versions. Sorry for the trouble.