[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] userdb set_shipping: Followed the demo code but it doesn't work
****** message to minivend-users from Tim Murphy <goombah@netcom.ca> ******
Hi all,
Thanks very much for all the help you've given me. It's enabled me to
figure out a lot on my own. But this problem has me stumped, since I
essentially cut & pasted the simple demo code, which is not working.
I have a 5 page sequence where a user creates an account. One of the
pages handles all the shipping info and
tries to save it to the userdb with the set_shipping function. One page
does the same for the billing, and so on. The user has already created a
new account (userdb new_account) before getting to any of these pages,
so there is a valid session and [data session logged_in] returns true.
Here is a snippet of the relevant code from the shipping page:
[set Save Shipping]
mv_doit=return (I also tried mv_todo=return, same result)
mv_nextpage=new_account_billing_4
[userdb function=set_shipping
nickname="[value s_nickname]"
shipping="s_nickname name address city state zip zip_us zip_intl country
phone_day mv_shipmode"
username="[data session username]"
]
[/set]
<FORM ACTION="[process-target]" METHOD=POST>
<TABLE>
(...text fields for name, address, etc.)
<TR><TD COLSPAN="2" ALIGN="center"><INPUT TYPE=submit NAME=mv_check
VALUE="Save Shipping"></TD></TR>
</TABLE>
</FORM>
Hitting the submit always takes me to an error page stating the problem
is: No action passed from form.
The catalog error file has: /cgi-bin/simple/process: Difficulty
interacting with browser: no action passed from form.
This is on a Linux 2.2.x development machine running 3.12 Rel. 3 which I
connect to using 127.0.0.1 with Netscape, so I don't think it's a case
of inter-network client weirdness (a.k.a AOL). All other pages seem
fine, but here I'm missing something. Is the "Save Shipping" set
statement not being accepted as the value for mv_check? It seems that
way to me.
Any and all help REALLY appreciated. I even typed in the examples on the
sample checkout page in case I had inadvertently screwed something up,
but nothing seems to help :^(.
thank you,
Tim
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list