I am using Drupal 6.15 and have been trying to implement the Import Html module. I have tried to import a very basic .html file to no avail. I keep getting this message:

* warning: Parameter 2 to menu_import_html() expected to be a reference, value given in C:\wamp\www\drupal-6.15\includes\module.inc on line 483.
* warning: Parameter 2 to node_import_html() expected to be a reference, value given in C:\wamp\www\drupal-6.15\includes\module.inc on line 483.
* warning: Parameter 2 to path_import_html() expected to be a reference, value given in C:\wamp\www\drupal-6.15\includes\module.inc on line 483.
* warning: Parameter 2 to taxonomy_import_html() expected to be a reference, value given in C:\wamp\www\drupal-6.15\includes\module.inc on line 483.
* warning: Parameter 2 to user_import_html() expected to be a reference, value given in C:\wamp\www\drupal-6.15\includes\module.inc on line 483.
* No body content found in this node

I am using WAMP with Apache 2.2.11 and PHP 5.3.0
I have checked my phpinfo(), it shows that both tidy and XSL are included.

Any insight as to the origin of these errors would be greatly appreciated.

Edited by WorldFallz - moved to appropriate forum.

Comments

wigglykoala’s picture

Any chance you got this working?

I'm having the same problems, I dont see whats wrong. My set up is pretty similar to yours.

Drupal 6.17
XAMPP
Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
XSL extension is available.

I'm hoping its something simple, but I think I'm a little out of my depth!

bcityshare’s picture

I also am receiving what appears to be the same error with this module. Any luck from anyone who has figured out the issue?

warning: Parameter 2 to menu_import_html() expected to be a reference, value given in /var/www/html/includes/module.inc on line 483.

Drupal 6.19
Apache 2.2.15 on Fedora
PHP 5.3.3
MySQL
Required Extensions installed and no errors reported on the Module Settings page.

alexmc’s picture

I'm seeing this warning too but am not sure it is an "error".

Normally this sort of thing happens when some code moves onto PHP 5.3 - which seems to be stricter in its reference/object handling.

I don't know if this actually causes a problem other than the error message.

What problem are you seeing?