Replies: 5 comments 7 replies
-
Hey Tom. I'm a little unsure about this one, I'm not familiar with Spark. Memberbox doesn't create a route named |
Beta Was this translation helpful? Give feedback.
-
Oooooo, I tried this and it DID forward me to the CP login!
So what do you think would be the fix? |
Beta Was this translation helpful? Give feedback.
-
But this doesn't work:
Or this:
^ This is weird because why would statamic.cp.login work but not statamic.login? |
Beta Was this translation helpful? Give feedback.
-
Ha, got it! Just kept trying stuff lol. So this works GREAT with Spark. Now that I know FOR sure what to do I can have a paid membership site's backend done in under an hour! Fix was in /app/Http/Middleware/Authenticate.php. Had to change it to:
Thank you for your help with this and ALL your AWESOME addons! |
Beta Was this translation helpful? Give feedback.
-
Just writing a little comment on here because this is exactly what I'm looking to do (paid member site) but I'm a very new dev so at least I know it can be done with Statamic, MemberBox and Spark! If anyone has a useful guide on implementation... I'd be happy to buy you a coffee! : ) Thanks again... great work guys! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Your addon's are the best! This is so easy to get going with Laravel Spark! There is only one thing I'm having an issue with.
If I'm NOT logged in, and I try to visit /billing I get a "Route login not defined" error.
I found John's awesome article about integrating Spark with Statamic and he ran in to this same issue post here.
None of the things he did to fix this works for me so it has to be something with Memberbox. I don't know why though because both Statamic, and Memberbox just have a login route of /login.
One last thing is John also talked about adding something to the web.php route file to temp fix this and that did not work for me either. discord post here
Any insight on this issue would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions