[rt-users] Trying to use User_Local.pm and failing

Thomas Sibley trs at bestpractical.com
Thu Jun 7 16:17:51 EDT 2012


On 06/07/2012 04:00 PM, Susan K. McClure wrote:
> I have a  3.8.11 system, plus the May security patches.  Since the
> security patch
> updated  ../rt/lib/RT/User_Overlay.pm and we had already had a local change
> at .../rt/local/lib/RT/User_Overlay.pm, I am trying to modify our local
> version to
> match up with the new User_Overlay.pm.
> 
> I am trying to use the "CustomizingWithOverlays" method from
>  http://requesttracker.wikia.com/wiki/CustomizingWithOverlays
> 
> I have created a new file with our changes in
> .../rt/local/lib/RT/User_Local.pm
> 
> But when I try to startup apache and RT I receive these errors:
> 
>> [Thu Jun 07 12:43:31 2012] [error] RT/User_Local.pm did not return a
>> true value at /opt/opt.CORE/rt-3.8.11/rhel5/bin/../lib/RT/Base.pm line
>> 173, <DATA> line 323.\nCompilation failed in require at (eval 1323)
>> line 3, <DATA> line 323.\n\t...propagated at

Perl packages need to end in a true value such as "1;"

Look at the last line of the Queue_Local.pm example on the wiki page you
linked to.



More information about the rt-users mailing list