Closed (fixed)
Project:
Drupal Site Audit
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2007 at 22:46 UTC
Updated:
23 Mar 2007 at 13:33 UTC
After I audited all nodes, I get the following errors:
* warning: Invalid argument supplied for foreach() in /usr/local/apache/htdocs/drupal5.vpac.org/modules/node/node.module on line 508.
* warning: implode(): Bad arguments. in /usr/local/apache/htdocs/drupal5.vpac.org/modules/node/node.module on line 512.
* 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 /usr/local/apache/htdocs/drupal5.vpac.org/includes/database.mysql.inc on line 172.
* warning: call_user_func_array(): First argumented is expected to be a valid callback, '_node_form' was given in /usr/local/apache/htdocs/drupal5.vpac.org/includes/form.inc on line 218.
As it says all nodes have been audited, I don't think this is a problem with any node on my system.
Comments
Comment #1
njivy commentedThank you, Brian. I updated the code to handle this.
Let me know if you continue to see the PHP errors.
Comment #2
brian_may commentedThat looks better thanks.
Unfortunately, this new version has a new bug. At times, immediately after audit loads the page and it is shown on screen (for about one second), the screen turns white and Firefox won't redraw it (it seems to indicate that it is busy downloading, but it never finishes).
This is weird. I will file a separate bug report when I get more information - not sure how to debug this type of issue though - I guess it is a Javascript issue though.
Hmmmm.... Based on the Javascript errors I get it looks like it might be related to tinyMCE... Yuck.
eg.
Error: tinyMCE is not defined
Source File: https://testing.vpac.org/modules/tinymce/includes/jscripts/tiny_mce/them...
Line: 1
Comment #3
njivy commentedThank you for reporting the bug. One per issue, please.
You may want to check if http://drupal.org/node/124205 is a duplicate.
Comment #4
(not verified) commented