Hi all. First, just a big thank you to all of you working so hard on
this OpenACS system. I've sort of been lurking on these forums for a
while as I've not had the time to start learning/using the system.
However I finally managed to get it all up and running a few weeks
ago and have been venturing into some of the scripts/procedures to
get a better idea of how it all works and how it should best be setup
for real use.
My first question is has anyone actually used the OpenACS ecommerce
module to setup a test/real site?
I have been trying to understand how it all works and in beginning to
use this particular module, have started to com across problems. I'm
not quite sure whether it is something to do with my setup or if
there is something wrong within any of the current code - so here
goes:
- After creating a few user classes (www/admin/ecommerce/user-
classes), if you go back to that page, it should show you the classes
that have just been created, but it doesn't. Looking at the index.tcl
page, it seems that the first select which uses a union to get the
outer join of the ec_user_classes table isn't pulling in the user-
classes that have no users in them. I modified the second select and
it all seems to work now. I'm not sure if anything was wrong in the
first place since I'm still a newbie at this and therefore haven't
put this into the bug tracking system. This is why I'd appreciate
whoever may have already used this module to verify first.
- I'm using the cybercash-stub utility to test complete orders.
However after hitting submit on the last page of the order process, I
get 'Error: Ns_PgExec: result status: 7 message: ERROR: <unnamed>
referential integrity violation - key referenced from
ec_customer_serv_interactions not found in users' - this seems to be
coming out of a sub-procedure (ec_customer_service_simple_issue ?)
when the system tries to email the order confirmation back to the
customer. The proc is sending an empty string in as
customer_service_rep which fails on the ref. integrity with the users
table as there are no null user_id records. Am I even on the right
track here? If I comment out the 'ec_email_new_order $order_id' line
in www/ecommerce/finalize-order.tcl, then the order seems to be
entered fine (without the person getting a confirmation email of
course).
Second question - apart from 'the book', the problems sets, and the
myriad of aD documents, does anyone have good suggestions/other links
to help newbies to come upto speed with the whole system?