Here is the error message I get when go to the HTML page:

[code]

* warning: Invalid argument supplied for foreach() in /home/obtulxo/public_html/ph/modules/node/node.module on line 504.
* warning: implode() [function.implode]: Bad arguments. in /home/obtulxo/public_html/ph/modules/node/node.module on line 508.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /home/obtulxo/public_html/ph/includes/database.mysql.inc on line 172.
[/code]

Also, you have "implement_node_drupal46.php" in the wghtml folder, which I thought should be 5 now... the comments in the file say that it was tested with drupal 4.6.3. BTW, you have the same error on your own site http://www.webg8.com/h/node/29

Looking forward to seeing it fixed :)

Comments

modul’s picture

Same here. Going to http://mysite/?q=wghtml or http://mysite/?q=wghtml/show leads to the error mentioned in the previous message.

For now: uninstall :-(((

(using 5.1).

Ludo

modul’s picture

I UNinstalled wghtml, and upon saving the new settings, I got this:

"The content fields table content_type_wghtml has been created."
Creating something upon UNinstalling???

Ludo

djnz’s picture

Sorry wgHTML has not worked out for you, and thanks for identifying and reporting you experience so it can be fixed for others. There are a number of different things here, so I have raised the following issues:

http://drupal.org/node/131237 Non-existent page causes errors in module implementation
http://drupal.org/node/131239 Remove filenames like implement_node_drupal46.php
http://drupal.org/node/131241 Incorrect error message on uninstall

djnz’s picture

Assigned: Unassigned » djnz
Status: Active » Closed (fixed)

Set to closed as separate issues raised (see #3 above)

mcCash’s picture

I had this same problem, the solution I found was that the html files must be accessed via the web root directory.

Using an alias will not work, since the wgHTML attempts to open the file via the web root.