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

Searching a multisite installation--how?

I have a multisite Drupal installation which is running off of one code base (with some exceptions for modules that some of the sub-sites are using and the main one not using) and with all the tables in one database, just using table prefixes. How do I get the master site to also search the slave (sub) sites as well? It seems like this would be obvious, but my search of the forum archives has come up with nothing.

What is the downside if no crontab entry is made ?

Hi:

What is the downside if *no* crontab entry is made ?

Are there any modules that can be impacted ?

Thanks in advance.

thanks
Saifi.

TWINCLING Society
http://www.twincling.org/

ping technorati automation?

Is it possible to automate pinging technorati by letting e.g. lynx visit http://technorati.com/ping/http://www.uzegt.be in a cron job?

or do we need a special module to do that?

welcome page with various content

Hi,

I wish to know how i can have content from a few users pages, i know that i can have a recently added pages in the home page side menu, i would like to have it look at bit more like myspace with lots of peoples content and not just one.

is there a script to show more?

Error messages in drupal 5 when not logged in

1. I installed Drupal 5 RC1 & added a number of the released modules.

I noted when not logged in I keep getting this error on the main page:

user warning: Not unique table/alias: 'n' query: SELECT c.nid, c.subject, c.cid, c.timestamp FROM comments c INNER JOIN node n ON n.nid = c.nid LEFT JOIN node n ON c.nid = n.nid WHERE ((n.moderate != 1 OR n.uid = 0)) AND n.status = 1 AND c.status = 0 ORDER BY c.timestamp DESC LIMIT 0, 10 in /home/xprt007/public_html/drupal5/includes/database.mysql.inc on line 167.

It disappears on logging in.

How do I get rid of it?

mysql query - out of memory problem

Hi,

Every time I access 'admin/logs/referrers' page I have this error:

Warning: mysql_query() [function.mysql-query]: Unable to save result set in /home/morazzia/public_html/includes/database.mysql.inc on line 102

Warning: Out of memory (Needed 1048506 bytes) query: pager_query SELECT COUNT(DISTINCT(url)) FROM accesslog WHERE url <> '' AND url NOT LIKE '%www.morazzia.com%' in /home/morazzia/public_html/includes/database.mysql.inc on line 121

I am on dedicated server running dual core 3.4Mhz with 2gb of memory. I have 10k visitors and 120.000 page views per day. I enable cash support on drupal with cron job (every 4 hours). I enable deval module. This is first couple of lines in deval log for referrers page:

Executed 122 queries in 100.85 milliseconds. Queries taking longer than 5 ms and queries executed more than once, are highlighted.Page execution time was 1352.91 ms.ms # where query
63.67 1 pager_query SELECT url, COUNT(url) AS hits, MAX(timestamp) AS last FROM accesslog WHERE url NOT LIKE '%www.morazzia.com%' AND url <> '' GROUP BY url ORDER BY hits DESC LIMIT 0, 30
1.08 1 forum_block SELECT n.nid, n.title, l.comment_count FROM node n INNER JOIN node_comment_statistics l ON n.nid = l.nid WHERE n.type = 'forum' AND n.status = 1 ORDER BY n.nid DESC LIMIT 0, 5
0.92 1 user_block SELECT COUNT(sid) AS count FROM sessions WHERE timestamp >= 1167293169 AND uid = 0

Pages

Subscribe with RSS Subscribe to RSS - Post installation