When trying to access the indexpage main page for several nodetypes I get errors that the nodetype doesnt exist. When I look at the logs I get this for anyonymous and regisered users alike but not adminl.
The erorrs go away when I grant anyonynmous users the "administer nodes" permision.
Unknown table 'na' in where clause query: SELECT count(type) FROM node WHERE type = "media-playlist" AND na.grant_view = 1 AND CONCAT(na.realm, na.gid) IN ('all0') in /home/nashnews/public_html/includes/database.mysql.inc on line 66.
Unknown table 'na' in where clause query: SELECT count(type) FROM node WHERE type = "flexinode-3" AND na.grant_view = 1 AND CONCAT(na.realm, na.gid) IN ('all0') in /home/nashnews/public_html/includes/database.mysql.inc on line 66.
Unknown table 'na' in where clause query: SELECT count(type) FROM node WHERE type = "flexinode-1" AND na.grant_view = 1 AND CONCAT(na.realm, na.gid) IN ('all0') in /home/nashnews/public_html/includes/database.mysql.inc on line 66.
All are flexinodes.
The erorrs go away when I grant anyonynmous users the "administer nodes" permision.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | indexpage.module | 14.13 KB | mikeryan |
Comments
Comment #1
mikeryanSee http://drupal.org/node/24202 for a quick-and-dirty fix - indexpage is still using the 4.5 method of dealing with the node access feature.
Comment #2
jasonwhat commentedDoes anybody know if this module is being maintained by the owner? It is great, but has a few bugs that seem fairly simple and people have offered patches that just need to be committed. But judging by the CVS messages nothing is happening.
Comment #3
mikeryanWatch out when replying to issues - filling in a title doesn't title your reply, it replaces the issue title.
I've made significant changes to indexpage for my own uses (in particular, adding taxonomy support so it's a full-fledged site map) and offered them to Carlos a few weeks ago, haven't heard back from him. Of course, in an open-source environment you have to keep in mind that people contribute as time permits, and may have other priorities keeping them away for a short (or not-so-short) period of time - how do you decide when a project is abandoned.
Anyway, if anyone's interested, I'm attaching my working copy of indexpage.module...