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

Cannot add new user: Server Error 500 #162

Closed
tbleiker opened this issue Sep 2, 2014 · 4 comments
Closed

Cannot add new user: Server Error 500 #162

tbleiker opened this issue Sep 2, 2014 · 4 comments
Assignees
Labels
Milestone

Comments

@tbleiker
Copy link

tbleiker commented Sep 2, 2014

When I try to create a new user in de CP, I get the following error:

cat src/logs/exception.log
[2014-09-02 20-41-59] PDOException: SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 1 in /path_to_pufferpanel/panel/admin/pages/account/ajax/new/create.php:51  @  https://mc.tbleiker.ch/admin/pages/account/ajax/new/create.php  @@  exception-2014-09-02-20-41-59-b517e35cd3c2bee2b304c0b0b0ceaa88.html 

This happens on a fresh install with 0.7.2-beta.

@DaneEveritt
Copy link
Contributor

Thanks, will investigate this tonight, or tomorrow if I don't get time tonight.

@DaneEveritt DaneEveritt added this to the 0.7.3 Beta milestone Sep 3, 2014
@DaneEveritt DaneEveritt self-assigned this Sep 3, 2014
@DaneEveritt DaneEveritt removed this from the 0.7.3 Beta milestone Sep 6, 2014
@DaneEveritt
Copy link
Contributor

Just looked at this, it isn't a bug as far as I can see. Did you do a fresh install or simply overwrite the files without modifying the database?

@RunasSudo
Copy link

Can confirm this bug. Fixed by replacing the offending line from panel/admin/pages/account/ajax/new/create.php with the one from 0.7.3 (panel/admin/account/ajax/new/create.php)

INSERT INTO users VALUES(NULL, NULL, :user, :email, :pass, :language, :time, 'owner', NULL, NULL, NULL, 0, 0, 0)
becomes:
INSERT INTO users VALUES(NULL, NULL, :user, :email, :pass, :language, :time, 'owner', NULL, NULL, 0, 0, 0, 0, NULL)

@DaneEveritt
Copy link
Contributor

Ok, good to hear, marking as resolved in 0.7.3 beta.

@DaneEveritt DaneEveritt added this to the 0.7.3 Beta milestone Sep 7, 2014
@DaneEveritt DaneEveritt added bug and removed declined labels Sep 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants