Hi Jessie,

Appears to happen to all users. I'll edit the code now (using rc2 version).

FYI, have updated DBI, DBIx::Searchbuilder and HTML::Mason to latest revs, just in case that was an issue and also taken MySQL to latest v5 rev.

Richard
Jesse Vincent wrote:

On Jul 6, 2007, at 6:08 AM, Richard Ellis wrote:

Hi Jessie,

Thanks, the error changes but it still doesn't work properly. Don't even know where to begin to look for this error:

*System error*

*error:*� Can't use string ("") as a HASH ref while "strict refs" in use at /opt/rt3/share/html/Elements/MyRT line 74.
*context:*�     
*...*�  
*70:*� HomepageSettings => $default_portlets? $default_portlets->Content: {},
*71:*�  );
*72:*�  }
*73:*�  
*74:*� my ($body, $summary) = @{$session{'my_rt_portlets'}}{qw(body summary)};
*75:*�  unless( $body && @$body ) {
*76:*�  $body = $summary || [];
*77:*�  $summary = undef;
*78:*�  }
*...*�  

*code stack:*�  /opt/rt3/share/html/Elements/MyRT:74
/opt/rt3/share/html/index.html:81
/opt/rt3/share/html/autohandler:291

raw error <http://gplive.uk:3000/index.html#raw>
Can't use string ("") as a HASH ref while "strict refs" in use at 
/opt/rt3/share/html/Elements/MyRT line 74.

just before that line of code, can you Dumper $session{my_rt_portlets}?

Does this only happen for a particular user?


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com

Reply via email to