Wow, I am so sorry, that title is wretched, sorry guys.
Seriously, I have banged my head against this one for so long I did not know what to write as as title. I hope expert out there catches it & has 5 minutes & some generosity & mercy & throws it my way.
First, all, thanks for the tremendously wonderful software & great great forums here.
Second, thanks for taking a second to peek at this post.
Third, here is the story, around the fourth of July I was tweaking & tuning one of our sites, I added some new modules, tested each, and went on my way. About 1-2 wks later we discover we can no longer edit any pages. Was it the new modules, well, all are disabled now, some even uninstalled. the LDAP auth' module is broken in this site so we deleted it. The site seems to work just fine. Just cant make any edits. The mySQL server (separate dedicated box) seems just fine, since all of the other web app's (lots of them) work fine. So, I start debugging this. Google comes up with nearly nothing. The log inside Drupal isnt helping. The apache log isnt helping either. The OS system log isnt helping. The browser isnt helping. So I found & installed the "trace" module & enabled it & used it to capture this error happening. Here is the "trace.log" of this error happening in realtime caught red handed. Also, below that, is the SQL query that it is puking on, run by hand, from the bash prompt, from the mysql client, and its output *seems* to me (but I dont know though) seems to me to be fine looking.
We have tried a new load of data, same thing. We have tried a new Drupal directory on the server, same thing. It appears to be in the data set (inside the DB) some where. We have a backup of the site from when it was working but that is a handful of revisions back & we are able to go back to it, and then backfill the couple weeks worth of tweaks, but were hoping to not have to.
----------
#11743352 T=0.000000 [REQUEST] 2009-08-03 22:03:19.276016 GET /node/2/edit HTTP/1.1
#11743352 T+0.118209 [QUERY ] d=0.000714s module_list: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC
#11743352 T+0.118923 [QUERY ] d=0.000611s language_list: SELECT * FROM languages ORDER BY weight ASC, name ASC
#11743352 T+0.119534 [QUERY ] d=0.000535s drupal_lookup_path: SELECT COUNT(pid) FROM url_alias
#11743352 T+0.120069 [QUERY ] d=0.000474s drupal_lookup_path: SELECT src FROM url_alias WHERE dst = 'node/2/edit' AND language IN('en', '') ORDER BY language DESC
#11743352 T+0.120543 [QUERY ] d=0.000849s module_list: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC
#11743352 T+0.121392 [QUERY ] d=0.000663s drupal_lookup_path: SELECT dst FROM url_alias WHERE src = 'node/2/edit' AND language IN('en', '') ORDER BY language DESC
#11743352 T+0.122055 [QUERY ] d=0.000918s variable_set: UPDATE variable SET value = 'b:1;' WHERE name = 'dev_query'
#11743352 T+0.122973 [QUERY ] d=0.000884s cache_clear_all: DELETE FROM cache WHERE cid = 'variables'
#11743352 T+0.123857 [QUERY ] d=0.001560s menu_get_item: SELECT * FROM menu_router WHERE path IN ('node/2/edit','node/2/%','node/%/edit','node/2','node/%','node') ORDER BY fit DESC LIMIT 0, 1
#11743352 T+0.125417 [QUERY ] d=0.000828s cache_get: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'schema'
#11743352 T+0.053373 [QUERY ] d=0.000000s 0.12624478340149:
#11743352 T+0.044391 [QUERY ] d=0.000000s 0.17961764335632:
#11743352 T+0.224009 [QUERY ] d=0.000908s node_load: SELECT n.nid, n.type, n.language, n.uid, n.status, n.created, n.changed, n.comment, n.promote, n.moderate, n.sticky, n.tnid, n.translate, r.vid, r.uid AS revision_uid, r.title, r.bo
dy, r.teaser, r.log, r.timestamp AS revision_timestamp, r.format, 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 n.nid = 2
#11743352 T+0.224916 [QUERY ] d=0.000762s _node_types_build: SELECT nt.type, nt.* FROM node_type nt ORDER BY nt.type ASC
#11743352 T+0.225678 [QUERY ] d=0.000758s book_nodeapi: SELECT * FROM book b INNER JOIN menu_links ml ON b.mlid = ml.mlid WHERE b.nid = 2
#11743352 T+0.226436 [QUERY ] d=0.000468s comment_nodeapi: SELECT last_comment_timestamp, last_comment_name, comment_count FROM node_comment_statistics WHERE nid = 2
#11743352 T+0.226904 [QUERY ] d=0.000503s drupal_lookup_path: SELECT dst FROM url_alias WHERE src = 'node/2' AND language IN('en', '') ORDER BY language DESC
#11743352 T+0.227407 [QUERY ] d=0.000489s taxonomy_node_get_terms: SELECT t.* FROM term_node r INNER JOIN term_data t ON r.tid = t.tid INNER JOIN vocabulary v ON t.vid = v.vid WHERE r.vid = 2 ORDER BY v.weight, t.weight, t.name
#11743352 T+0.227896 [QUERY ] d=0.000516s upload_load: SELECT * FROM files f INNER JOIN upload r ON f.fid = r.fid WHERE r.vid = 2 ORDER BY r.weight, f.fid
#11743352 T+0.228412 [QUERY ] d=0.000497s taxonomy_vocabulary_load: SELECT v.*, n.type FROM vocabulary v LEFT JOIN vocabulary_node_types n ON v.vid = n.vid WHERE v.vid = 1
#11743352 T+0.000000 [QUERY ] d=0.000000s VALUES: (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:177:\"call_user_func_array() [f
unction.call-user-func-array]: First argument is expected to be a valid callback, \'blog_node_form\' was given\";s:5:\"%file\";s:45:\"/var/www/html/drupal-public/includes/form.inc\";s:5:\"%line\";i:366;}', 3, '', 'http://www.example.com/node/2/edit', 'http://www.example.com/node/2/edit', '20.15.24.20', 1249362199)
--------------------
mysql> SELECT v.*, n.type FROM vocabulary v LEFT JOIN vocabulary_node_types n ON v.vid = n.vid WHERE v.vid = 1;
+-----+--------+-------------+------+-----------+-----------+----------+----------+------+--------+--------+-------+
| vid | name | description | help | relations | hierarchy | multiple | required | tags | module | weight | type |
+-----+--------+-------------+------+-----------+-----------+----------+----------+------+--------+--------+-------+
| 1 | Forums | NULL | | 0 | 1 | 0 | 0 | 0 | forum | -10 | forum |
+-----+--------+-------------+------+-----------+-----------+----------+----------+------+--------+--------+-------+
1 row in set (0.00 sec)
---------------
Does any one know what happened? How to fix this? I was dreaming of making an edit to a record in the DB or something along those lines (I dont really know what) and being back in business again.
Thanks all so much !
Jason