[support] Many strange problems on Drupal 4.7 Beta 4

Kobus Myburgh ITBJDM at puknet.puk.ac.za
Fri Mar 3 06:44:15 UTC 2006


Hi,

NOTE: Since typing this mail, I saw that Beta 5 has been released and will try that, but I would appreciate it if anyone can still tell me whether there is something wrong with my setup or my copy of Drupal, if it is obvious from the error messages below.

===

I am currently busy converting recipe.module to Drupal 4.7, and get this error after following the instructions on porting the module, when I want to submit a new recipe:

warning: array_merge(): Argument #2 is not an array in C:\apache2triad\htdocs\sites\themers\470\modules\node.module on line 1635.

Looking at that line in node.module shows me that is where it tries to get the form of the recipe module. I have double checked my form's code over and over and over, and can't find the problem, and even with the form code of an existing working module (which is not activated), the error still occurs.

In another module I am writing (simple node module), I get this error:

warning: htmlspecialchars() expects parameter 1 to be string, array given in C:\apache2triad\htdocs\sites\progress\dini470\includes\ bootstrap.inc on line 552.

Again, I thought it is something I do wrong. The error is in the module_view() function, which is just a bunch of $output .= "..." statements ending with "return $output;".Still didn't suspect that it was anything related to Drupal or my software as I am a novice coder afterall, but then I tried to change the password on the site, and when these errors occurred, I figured I possibly have a bug in Drupal or my underlying software (Apache2Triad), because I haven't modified any of the user module (or any core modules, for that matter):

warning: array_merge(): Argument #2 is not an array in C:\apache2triad\htdocs\sites\progress\dini470\includes\form.inc on line 180.
warning: Missing argument 1 for password_confirm_validate() in C:\apache2triad\htdocs\sites\progress\dini470\includes\form.inc on line 595.

Before I attempt to troubleshoot Apache2Triad (of which I have no clue where to start) I just thought I'd ask if there were known issues with Drupal 4.7 beta 4 that could cause these errors, as these errors started around the same time as I started upgrading all my development installations to beta 4, but also when I started using Apache2Triad on a freshly installed Windows XP box, so I can't single it out to one single event that could've caused the problems.

I am using:

Apache2Triad version 1.5.3
Apache version 2.0.54
MySQL version 4.1.14
PostgreSQL version 8.0.3
Openssl version 0.9.7g
Slimftpd version 3.17
Xmail version 1.21
Path to sendmail C:/apache2triad/mail/bin/sendmail.exe
Perl version 5.8.7
Path to Perl C:/apache2triad/perl/bin/perl.exe
PHP version 5.0.4
Path to PHP C:/apache2triad/php/bin/php.exe
Python version 2.3.5
Path to Python C:/apache2triad/python/bin/python.exe

on Windows XP

As I said, I have installed A2T on a clean computer, there were no remains of PHPDev 4.23 (my previous development environment) or a rogue configuration file lying around somewhere. This is a fresh install of Apache2Traid on a fresh install of Windows XP.

Any ideas, please?

Thanks in advance!

Kobus





More information about the support mailing list