Internal Server Error: profile.firstname / profile.lastname / profile.birthday
-
wrote on Jul 14, 2023, 7:46 AM last edited by randyjc Jul 14, 2023, 7:51 AM
I've reproduced it over here:
https://files.cloudbasis.nl/yAhu8/TImiNulo31.gif -
@imc67 is yours a fresh install too?
How can I reproduce this?
- Install HumHub
- Login as admin
- Visit
/admin/user-profile
and observe crash?
-
wrote on Jul 14, 2023, 11:35 AM last edited by
Thanks! Will do a fresh install. Just from my understanding, what exactly was causing this?
Again, thanks!
-
No issue for me, I was just exploring and testing to decide if I bring it to production.
-
Thanks! Will do a fresh install. Just from my understanding, what exactly was causing this?
Again, thanks!
@randyjc https://git.cloudron.io/cloudron/humhub-app/-/commit/aec1ea94b82b8ba26ab6504aefecfe0198478a23 was the fix. My understanding
$yii migrate/up --includeModuleMigrations=1
is supposed to run the db migrations of modules but it doesn't. I haven't investigated why. I instead went with whatever the web installer is doing.In HumHub, profile fields etc are implemented as "modules". The user module has the first name, last name, bday fields etc. Since the module db migration never ran, those db fields were never created.
-
wrote on Jul 14, 2023, 4:13 PM last edited by randyjc Jul 14, 2023, 4:13 PM
Confirmed fix btw I’ll close the upstream ticket.