[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Order routes, please help, i'm going crazy :(
[snip]
> Basically what happens is that the only report that IC will read
> is the one
> in the main Route - eg, "Route mail report etc/report"
> doesn't get placed into the apropriate variables within Order.pm - i've
> stuck some dubug code in the module to check. It simply isn't in there -
> UNLESS - i specify the report attribute in the main order route. This, of
> course, means i can't log transactions (Route log report
> etc/log_transaction), and things are breaking. On the bright side, PGP
> encryption works :)
>
> Anyone know where i'm going wrong? Note: the actual error is:
> > Error during creation of order routing main:
> > No order report or found. at
> /usr/lib/interchange/lib/Vend/Order.pm line
> 1491.
>
> ---------BEGIN CATALOG SNIPPING-----------
>
> Route mail pgp_key "__PGP_KEY__"
> Route mail email email@address
> Route mail reply testing@test.com
> Route mail encrypt 1
> Route mail report etc/report
>
> Route log empty 1
> Route log report etc/log_transaction
> Route log transactions "transactions orderline inventory"
> Route log track logs/log
>
> Route main supplant 1
> Route main receipt etc/receipt.html
> Route main master log mail
> Route main cascade log mail
>
I am not sure if this will help, but:
- Route main master log mail
+ Route main master 1
- Route main cascade log mail
+ Route main cascade "log mail"
Either way, values with whitespace must be quoted, although master may work
with *any value, that value itself simply turns it on, but I would suggest
just set it to '1'.
Also, As per your last email, make sure you don't have "Route default"
hanging around still, you can't have multiple cascades (to my knowledge).
Have you seen a virgin catalog.cfg?? It seems like you are setting up your
routes pretty standard, I suggest looking at a virgin catalog.cfg, IMO is
better than the docs on this subject WRT learning.
Also, When I was setting up mine, I seem to remember something about
declaring SpecialPage pages like ../etc/report It may not be neccessary,
but if you don't have it, it won't hurt. I seem to remember needing it, but
maybe it was some other tweaking that I did, but it won't hurt either way.
That is also in a standard catalog.cfg, if you can get your hands on one.
HTH
Paul
PS, try setting 'report' in main, to see if you get any changes.