This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

All sorts of problems with privacy by role!

I could cry! I've got a site that is due to be launched tomorrow and I've not noticed this problem until 5 minutes ago - and I know that it's a biggie!

If I search for a taxonomy term, or any content (apart from users) then I get the following error:

user error: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
query: SELECT DISTINCT i.sid, i.type FROM search_index i INNER JOIN node n ON n.nid = i.sid INNER JOIN node_access na ON na.nid = n.nid INNER JOIN users u ON n.uid = u.uid WHERE n.status = 1 AND (na.grant_view = 1 AND CONCAT(na.realm, na.gid) IN ('all0','node_privacy_byrole_role1','node_privacy_byrole_user0')) AND (i.word LIKE '%ipsu%') in /home/sites/ourcomms.org/public_html/includes/database.mysql.inc on line 66.

Here are the weird differences:

1) Searches for users are fine
2) Searches for taxonomy terms are fine, unless there is a result. In that case, the result is displayed along with the error above.
3) Searches for content/nodes are fine unless there is not a result. In that case, the result is displayed along with the error above.

In all honesty, I am so knackered and I have so little time to finish this, that I have half a mind to simply turn off the error messages! Obviously, I would rather solve this instead.

How to keep taxonomy changes in sync between two nodes

Hi! I'm creating a module which defines a 'minutes' content type. This can only be attached to an event in the calendar, and should inherit a bunch of information from the parent. In my version for 4.6, I didn't worry about the taxonomy information changing in the parent (partly because I didn't think about it, partly because I was writing custom view methods, which were able to join up with the parent). However, for 4.7, I'm trying to rethink how I did a bunch of stuff, and I'd like to start using Views in place of some custom view methods.

My question is this: what is the best way to keep up to date with changes in the taxonomy of the parent event?

Referer redirect page module

Hello,

Is anyone aware of theme that will intersect click throughs from a specific domain, and allow me to present an informational page before displaying the requested Drupal page? This would be similar to the referer_theme module, but would have the additional "pop up" page.

Here's the sample workflow:

How fun!

Hiya all!

I just stumbled upon DutchPipe today, an Open Source Virtual World framework which looks like some real fun. I'll evaluate the code in while and see if this could be fiddled into Drupal using a "middleware-module" that ports over the DutchPipe stuff into Drupal powered sites. Could be quite some fun, but really needs a first look on the code, beforehand.

Anyone interested in joinging me turn this into a Module Project, ust let me know!

Random Pages Module, anyone interested, is it worth sharing?

Hi,

I've knocked together a small module that will display random nodes in a block. The seed changes once per day and is based on the CRC's of the paths. i.e. each page should have different random links on it, and these links will be rotated once per day.

form_alter, body default value not set

i am trying to set a default value for the body textarea in /node/add/story, but i must understand something wrong. the title works fine...but no body default value is beeing set. any hints?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions