Drupal 5.x

Drupal 6.8 and 5.14 released

Gábor Hojtsy - December 11, 2008 - 17:41

Drupal 6.8 and Drupal 5.14 are slight updates to Drupal 6.7 and 5.13, removing an incompatibility with versions of PHP before 5.2 released in the earlier versions. The 6.7 and 5.13 releases fixed problems reported using the bug tracking system, as well as critical security vulnerabilities.

Upgrading your existing Drupal 5 and 6 sites is strongly recommended. There are no new features in these releases. For more information about the Drupal 6.x release series, consult the Drupal 6.0 release announcement, more information on the 5.x releases can be found in Drupal 5.0 release announcement.

site offline hook?

will_in_wi - January 7, 2009 - 00:14

After forgetting to turn my sites back on during upgrades for the second time, I decided to write a simple module to send me an email if the site was offline for longer than I expected. As it was just as easy to do this right as to hardcode everything, I created a fairly generic module and created a drupal.org project. I am having an issue in getting the code right.

Currently, I check to see if the site is offline on a cron run. This is a really bad way to do this as it takes a minimum of two cron runs to alert you. So even if I have a period of an hour specified, if cron runs every hour, it could be two hours before I get notified. Is there any way to insert a hook that runs when the offline preference is set?

The relevant code in drupal 6 is in modules/system/system.admin.inc at line 1629. Drupal builds the form here. The code for my project is here: http://drupal.org/project/offline_reminder .

Any ideas?

Any other suggestions, code review, or constructive criticism is welcomed. I hope this module is useful for any other forgetful people out there.

Thanks!

Please help with strange MySQL errors - both d6 and d5 have issues

ecsd - January 6, 2009 - 23:53

On ubuntu intrepid (8.10?), mysql 5.0.67, using drupal6 I get a page's worth of errors, but many if not all tables are created. Using drupal5 I get only a few of the same errors, but NOTHING is created for the database. Ubuntu is running PHP 5.2.6 and I see no way to backstep it. Hopefully it doesn't matter. I tried drupal 6.8 first assuming I was running PHP 5.2 not 5.0, but the same errors occur either way (5.14 or 6.8), "warning, table in use".

If someone knows the simple "gotcha", let me know.

Here are the errors I get from drupal 5.14 install:

* user warning: MyISAM table 'cache_filter' is in use (most likely by a MERGE table). Try FLUSH TABLES. query: CREATE TABLE cache_filter ( cid varchar(255) NOT NULL default '', data longblob, expire int NOT NULL default '0', created int NOT NULL default '0', headers text, PRIMARY KEY (cid), INDEX expire (expire) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /host/docroot/drupal514/includes/database.mysql.inc on line 174.

moving a movie player (or other object) up in content

saljustsal - January 6, 2009 - 23:25

I have the FLV media player module installed. It currently places the video player beneath the body of the node, but I would like to place the video player at the top and have the text of the body wrap around it. Anyone know how I would do this?

Number of Reads of Nodes Under Each Taxonomy Term

new_B - January 6, 2009 - 22:06

Hi,

Does anybody know if there's a way (e.g. existing module, snippet, etc.) to get the number of reads/visits of nodes under each taxonomy term?

For example,

- Term1
- Term2
- Term3

-Post1: tagged with Term1
-Post2: tagged with Term1, 2
-Post3: tagged with Term3

- Post1 has been viewed one time
- Post2 has been viewed two times
- Post3 has been viewed five times

The desired result is the following:
- Nodes relating to Term1 were viewed three times
- Nodes relating to Term2 were viewed two times
- Nodes relating to Term3 were viewed five times

Content types stop showing on views

Gentoo7 - January 6, 2009 - 21:25

after a database optimization, everytime I post a content type now it doesnt load in the the view set up for it.

what could be the problem?

Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.