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

Internal Server Error: /plantshare/accounts/email/change/ #562

Open
jnga opened this issue Oct 30, 2013 · 3 comments
Open

Internal Server Error: /plantshare/accounts/email/change/ #562

jnga opened this issue Oct 30, 2013 · 3 comments
Assignees

Comments

@jnga
Copy link
Contributor

jnga commented Oct 30, 2013

When attempting to change one's email address in PlantShare in Production, "An error occurred" is returned.

This coincides with a stack trace message. According to it, it appears the necessary database tables may not yet be set up in Production.

@sidkoul
Copy link
Member

sidkoul commented Oct 30, 2013

Shall I run heroku run manage.py migrate in production now and see if this fixes the problem?

@jnga
Copy link
Contributor Author

jnga commented Oct 31, 2013

Added the app to INSTALLED_APPS, so you should be able to run dev/django syncdb to fix. The problem also occurs in Dev, so you can test the fix there first.

@jnga
Copy link
Contributor Author

jnga commented Oct 31, 2013

Just before running syncdb, please edit settings.py and temporarily uncomment the emailconfirmation line (132) in INSTALLED_APPS. After the email confirmation tables are created, comment that line out again. Otherwise, a NoMigrations error will occur, preventing South migrations from running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants