Drupal

Strings Max Lenght Control function for Drupal

Objective:
Create one function that controls the length for one string of caharacters in drupal.

Function:

<?php
function max_length($string) {
$string = check_plain($string);

Eaccelerator, suEXEC, Zend and white screens of death and faulty crons

This was a bit of a tough one...it had to do with the installation of eaccelerator (EA) 9.51 with the Zend optimisation engine. The install went well, but things started going awry after a few days.

Drupal Cron run failed, cron busy and cron is probably stuck errors

Your recent log entries on watchdog show the following and you have no idea how to resolve...
Attempting to re-run cron while it is already running.

List nodes of a cck type and nodereference field for this user

This was used in a project management system to show the logged in user the projects in which they formed a part of the project team.

Syndicate content