Hi,
I'm trying to install Waterhole in my local Laravel 10 / Filament project. I have double checked and think I followed all the installation steps. However, when I first login at the site login page, and then try to navigate to localhost/forum for the first time, I get following screen:
When I click 'create account', it creates the account in the waterhole user table and then the create account dialog persists but showing (and logging in) the next user in the laravel user table.
Am I doing something wrong or did I forget something during setup?
I would expect waterhole to create the user in the wh user table and then forward to the homepage of the forum. However, after logging out and back in, i am redirected to the forum homepage. But then, unfortunately I get all sorts of errors:
I can't save when creating a post ('something went wrong' message)
After trying to create a post and wanting to go back to the forum homepage I get: "The attribute [ignored_at] either does not exist or was not retrieved for model [Waterhole\Models\PostUser]."
7 Comments
Hi @Emmanuel71, thanks for the detailed report! I have just released 0.4.4 which should fix this issue. Can you please try it out and let me know how you go?
Hi,
Thanks for the quick reply. I upgraded to 0.4.4. I still get the 'create account' window when a user goes to /forum the first time. But maybe this is the expected behaviour? Auto create of the user would be awesome however.
After creating the user by clicking 'create user', I'm redirected to the forum homepage now. But still can't add posts: the form does not appear.
Hi,
I have some more clues considering my most recent post:
I can't access the /cp route because I don't have an admin user (403 error)
There is almost no data in the database, also not in the groups and channels tables.
Can I solve this manually or is there some procedure to follow that I might have missed?
Thanks
dumped all tables in the waterhole db and then re-ran
Must not have paid enough attention the first time when creating the admin user. All test work now so far. Notice though, I had "Model::shouldBeStrict()" on in my AppServiceProvider. It produces an error because some field was not found when I tried to add a post. Had to disable this and then it worked.
At first sight, this package seems awesome! I will continue my local testing and then maybe purchase a license!
Just finished testing most features. I think it's really great, but I also think I might have discovered a few remaining bugs.
Global search does not work for me and neither does creating channels. Both functions search in the 'main' database of the laravel app instead of in the waterhole db. I think it's just a matter of using the wrong db connection in the codebase, or maybe some setting I forgot to make?
global search throws:
creating a channel in the control panel throws:
Glad to hear you got it working @Emmanuel71! I've created an issue to track
Model::shouldBeStrict()
compatibility. I've also released 0.4.5 which should hopefully fix these issues with using the incorrect database connection. Please try it out and let me know if there any further issues that persist!Thanks for the quick reply, creating the issue, and the fixes! Everything seems to work well now. I really want to congratulate you on this tool. It looks beautiful and has all the basic functionality and more. Really nice work!
This will be the perfect tool for a new project I'm starting. Phase one is creating a forum and should be delivered by the end of February. I will purchase a license and if ok, I'd like to contribute for the translation to dutch.
I think I also noticed a few small issues with the html editor. I'll have a look at it again to make sure and will post in a new thread if necessary.