Re: [rt-users] Can't locate RT/Condition/.pm

2010-08-16 Thread Kevin Falcone
On Sun, Aug 15, 2010 at 11:19:17AM -0700, Dylan Choi wrote:
 Thanks a bunch Kevin. Finally, httpd runs on the system and I was able
 to see all the data from my old machine after I ran below sql.
 
 delete from Scrips where ScripCondition=0;

It might have been better to select * from Scrips where ScripCondition
= 0; and then go fix it in the UI.  It isn't clear to me why you had
blank condition scrips in the first place.

-kevin

 On Sun, Aug 15, 2010 at 6:35 AM, Kevin Falcone
 falc...@bestpractical.com wrote:
  On Sun, Aug 15, 2010 at 02:14:36AM -0700, Dylan Choi wrote:
  Hello,
 
  I'm currently running RT(3.6.6) and trying to upgrade system hardwares
  as well as RT itself. I have setup a latest RT(3.8.8) on my brand new
  system and with just fresh setup, it works fine. However, since I've
  restored dumped mysql data from RT 3.6.6 and upgraded database scheme
  using upgrade-mysql-schema.pl, httpd always fails to start. Below is
  the error messages in error_log and there are no errors in rt.log
  (/rt3/var/log/rt.log). I'm really trying to figure out why perl
  can't locate RT::Condition modules when httpd starts. Please shed some
  lights on me. Thanks !
 
  One of your scrips has a blank condition, you'll need to find it and
  fix it.
 
  -kevin
 
  I'm running RT 3.8.8 with following packages.
  - CentOS 5.5
  - httpd-2.2.3-43
  - mod_perl-2.0.4-6
  - mysql-5.0.77-4
 
  --- error_log
  [Sun Aug 15 08:28:28 2010] [error] Require of RT::Condition::
  failed.\nCan't locate RT/Condition/.pm in @INC (@INC contains:
  /data/www/rt3/bin/../local/lib /data/www/rt3/bin/../lib
  /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
  /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
  /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
  /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
  /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
  /etc/httpd) at (eval 1326) line 3.\n\nCompilation failed in require at
  (eval 2) line 1.\n
  [Sun Aug 15 08:28:28 2010] [error] Can't load Perl file:
  /data/www/rt3/bin/webmux.pl for server foo.mydomain.com:0, exiting...
  
 
  -Dylan
 
  RT Training in Washington DC, USA on Oct 25  26 2010
  Last one this year -- Learn how to get the most out of RT!
 
 
  RT Training in Washington DC, USA on Oct 25  26 2010
  Last one this year -- Learn how to get the most out of RT!
 
 
 
 
 -- 
 - Dylan Choi
 
 RT Training in Washington DC, USA on Oct 25  26 2010
 Last one this year -- Learn how to get the most out of RT!


pgpFeIqjwI9l6.pgp
Description: PGP signature

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!

[rt-users] Install MobileUI extension to non-standard directory

2010-08-16 Thread David Chandek-Stark
Hi,

I have a second installation of RT which is not under /opt/rt3.  What
are required parameters for MakeMaker to get this to work.  I have
tried PREFIX/opt/rt3-pnb, and this is what happens:

Installing /opt/rt3-pnb/lib/RT/Extension/MobileUI.pm
Installing /opt/rt3-pnb/man/man3/RT::Extension::MobileUI.3pm
Appending installation info to /opt/rt3-pnb/lib/perllocal.pod
Installing /opt/rt3-pnb/html/m/login
Installing /opt/rt3-pnb/html/m/logout
Installing /opt/rt3-pnb/html/m/dhandler
Installing /opt/rt3-pnb/html/m/index.html
Installing /opt/rt3-pnb/html/m/style.css
Installing /opt/rt3-pnb/html/m/_elements/header
Installing /opt/rt3-pnb/html/m/_elements/ticket_list
Installing /opt/rt3-pnb/html/m/_elements/wrapper
Installing /opt/rt3-pnb/html/m/_elements/raw_style
Installing /opt/rt3-pnb/html/m/_elements/full_site_link
Installing /opt/rt3-pnb/html/m/_elements/ticket_menu
Installing /opt/rt3-pnb/html/m/_elements/menu
Installing /opt/rt3-pnb/html/m/_elements/footer
Installing /opt/rt3-pnb/html/m/tickets/requested
Installing /opt/rt3-pnb/html/m/tickets/search
Installing /opt/rt3-pnb/html/m/ticket/history
Installing /opt/rt3-pnb/html/m/ticket/select_create_queue
Installing /opt/rt3-pnb/html/m/ticket/create
Installing /opt/rt3-pnb/html/m/ticket/modify
Installing /opt/rt3-pnb/html/m/ticket/show
Installing /opt/rt3-pnb/html/m/ticket/reply
Installing 
/opt/rt3-pnb/html/Callbacks/RT-Extension-MobileUI/Elements/Login/Header
Installing /opt/rt3-pnb/html/Callbacks/RT-Extension-MobileUI/index.html/Initial
Installing 
/opt/rt3-pnb/html/Callbacks/RT-Extension-MobileUI/Ticket/Display.html/Initial

Thanks,
David

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!


Re: [rt-users] Install MobileUI extension to non-standard directory

2010-08-16 Thread Thomas Sibley
On 08/16/2010 09:34 AM, David Chandek-Stark wrote:
 I have a second installation of RT which is not under /opt/rt3.  What
 are required parameters for MakeMaker to get this to work.  I have
 tried PREFIX/opt/rt3-pnb, and this is what happens:

Instead of setting PREFIX, set RTHOME to /opt/rt3-pnb.

http://search.cpan.org/dist/Module-Install-RTx/lib/Module/Install/RTx.pm#ENVIRONMENT

Cheers,
Thomas

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!


[rt-users] Creating Callbacks

2010-08-16 Thread Jim Tambling
Hi, 
 
I want to make the Time Worked field a mandatory one with each ticket
update. I believe this can be achieved through callbacks. The problem I
have is that my perl foo is very limited. I was thinking of using the
MandatorySubject plugin as a starting point for my own callback
(hacking at it till it works) but not wanting to re-invent the wheel I
was wondering if anyone already has something like this in their rt
instance, or if someone is willing to lend a hand with it.
 
Regards, Jim

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!

[rt-users] Changed stalled status

2010-08-16 Thread David Allwein
Anyone know how to change stalled status. would like to change to 
pending. Would need to change on quick search displayed on RT at a 
glance as well.


Thanks,

David
Sysadmin
RNS


RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!


Re: [rt-users] Changed stalled status

2010-08-16 Thread Torsten Brumm
Hmm, on 3.8.x not so far i know, it uses @ActiveStatus instead of each
single status

Btw: Have you changed it inside a new installation? Or did you already have
content inside?

Another, possible better idea would be to change it inside the
translations?!?

2010/8/16 David Allwein sysad...@ruralnetwork.net

 Anyone know how to change stalled status. would like to change to pending.
 Would need to change on quick search displayed on RT at a glance as well.

 Thanks,

 David
 Sysadmin
 RNS


 RT Training in Washington DC, USA on Oct 25  26 2010
 Last one this year -- Learn how to get the most out of RT!




-- 
MFG

Torsten Brumm

http://www.brumm.me
http://www.elektrofeld.de

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!