If you have defined table prefix, the since the code does not adhare to "drupal" way it can't find the node table. All
reference to this code
result = db_query("SELECT nid FROM node WHERE status=1 ORDER BY nid")
Need to change to
result = db_query("SELECT nid FROM {node} WHERE status=1 ORDER BY nid")
So it find the correct table with table prefix.
However I could not test this completely because of issue number #245169: Exported pages empty. But the code above is required as without it I get table not found error.
Comments
Comment #1
ajayg commentedComment #2
btopro commentedI'll patch that asap, this could be the reason for pages not publishing out though.
Comment #3
ajayg commentedI already tried with this patch, still empty pages are getting created.
Comment #4
btopro commentedNew version coming shortly (later today). I believe I've fixed the blank page issue, just tested on a lot of different installs w/ different settings on the URLs and it worked.
Also patched the code that you indicated.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
christian_gnoth commentedHello,
i am using drupal 6.12 and having the same problem. only with node included in {} it is working.
Comment #7
ajayg commentedWhen I opened this issue it was against HTML export module. Why you changed to drupal core? Chnaging back the project as I am not aware of any issue with core.
Comment #8
btopro commented