-
Notifications
You must be signed in to change notification settings - Fork 51
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
After install, errors with laravel db functions #43
Comments
@rj1 Same here, did you get this resolved? The DB is not being read.
I tried setting config/mercurius to be a local model and I'm still getting the same issue. |
HI, i resolve the issue by change package version in composer.json to ^1.0.0 and all work. Maybe help |
How did you integrate routes into your project? @DonxDaniyar |
Actually that did it for me composer.json to ^1.0.0. You're awesome @DonxDaniyar THANK YOU! |
All is great but i have another issue that says 403 forbidden ib broadcast/auth and when click 1 user to chat all users in sidebar take active class. Can't resolve this |
Ya same here, I'm digging into that right now @DonxDaniyar |
Still hitting other issues but as for the broadcast/auth moving Mercurius.js to your public js file fixed that. In example I have a laravel project and I moved Mercurius.js to my own public/ directory that that solved that part. @DonxDaniyar |
Hello everyone! |
Hi!! Thanks for reply! In my case moving mercurius.js from vendor\launcher\mercurius\publishable\js to public\js and rename head script in master.blade.php doesn't work. When i trace network there are 2 requests broadcast/auth first send channel_name: private-mercurius.null and call error Symfony \ Component \ HttpKernel \ Exception \ AccessDeniedHttpException |
Cool project. I love it. Want to add some functionality, but i can't use it from install)). Hope to fix all problems. In my case conversation object have this structure |
I have the same issue also with the broadcasting:auth. I’m wondering if it’s because there’s a routes/channel in the Mercurius package but also one in my package? I’ve followed custom install and mixed the relative assets into my project. |
I spend a lot of time to solve this and i can. In my variant i install fresh laravel 5.7 then install pusher-php-server ^3.2. Finally install mercurius ^1.0.0-alpha.2 without update. Directly install. And it works!!! |
@DonxDaniyar
|
It looks like you don't uncommet BroadcastServiceProvider in config/broadcasting.php file. |
Yes I did uncomment. |
Write a subject for the ISSUE
Having laravel function issues after installation
Server environment
Description
After installation, I am getting popup errors and logs are showing me things like this in the various http calls:
"message": "Call to undefined method Illuminate\\Foundation\\Application::select()", "exception": "Symfony\\Component\\Debug\\Exception\\FatalThrowableError", "file": "/home/xxx/xxx/vendor/launcher/mercurius/src/Repositories/ConversationRepository.php",
Seems like a basic error but I'm not sure what I'm missing. Any suggestions?
Thanks!
The text was updated successfully, but these errors were encountered: