[support] support Digest, Vol 124, Issue 13

Roger arelem at bigpond.com
Wed Apr 10 12:37:50 UTC 2013


On 04/10/2013 10:00 PM, support-request at drupal.org wrote:
> I did ask exactly what you are running, the modules list is one part of
> that.
> What are these modules?
> custom
> old_token
> error_log
>
> I'd also like the output of
> rpm -qa
>
> and to know what is in /usr/local and /opt
>
> I ran drush with your modules list, and those three modules are not
> available to me.
Apologies, I didn't take that to mean module list, oops.

Ok so now you've got me piqued, I'll investigate !
error_log seems to be:
[06-Mar-2012 11:08:19] PHP Warning:  Cannot load module 'XCache' because 
conflicting module 'eAccelerator' is already loaded in Unknown on line 0
[06-Mar-2012 11:09:51] PHP Warning:  Cannot load module 'XCache' because 
conflicting module 'eAccelerator' is already loaded in Unknown on line 0
[06-Mar-2012 11:10:06] PHP Warning:  Cannot load module 'XCache' because 
conflicting module 'eAccelerator' is already loaded in Unknown on line 0
[06-Mar-2012 11:22:57] PHP Warning:  Cannot load module 'XCache' because 
conflicting module 'eAccelerator' is already loaded in Unknown on line 0
[06-Mar-2012 11:23:05] PHP Warning:  Cannot load module 'XCache' because 
conflicting module 'eAccelerator' is already loaded in Unknown on line 0
I have never found a way around this error series. I do not have 
eAccelerator, at least it does not show up with any searches.



old_token, I cannot find so looked at token_old which contains 
token_test.module

<?php

/**
  * @file
  * Helper module for token tests.
  */

/**
  * Implements hook_exit().
  */
function token_test_exit() {
   if ($debug = variable_get('token_page_tokens', array())) {
     $debug += array('tokens' => array(), 'data' => array(), 'options' => array());
     foreach (array_keys($debug['tokens']) as $token) {
       $debug['values'][$token] = token_replace($token, $debug['data'], $debug['options']);
     }
     variable_set('token_page_tokens', $debug);
   }
}

/**
  * Implements hook_date_format_types().
  *
  * @todo Remove when http://drupal.org/node/1173706 is fixed.
  */
function token_test_date_format_types() {
   $info['token_test'] = t('Token test date format');/**
  * @file
  * Helper module for token tests.
  */


   // Explicitly set the variable here as well.
   variable_set('date_format_token_test', 'Y');

   return $info;
}

custom module contains hidefield.module I'm thinking this one was 
created by the other dev person before he went away.
It hides a checkbox that workbench puts up and should be only an admin 
operation, I do remember him talking about this some 6-10 weeks ago.

<?php
/**
  * @file
  * Allows administrators to hide specific fields from users.
  *
  * Hides fields depending upon the user.
  */

function hidefield_form_alter(&$form, &$form_state, $form_id) {
   global $user;
   // check that the user is not the reviewer and also not anonymous (...to avoid error messages when logging out).
   if ($user->uid != 0 && $user->name != 'Revwer1-8') {
      // Hide the checkbox
      $form['field_quality_assured'] = array(
            '#type' => 'hidden',
       );
    }
}





More information about the support mailing list