RE: [rt-users] Problem with RT::Logger

2007-10-23 Thread Lamers, Dan
I have solved this problem by adding the following line to my
CurrentUser_Local.pm

 

Package RT::Interface::Web;

 

I still don't understand why it worked before without the added line?
Perhaps this is related to the 3.6.4 to 3.6.5 upgrade?

 

Hopefully this will help anyone else who runs into similar issues running
CurrentUser_Local.pm ldap overlay.

 

Dan

 

   _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lamers, Dan
Sent: Monday, October 22, 2007 3:38 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Problem with RT::Logger

 

I had a working RT system up until this morning when it appears that
RT::Logger stopped functioning.  Last week I upgraded from 3.6.4 to 3.6.5
and everything appeared to work fine.  I shutdown the system for the weekend
and this morning I'm receiving a "500 Internal Server Error" when trying to
logon.  

 

My apache2/errorlog entry is:
  Can't call method "debug" on an undefined value at
/opt/rt3/local/lib/RT/CurrentUser_Local.pm line 59

 

The relevant perl line is"

  $RT::Logger->debug( "CreateFromExternalUserInfo: entered with args: ",
@lookupargs, "\n");

 

 

If I comment this line from the program, it proceeds to fail on the next
RT::Logger statement including RT::Logger->info calls.  If I comment out all
of the RT::Logger calls from this program, the system appears to function
normally.  

 

Any help would be greatly appreciated!

 

Thanks,

Dan



DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful. Please immediately contact the sender if you have received this
message in error. Thank you. 





DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please immediately contact the sender if you have received this
message in error. Thank you. 


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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

Re: [rt-users] Problem with RT::Logger

2007-10-22 Thread Ruslan Zakirov
Most probably you're calling methods on $RT::Logger when it's not
initialized, for example during loading of modules.

On 10/22/07, Lamers, Dan <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I had a working RT system up until this morning when it appears that
> RT::Logger stopped functioning.  Last week I upgraded from 3.6.4 to 3.6.5
> and everything appeared to work fine.  I shutdown the system for the weekend
> and this morning I'm receiving a "500 Internal Server Error" when trying to
> logon.
>
>
>
> My apache2/errorlog entry is:
>Can't call method "debug" on an undefined value at
> /opt/rt3/local/lib/RT/CurrentUser_Local.pm line 59
>
>
>
> The relevant perl line is"
>
>   $RT::Logger->debug( "CreateFromExternalUserInfo: entered with args: ",
> @lookupargs, "\n");
>
>
>
>
>
> If I comment this line from the program, it proceeds to fail on the next
> RT::Logger statement including RT::Logger->info calls.  If I comment out all
> of the RT::Logger calls from this program, the system appears to function
> normally.
>
>
>
> Any help would be greatly appreciated!
>
>
>
> Thanks,
>
> Dan
>
>
>
> DISCLAIMER: The information in this message is confidential and may be
> legally privileged. It is intended solely for the addressee. Access to this
> message by anyone else is unauthorized. If you are not the intended
> recipient, any disclosure, copying, or distribution of the message, or any
> action or omission taken by you in reliance on it, is prohibited and may be
> unlawful. Please immediately contact the sender if you have received this
> message in error. Thank you.
>
>
> ___
> 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
>


-- 
Best regards, Ruslan.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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


[rt-users] Problem with RT::Logger

2007-10-22 Thread Lamers, Dan
I had a working RT system up until this morning when it appears that
RT::Logger stopped functioning.  Last week I upgraded from 3.6.4 to 3.6.5
and everything appeared to work fine.  I shutdown the system for the weekend
and this morning I'm receiving a "500 Internal Server Error" when trying to
logon.  

 

My apache2/errorlog entry is:
  Can't call method "debug" on an undefined value at
/opt/rt3/local/lib/RT/CurrentUser_Local.pm line 59

 

The relevant perl line is"

  $RT::Logger->debug( "CreateFromExternalUserInfo: entered with args: ",
@lookupargs, "\n");

 

 

If I comment this line from the program, it proceeds to fail on the next
RT::Logger statement including RT::Logger->info calls.  If I comment out all
of the RT::Logger calls from this program, the system appears to function
normally.  

 

Any help would be greatly appreciated!

 

Thanks,

Dan



DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please immediately contact the sender if you have received this
message in error. Thank you. 


___
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