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

mysql_query(): Unable to save result set

I am recently getting a bunch of those:
mysql_query(): Unable to save result set in /pathtomysite/includes/database.mysql.inc on line 49.
Anyone knows what is happening?
This is how line 49 looks like:
$result = mysql_query($query, $active_db);

I would appreciate some tips about what is going wrong and how I can avoid this error.

Andre

How do I change the titles in my feeds ...

So that it includes the name of my site as well

I want the change to go from TITLE to "SITE NAME | TITLE" in the feed

I was able to do it in the ATOM module but cannot figure out how to do it for the RSS 2.0 feed. Here's the code as it appears in node.module for 4.6 (which is dramatically different from 4.5)


/**
* A generic function for generating RSS feeds from a set of nodes.
*
* @param $nodes
* An object as returned by db_query() which contains the nid field.
* @param $channel
* An associative array containing title, link, description and other keys.
* The link should be an absolute URL.
*/
function node_feed($nodes = 0, $channel = array()) {
global $base_url, $locale;

if (!$nodes) {
$nodes = db_query_range(db_rewrite_sql('SELECT n.nid FROM {node} n WHERE n.promote = 1 AND n.status = 1 ORDER BY n.created DESC'), 0, 15);
}

while ($node = db_fetch_object($nodes)) {
// Load the specified node:
$item = node_load(array('nid' => $node->nid));
$link = url("node/$node->nid", NULL, NULL, 1);

// Filter and prepare node teaser
if (node_hook($item, 'view')) {
node_invoke($item, 'view', TRUE, FALSE);
}
else {
$item = node_prepare($item, TRUE);
}

// Allow modules to change $node->teaser before viewing.
node_invoke_nodeapi($item, 'view', true, false);

// Allow modules to add additional item fields

how do i put "image file" in between a text story

HI,
can someone show me how to generate a "theonion.com" page like with pictures and text all wrapped around? is there a module does that? or is just plain HTML code with image link? tks

What does "Ignoring alias user" mean, and how can i get rid of it?

Hey there,

When new users sign up, they get a message, "ignorming alias user." The registration is successful, but the message is strange and confusing to them. Anyone know why this is being outputted, and how to get rid of it?

Thanks

js

Acidfree one Picture in Multiple Albums

How can I assign the same picture to multiple Albums without having to post it twice.
Primarily I would like to sort by location but then I would also like to sort by subject.

Andre
http://www.opentravelinfo.com
http://www.aguntherphotography.com

Image Link for Nodes

Ok so here is my question is there a way that I can change the code of the img_assist module so that the image is a link to the story rather than a link to it self. I want to be able to do what the onion, or cnn does where the image is also a link to the story or page.

Pages

Subscribe with RSS Subscribe to RSS - Post installation