Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] 500 error on get lost password?



Quoting Geoff (minivend@hq.com.au):
> ******    message to minivend-users from "Geoff" <minivend@hq.com.au>     ******
> 
> Everything else works fine, but when I try to get lost password from simple
> shop I get a 500 error. Any ideas?
> 
> The actionmap in catalog.cfg for get_password.html points to the right place
> $CGI->{mv_nextpage} = $CGI->{mv_search_page} = 'action/get_password';
> 
> It appears this error is also in the demo at minivend.com

Yes, it is a fault in the demo. I don't think I have maintained that
page for a while.  Searching in the userdb is a tricky thing. 8-)

I have fixed it for 4.04; the new pages are attached.

-- 
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>

Friends don't let friends use Outlook. -- Bob Blaylock
[set page_title]Log in[/set] __LOGOBAR__ __MENUBAR__ __LEFTSIDE__
Log in
[if session failure]

[data session failure]

[/if] If you have an account with us, please enter your user name and password. (test/test for testing)

Username
Password   
  Log me in automatically

Lost your customer ID?
Just complete enough to ensure one match.
First Name
Last Name
Email
Zip Code
 

__RIGHTSIDE__ __MENUBOTTOM__ __COPYRIGHT__ [set page_title]Trying to retrieve....[/set] __LOGOBAR__ __MENUBAR__ __LEFTSIDE__

Trying to retrieve....

[perl] $CGI->{mv_todo} = 'search'; $Config->{NoSearch} = ''; [/perl] [update process] [search-region] [set get_id_matches][search-list][if-item-data userdb email][item-code][/if-item-data][/search-list][/set] [no-match]

Sorry, no match for that. Try again?

[include forms/get_id] [/no-match] [/search-region] [perl] $Config->{NoSearch} = 'userdb'; [/perl] [if value mv_search_match_count > 1]

That one generated more than one match. [page login]Try again[/page] with more info?

[elsif scratch get_id_matches] [set name=id_ok][/set] [set name=id_ok interpolate=1][loop arg="[scratch get_id_matches]"][email to="[loop-data userdb email]" subject="Your login information" from="__COMPANY__ password minder <__ORDERS_TO__>" reply="__ORDERS_TO__"] Hello! You requested that your ID and password be sent to your email address of record. The information is: Username: [loop-code] Password: [loop-data userdb password] You can log in at: [area login] Please contact us if we can be of service, and thank you for doing business with us. [/email][/loop][/set] [if !scratch id_ok] Something went wrong when mailing, perhaps a typo in your email address? Please either [page new_account]create a new account[/page] or [page feedback]contact us.[/page]. [else]

ID sent by fastest available email method!

[/else] [/if]

[if session failure] [data session failure] [/if]

UserName:

Password:




Create a new account

[/elsif] [elsif value mv_search_match_count] We appear to have found you, but you didn't leave an email address!

Please either [page new_account]create a new account[/page] or [page feedback]contact us.[/page]. [/elsif] [/if] __RIGHTSIDE__ __MENUBOTTOM__ __COPYRIGHT__


Search for: Match: Format: Sort by: