Thus said Mark Janssen on Mon, 19 May 2014 22:14:24 +0200:

> And to complete the picture, this  is the actual tkt-hook cgi script I
> am currently using:

Thanks for  sharing, but  I cannot even  get the TH1  script to  even do
anything. It  took me a while  before I realized that  the ticket-change
config setting  is not the  right setting (this  is what fossil  ui sets
when I enter  a custom TH1 script  for ticket changes). But  the code is
looking for xfer-ticket-script in the database and attempting to execute
that.

After I figured that out, I just used something like:

INSERT INTO config VALUES ('xfer-ticket-script', (SELECT value FROM conf
ig WHERE name = 'ticket-change'), strftime('%s', 'now'));

Is there an actual interface for this?

At any rate, now that I have the script in place, I can see that it does
get  executed but  the return  is  1 (which  I assume  means the  script
failed) and I don't even see a ``hit'' on my webserver on 127.0.0.1.

Is there something to do to enable debugging output for TH1 scripts?

Thanks,

Andy
-- 
TAI64 timestamp: 40000000537abcc7


_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to