[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Safe: Username does not exist
****** message to minivend-users from "Hans-Joachim Leidinger" <hans-joachim.leidinger@home.gelsen-net.de> ******
Hello Chris,
the sample login from MV311-Demo is
------snip from new_account.html------
[if session logged_in]
[then]
.
.
.
[/then]
[else]
.
[set Login]
mv_arg0=function
mv_subroutine=userdb
[/set]
.
[if session failure]
<BR>Sorry pech!<BR>
[data session failure]
[/if]
.
[/else][/if]
------snip------
and the sample login from MV312-demo is
------snip from new_account.html------
[if session logged_in]
[then]
[tag touch userdb][/tag]
[set Change]
[tag flag write]userdb[/tag]
[userdb change_pass]
[/set]
.
.
.
[/then]
[else]
.
[set NewAccount]
[userdb new_account]
[/set]
.
[if session failure]
[data session failure]
[/if]
.
.
.
[/else][/if]
------snip------
In the basketpage, there are different code between mv311 and mv312!
I.e.
------snip from basket.html (MV311)-------
[if session logged_in]
[then]
.
.
[set Log out]
mv_todo=return
mv_nextpage=ord/basket
mv_subroutine=userdb
mv_arg0=LITERAL(logout)
mv_username=[value mv_username]
[/set]
[/then]
[else]
.
.
[set Login]
mv_nextpage=ord/basket
mv_arg0=LITERAL(login)
mv_subroutine=userdb
[/set]
<P>
[if session failure]
[data session failure]
[/if]
.
.
[/else][/if]
-----snip-------------
and from mv312 basket.html
------snip----
[if session logged_in]
[then]
[userdb function=get_cart_names hide=1]
[set [L]Save cart[/L]]
mv_todo=return
mv_nextpage=ord/basket
[userdb function=set_cart nickname="[value c_nickname]"]
[/set]
[set [L]Recall cart[/L]]
mv_todo=return
mv_nextpage=ord/basket
[userdb function=get_cart nickname="[value c_nickname]"]
[/set]
[set [L]DELETE cart[/L]]
mv_todo=return
mv_nextpage=ord/basket
[userdb function=delete_cart nickname="[value c_nickname]"]
[/set]
.
.
.
[set Log out]
mv_todo=return
mv_nextpage=ord/basket
[userdb logout]
[/set]
[/then]
[/if]
------snip----------------
Make sure, the login function runs in the demoshop well and you are able
to find out what the difference between the demoshop and your shop is.
Sorry for my bad english! I am still learning english and hope it helps
you!
Joachim
> ****** message to minivend-users from Chris
=?iso-8859-1?Q?M=FCller?= <cmueller@polinet.ch> ******
>
> Joachim,
>
> could you be a little more specific on what you did to make it work?
>
> I have the same problem.
> Chris
-
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