Drupal is up and running but how do I ...?

Flexinode Error: "user error: Too many tables. MySQL can only use 31 tables in a join"

I get these two errors when trying to go to the "Tabular View" in the content type I created in Flexinode:

user error: Too many tables. MySQL can only use 31 tables in a join
query: SELECT COUNT(*) FROM node n LEFT JOIN flexinode_data flexinode_11 ON n.nid = flexinode_11.nid LEFT JOIN flexinode_data flexinode_39 ON n.nid = flexinode_39.nid LEFT JOIN flexinode_data flexinode_40 ON n.nid = flexinode_40.nid LEFT JOIN flexinode_data flexinode_1 ON n.nid = flexinode_1.nid LEFT JOIN flexinode_data flexinode_12 ON n.nid = flexinode_12.nid LEFT JOIN flexinode_data flexinode_2 ON n.nid = flexinode_2.nid LEFT JOIN flexinode_data flexinode_19 ON n.nid = flexinode_19.nid LEFT JOIN flexinode_data flexinode_4 ON n.nid = flexinode_4.nid LEFT JOIN flexinode_data flexinode_16 ON n.nid = flexinode_16.nid LEFT JOIN flexinode_data flexinode_14 ON n.nid = flexinode_14.nid LEFT JOIN flexinode_data flexinode_26 ON n.nid = flexinode_26.nid LEFT JOIN flexinode_data flexinode_27 ON n.nid = flexinode_27.nid LEFT JOIN flexinode_data flexinode_24 ON n.nid = flexinode_24.nid LEFT JOIN flexinode_data flexinode_23 ON n.nid = flexinode_23.nid LEFT JOIN flex in /home/galvlo/www/includes/database.mysql.inc on line 66.

user error: Too many tables. MySQL can only use 31 tables in a join
query: SELECT DISTINCT(n.nid), n.title , flexinode_11.serialized_data AS flexinode_11, flexinode_39.serialized_data AS flexinode_39, flexinode_40.serialized_data AS flexinode_40, flexinode_1.textual_data AS flexinode_1, flexinode_12.textual_data AS flexinode_12, flexinode_2.textual_data AS flexinode_2, flexinode_19.serialized_data AS flexinode_19, flexinode_4.textual_data AS flexinode_4, flexinode_16.textual_data AS flexinode_16, flexinode_14.textual_data AS flexinode_14, flexinode_26.textual_data AS flexinode_26, flexinode_27.textual_data AS flexinode_27, flexinode_24.textual_data AS flexinode_24, flexinode_23.textual_data AS flexinode_23, flexinode_20.serialized_data AS flexinode_20, flexinode_5.numeric_data AS flexinode_5, flexinode_6.textual_data AS flexinode_6, flexinode_28.textual_data AS flexinode_28, flexinode_29.textual_data AS flexinode_29, flexinode_21.serialized_data AS flexinode_21, flexinode_30.textual_data AS flexinode_30, flexinode_31.te in /home/galvlo/www/includes/database.mysql.inc on line 66.

Restrict nodes to members only (or any other group)?

Hi All,

I am looking to impliment Drupal for a national organisation.
Some of the information posted and attachements needs to be limited to members only.

It would be great if a member hit the front page which displayed all the publically available nodes, but after they login the same page would also expose nodes/menus/etc based on the users membership.

Is there any way to set permissions on a node to do this?

Thumbnail creation failing when modifying an image's description

Hi,

I am using Drupal 4.6 with the image module. (img_asst is also installed)

I used Create Content to upload an image - the thumbnail was generated and displayed correctly in the gallery page.

Then I edited it, changing the description from plain text to full html and entered some html formatted text with a link. After submitting the change, I got the old "Thumbnail not Created". The image is still in the gallery, with the newly entered description, but there is no thumbnail and the fullsize image displays by default.

Mysterious site crash

I'm running drupal 4.6 on http://digitalabsolution.com and it will not load, and I can't figure out what is wrong. It has been running fine for over a month. It seems to be throwing no errors. The only thing i did before the crash (or current state, whatever you call it) was try to submit a blog entry, and it looked like at the same time someone was trying to login unsuccessfully.

Anyone have ideas to help me out?

"system?file=" syntax

In the past I am sure that I could include images in my posts/custom blocks using the following syntax:

<img src="/system?file=images/XXX.jpg" />

and Drupal would look in the images subdir of the "files" (or whatever it was called) and retrieve the image. I also thought that upload used the same syntax (probably where I got the idea). Now in my (test) installation I cannot do this and I need to use the full path (as does upload). What have I done, or has something changed in Drupal?

How do I use the username inside an included file

Hi,

I'm using the Drupal's body area in the "create content" node, only to put "include 'xxxxxx' ", in php. In one of those included files I'm using:
global $user;
To store the user variables and then I use the username ($user->name), as a quering parameter for a MySQL query.

The $user variable remains empty.... if I put the whole code in the body area, the $user variable gets filled with the right information.

So, the question is: Due that I MUST use an included php script in the body area, How do I get the user information from Drupal?

Pages

Subscribe with RSS Subscribe to RSS - Post installation