Sorry to disturb you but I have tried to get this code running for days now and started over three or four times. This code is from your Wappler 5.0/6.0 quickstart numbers 8,9,10,11,12,14,15 and 16. Also the email address and password are not true. I get the error OOP's ..... nothing in users table or role table. Can you point me in the right direction?
Thanks again I am stumped. the zip file has the database, register, regcode and register page. I do see the number in product_name. Debug tells me error 400 registration.zip (11.3 KB)
Joe
[Moderator note: changed the salutation to Brian, because he is the author of the playlist.]
Hello Ben (@hyperbites) the error I get is (an error has occurred). The files that are ziped are just the register.ejs, register.json and regcode.json files.
16:37:20.683 Use of the orientation sensor is deprecated. browser.js:178
16:39:15.917
XHRPOSThttp://localhost:3000/api/registration/resister[HTTP/1.1 401 Unauthorized 6ms]
this is the error I get, does not seem to be going to far down the code.
register.ejs register1 form is where the error is. these two files are in the zip
Joe
Joe
As i said Joe, the files are not really that much help, screenshots are much more useful.
The 401 errors probably originate from the hidden filed content check stage as shown below. Add some set values with output enabled to check they product_id, product_name and $_SESSION.regcode are set correctly.
Hello Brian (sorry for Ben) I have tried the code for registration over and over again and have not gotten it to work. Went back to the basic and the database would not update. So at this point I am giving up and going a different way. Thanks for all your help.
Joe