Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting below error when submits registration form #3

Closed
khowal opened this issue Dec 17, 2017 · 3 comments
Closed

Getting below error when submits registration form #3

khowal opened this issue Dec 17, 2017 · 3 comments

Comments

@khowal
Copy link

khowal commented Dec 17, 2017

"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'field list' (SQL: insert into users (name, email, password, updated_at, created_at ▶"

@sebastienheyd
Copy link
Owner

I need more details, which version of Laravel and Boilerplate, stacktrace, list of routes, ...

Normally, there is no field name but two fields, a field last_name and a field first_name. Look in the tables generated by migrate. Do you see these two fields in the register form ?

In addition, it seems that the executed action is not the right one, it looks like the original register action of Laravel. In your routes you must have a route called register.post pointing to Sebastienheyd\Boilerplate\Controllers\Auth\RegisterController@register , do you have cache ?

@khowal
Copy link
Author

khowal commented Dec 17, 2017

I am using Laravel Framework 5.5.25 . Please accept my apologies for the trouble. I have an idea on which I am working. After researching I found laravel should be perfect for the project because of its packages. To get the basic skeleton of the application. I needed this module. I know basic php and generic programming. I learnt to implement modules available on github. Your's is first. Let me try drop what make:auth has generated.

@khowal
Copy link
Author

khowal commented Dec 17, 2017

Thanks ! Removal of make:auth resolved the issue.

@khowal khowal closed this as completed Dec 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants