This module requires PHP5, however is not marked as such. Line 136 of content_complete.module uses a pass by reference with a default value, which is unsupported in PHP4. Enabling this module on a PHP4 installation causes a white screen PHP parse error requiring a trip into the DB to disable the module.

function content_complete_get_data($content_type, &$user = NULL) {
  if (!$user) {
    global $user;
  }
...

Comments

guillaumeduveau’s picture

Priority: Normal » Critical

Ouch, thanks !

guillaumeduveau’s picture

Title: PHP 5 Required but not documented » PHP 5 required
Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Status: Active » Closed (won't fix)

"Fixed" (in CVS) by adding a dependency to PHP 5. I don't want myself to support PHP 4, plus it's already the same for Realname module. Sorry if you don't have PHP 5, the least I can do is to keep that issue to track PHP < 5 problems and workarounds if someone submits some.

Marking this as critical + won't fix, since people on PHP 4 already deleted the module after trying it because it was breaking their Drupal.