[support] mail issue: new user registration email not being sent

Earnie Boyd earnie at users.sourceforge.net
Wed Sep 7 12:47:28 UTC 2011


Bill Traynor wrote:
> I think I'm getting warmer.  The error_log shows the following when a new
> user registers:
> 
> Unexpected character in input:  ''' (ASCII=39) state=1 in /var/www/
> dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc(55):
> eval()'d code on line 1, referer:
> http://dev.meld.org/admin/build/modules/list
> Unexpected character in input:  ''' (ASCII=39) state=1 in /var/www/
> dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc(55):
> eval()'d code on line 1, referer:
> http://dev.meld.org/
> Unexpected character in input:  ''' (ASCII=39) state=1 in /var/www/
> dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc(55):
> eval()'d code on line 1, referer:
> http://dev.meld.org/member/register
> Unexpected character in input:  ''' (ASCII=39) state=1 in /var/www/
> dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc(55):
> eval()'d code on line 1, referer:
> http://dev.meld.org/member/register
> 
> But how would I go about tracking down the offending ' character?  As you
> can see, the error also occurred when logged in as admin and listing the
> modules.

I would go to line 55 in sites/all/modules/ctools/plugins/access/php.inc
and add throw new Exception to find the offending module.  You'll want
to condition the throw new Exception to only when arg(0) == 'member' &&
arg(1) == 'register'.

-- 
Earnie
-- http://progw.com
-- http://www.for-my-kids.com


More information about the support mailing list