Ruslan Zakirov wrote:
> Could you please add something like that to that code, before "for" loop:
> 
> use Data::Dumper;
> warn "INC: ". Dumper \...@inc;
> warn "local lib path: ". $RT::LocalLibPath;
> 
> Then stop/start server. In apache's error log you should see this
> entries. This can help us debug issue.

Hi Ruslan,

Sorry for the delay.
Here is the first 3 dumps

INC: $VAR1 = [
           '/var/www/rt.mysite.com/local/lib',
           '/var/www/rt.mysite.com/lib',
           '/var/www/cms-live/modules',
           '/var/www/cms-live/modules/planner',
           '/var/www/rt.mysite.com/bin/../local/lib',
           '/var/www/rt.mysite.com/bin/../lib',
           '/home/httpd/perl',
           '/etc/perl',
           '/usr/lib/perl5/vendor_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/vendor_perl/5.8.8',
           '/usr/lib/perl5/vendor_perl',
           '/usr/lib/perl5/site_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/site_perl/5.8.8',
           '/usr/lib/perl5/site_perl',
           '/usr/lib/perl5/5.8.8/i486-linux',
           '/usr/lib/perl5/5.8.8',
           '/usr/local/lib/site_perl',
           '.',
           '/usr/lib/apache2'
         ];
local lib path: /var/www/rt.mysite.com/local/lib at 
/var/www/rt.mysite.com/lib/RT.pm line 605.
INC: $VAR1 = [
           '/var/www/rt.mysite.com/local/lib',
           '/var/www/rt.mysite.com/lib',
           '/var/www/cms-live/modules',
           '/var/www/cms-live/modules/planner',
           '/var/www/rt.mysite.com/bin/../local/lib',
           '/var/www/rt.mysite.com/bin/../lib',
           '/home/httpd/perl',
           '/etc/perl',
           '/usr/lib/perl5/vendor_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/vendor_perl/5.8.8',
           '/usr/lib/perl5/vendor_perl',
           '/usr/lib/perl5/site_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/site_perl/5.8.8',
           '/usr/lib/perl5/site_perl',
           '/usr/lib/perl5/5.8.8/i486-linux',
           '/usr/lib/perl5/5.8.8',
           '/usr/local/lib/site_perl',
           '.',
           '/usr/lib/apache2'
         ];
local lib path: /var/www/rt.mysite.com/local/lib at 
/var/www/rt.mysite.com/lib/RT.pm line 605.
INC: $VAR1 = [
           '/var/www/rt.mysite.com/local/lib',
           '/var/www/rt.mysite.com/lib',
           '/var/www/cms-live/modules',
           '/var/www/cms-live/modules/planner',
           '/var/www/rt.mysite.com/bin/../local/lib',
           '/var/www/rt.mysite.com/bin/../lib',
           '/home/httpd/perl',
           '/etc/perl',
           '/usr/lib/perl5/vendor_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/vendor_perl/5.8.8',
           '/usr/lib/perl5/vendor_perl',
           '/usr/lib/perl5/site_perl/5.8.8/i486-linux',
           '/usr/lib/perl5/site_perl/5.8.8',
           '/usr/lib/perl5/site_perl',
           '/usr/lib/perl5/5.8.8/i486-linux',
           '/usr/lib/perl5/5.8.8',
           '/usr/local/lib/site_perl',
           '.',
           '/usr/lib/apache2',
           '/var/www/rt.mysite.com/local/plugins/RTx-Calendar/lib',
           '/var/www/rt.mysite.com/local/plugins/RT-FM/lib',
 
'/var/www/rt.mysite.com/local/plugins/RT-Extension-MandatorySubject/lib',
           '/var/www/rt.mysite.com/local/plugins/RTx-EmailCompletion/lib'
         ];
local lib path: /var/www/rt.mysite.com/local/lib at 
/var/www/rt.mysite.com/lib/RT.pm line 605.

> FYI, with your change files in local/lib wouldn't override matching
> libraries of plugins.

yes, I see that as a prob.

thanks for your help.

Woody.

-- 
-----------------------
Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Mobile: +255 (0) 773 503 502

http://www.wildthingsafaris.com
http://www.wildthingsafaris.com/pub/woody.html
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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

Reply via email to