-
Notifications
You must be signed in to change notification settings - Fork 94
Can not signup with user, and manual create user doesn't work #1
Comments
Can u please give me the url for your site?
|
Hi, I am trying on my local, but I can show you some screen shots, as I don't have any errors pop, and I did no change after staging git clone from you web Sent from my iPhone
|
I understand, you can login to your console and u = User.find_by(email: '[email protected]') Look foru.links.map(&:active) That should work 2016-04-04 5:09 GMT-04:00 YuFei Zhu [email protected]:
Boris Barroso |
Hi: I tried this, and it seems my user isn’t activated, even the activate = true I had User.first finding the following content: #<User id: 1, email: "[email protected]", first_name: nil, last_name: nil, phone: nil, mobile: nil, website: nil, description: nil, encrypted_password: "$2a$10$aD1RmjSnSf/0AFa7mZ0bSOOD25rnpreU.T0wWkoYqXt...", password_salt: "$2a$10$aD1RmjSnSf/0AFa7mZ0bSO", confirmation_token: "hjAuKZqBQelc6taxVyXzJoYGqCXNy6Dm8ae0XAv8kcc", confirmation_sent_at: nil, confirmed_at: "2016-04-02 17:40:14", reset_password_token: nil, reset_password_sent_at: nil, reseted_password_at: nil, sign_in_count: 0, last_sign_in_at: nil, change_default_password: false, address: nil, active: true, auth_token: nil, rol: nil, created_at: "2016-04-02 17:38:49", updated_at: "2016-04-02 17:40:18", old_emails: []> Best RegardsYuFei (Phil) Zhu (Msc) Adv Computer Science - Agent Technology 10-11 Cel (DK): +45 25551500 [email protected] mailto:[email protected] uk.linkedin.com/in/philzhu/ http://uk.linkedin.com/in/philzhu/
|
do you have installed mailcatcher, please do so gem install mailcatcher and Remember that you must change your /etc/hosts file to enable with somthing 127.0.0.1 app.localhost.bom 2016-04-04 9:32 GMT-04:00 YuFei Zhu [email protected]:
Boris Barroso |
Hi: I have, and I’ve added the routings to the host as well, I looked at rake:routes and the urls with registration and signup are available. But but when I try: http://bonsai.localhost.bom/sign_up http://bonsai.localhost.bom/sign_up I got: The requested URL /registrations/new was not found on this server. Best RegardsYuFei (Phil) Zhu (Msc) Adv Computer Science - Agent Technology 10-11 Cel (DK): +45 25551500 [email protected] mailto:[email protected] uk.linkedin.com/in/philzhu/ http://uk.linkedin.com/in/philzhu/
|
Have you configured your /etc/hosts file, maybe in OSX this is in another 127.0.0.1 yuefui.localhost.bom Then the uerls should work, also add the port to the url, 2016-04-05 7:31 GMT-04:00 YuFei Zhu [email protected]:
Boris Barroso |
Hi: I finally found what went wrong, what I did:
So I guess it is because of an registration allowed = false somewhere in the code :) Best RegardsYuFei (Phil) Zhu (Msc) Adv Computer Science - Agent Technology 10-11 Cel (DK): +45 25551500 [email protected] mailto:[email protected] uk.linkedin.com/in/philzhu/ http://uk.linkedin.com/in/philzhu/
|
Hi Again: I’ve now added allow_registraton: true to the secret.yml and it now works :) One more question, where can I setup the multi-language things, so I don’t have to google translate my page every time. I know threes a language setting in the initilizaer, but it doesn’t work. :( anywhere straight in the config ruby file I can do the setup? Best RegardsYuFei (Phil) Zhu (Msc) Adv Computer Science - Agent Technology 10-11 Cel (DK): +45 25551500 [email protected] mailto:[email protected] uk.linkedin.com/in/philzhu/ http://uk.linkedin.com/in/philzhu/
|
You are right, I had the |
Hi:
I've finally got bonsalERP open on my website, but when I got to the sign_up page, it auto goes into the sessions login page, and even I have create a new user in consol, with active true, it still never show the signup page, nor I can login using my created user account
The text was updated successfully, but these errors were encountered: