At the advice of someone smarter than me, the code added is now:<br><br><span class="Apple-style-span" style="color: rgb(32, 32, 32); font-family: 'Droid Sans', arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); "><div>
<div class="im" style="color: rgb(80, 0, 80); ">function ctools_php_ctools_access_check($__conf, $contexts) {<br></div> if (arg(0) == 'member' && arg(1) == 'register') {<br> print_r($__conf);<br>
}<br><br></div><div class="im" style="color: rgb(80, 0, 80); "><div> $access = eval($__conf['php']);</div><div> return $access;</div><div>}<br><br></div></div></span>This results in the following output at the top of the returned page:<br>
<br>A<span class="Apple-style-span" style="color: rgb(110, 110, 110); font-family: Verdana, Ariel, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">rray ( [description] => [php] => if ( arg(0) == 'user' && is_numeric(arg(1)) && arg(2) == 'openid') { return TRUE; }; ) Array ( [description] => [php] => if ((arg(0) == 'node' && arg(1) == 'agreement' && is_numeric(arg(2))) || arg(0)=='project' || (arg(0) == 'node' && is_numeric(arg(1)) && arg(2) == 'release') || arg(0) == 'comment' ) { return true; } ) Array ( [description] => [php] => if ( arg(0) == 'messages' || ( arg(0) == 'filter' && arg(1) == 'tips) ) { return TRUE; }; ) Array ( [description] => [php] => if (arg(0) == 'search' && arg(1) == 'user'){ return TRUE; } ) Array ( [description] => [php] => if((arg(0)== 'search' && arg(1) == 'apachesolr_search')){ return TRUE; } ) Array ( [description] => notification pages [php] => if ((arg(0) == 'user' && is_numeric(arg(1)) && arg(2) == 'notifications') || (arg(0) == 'notifications')){ return TRUE; } ) Array ( [description] => [php] => if ((arg(0) == 'invite') || (arg(0) == 'user' && arg(2) == 'invites')){ return true; } )</span><br>
<br><br>This looks a little suspect: <span class="Apple-style-span" style="color: rgb(110, 110, 110); font-family: Verdana, Ariel, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">arg(1) == 'tips)</span><div class="gmail_quote">
In: <span class="Apple-style-span" style="color: rgb(110, 110, 110); font-family: Verdana, Ariel, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Array ( [description] => [php] => if ( arg(0) == 'messages' || ( arg(0) == 'filter' && arg(1) == 'tips)</span><br>
<br>Getting warmer, I hope.<br><br><br>On Wed, Sep 7, 2011 at 1:32 PM, Bill Traynor <span dir="ltr"><<a href="mailto:btraynor@mvista.com">btraynor@mvista.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Sep 7, 2011 at 8:47 AM, Earnie Boyd <span dir="ltr"><<a href="mailto:earnie@users.sourceforge.net" target="_blank">earnie@users.sourceforge.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Bill Traynor wrote:<br>
> I think I'm getting warmer. The error_log shows the following when a new<br>
> user registers:<br>
><br>
> Unexpected character in input: ''' (ASCII=39) state=1 in /var/www/<br>
> <a href="http://dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc%2855%29" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc(55)</a>:<br>
> eval()'d code on line 1, referer:<br>
> <a href="http://dev.meld.org/admin/build/modules/list" target="_blank">http://dev.meld.org/admin/build/modules/list</a><br>
> Unexpected character in input: ''' (ASCII=39) state=1 in /var/www/<br>
> <a href="http://dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc%2855%29" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc(55)</a>:<br>
> eval()'d code on line 1, referer:<br>
> <a href="http://dev.meld.org/" target="_blank">http://dev.meld.org/</a><br>
> Unexpected character in input: ''' (ASCII=39) state=1 in /var/www/<br>
> <a href="http://dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc%2855%29" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc(55)</a>:<br>
> eval()'d code on line 1, referer:<br>
> <a href="http://dev.meld.org/member/register" target="_blank">http://dev.meld.org/member/register</a><br>
> Unexpected character in input: ''' (ASCII=39) state=1 in /var/www/<br>
> <a href="http://dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc%2855%29" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc(55)</a>:<br>
> eval()'d code on line 1, referer:<br>
> <a href="http://dev.meld.org/member/register" target="_blank">http://dev.meld.org/member/register</a><br>
><br>
> But how would I go about tracking down the offending ' character? As you<br>
> can see, the error also occurred when logged in as admin and listing the<br>
> modules.<br>
<br>
</div>I would go to line 55 in sites/all/modules/ctools/plugins/access/php.inc<br>
and add throw new Exception to find the offending module. You'll want<br>
to condition the throw new Exception to only when arg(0) == 'member' &&<br>
arg(1) == 'register'.<br></blockquote></div></div><div><br>I edited the function as follows:<br><br>function ctools_php_ctools_access_check($__conf, $contexts) {<br> if (arg(0) == 'member' && arg(1) == 'register') {<br>
throw new Exception('Offending Module is:');<br> }<br> else return $access;<br>}<br><br>and received:<br><br>[Wed Sep 07 12:02:25 2011] [error] [client 24.246.24.2] PHP Fatal error: Uncaught exception 'Exception' with message 'Offending Module is:' in /var/www/<a href="http://dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc:63%5Cn" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc:63\n</a><br>
Stack trace:\n<br>#0 /var/www/<a href="http://dev.meld.org/drupal-6.x/sites/all/modules/ctools/includes/context.inc%281435%29" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/ctools/includes/context.inc(1435)</a>: ctools_php_ctools_access_check(Array, Array, Array)\n<br>
#1 /var/www/<a href="http://dev.meld.org/drupal-6.x/sites/all/modules/ctools/includes/context-task-handler.inc%28176%29" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/ctools/includes/context-task-handler.inc(176)</a>: ctools_access(Array, Array)\n<br>
#2 /var/www/<a href="http://dev.meld.org/drupal-6.x/sites/all/modules/panels/plugins/task_handlers/panel_context.inc%28250%29" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/panels/plugins/task_handlers/panel_context.inc(250)</a>: ctools_context_handler_select(Object(stdClass), Array)\n<br>
#3 /var/www/<a href="http://dev.meld.org/drupal-6.x/sites/all/modules/ctools/includes/context-task-handler.inc%2846%29" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/ctools/includes/context-task-handler.inc(46)</a>: panels_panel_context_render(Object(stdClass), Array, Array)\n<br>
#4 /var/www/<a href="http://dev.meld.org/drupal-6.x/sites/all/modules/panels_everywhere/panels_everywhere.module%28177%29" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/panels_everywhere/panels_everywhere.module(177)</a>: ctools_context_handler_render(Array, '', Array, Array, false)\n<br>
#5 [internal function]: panels_everywhere_page_preprocess(Array, 'page')\n<br>#6 /var/www/<a href="http://dev.meld.org/dr" target="_blank">dev.meld.org/dr</a> in /var/www/<a href="http://dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc" target="_blank">dev.meld.org/drupal-6.x/sites/all/modules/ctools/plugins/access/php.inc</a> on line 63<br>
<br>Does this mean that the offending single quote character is somewhere in one of these?<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<font color="#888888"><br>
--<br>
</font><div class="im"><div><div></div><div>Earnie<br>
-- <a href="http://progw.com" target="_blank">http://progw.com</a><br>
-- <a href="http://www.for-my-kids.com" target="_blank">http://www.for-my-kids.com</a><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></div></blockquote></div><br><br clear="all"><div><div></div><div class="h5"><br>-- <br><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Bill Traynor<br>Technical Writer & Community Manager of Meld.org<br>
MontaVista Software, LLC</span><div>
<span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">2929 Patrick Henry Drive</span></div><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Santa Clara, CA 95054</span></div>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Bill Traynor<br>Technical Writer & Community Manager of Meld.org<br>MontaVista Software, LLC</span><div>
<span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">2929 Patrick Henry Drive</span></div><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Santa Clara, CA 95054</span></div>
<br>