I'm still pretty new but when creating a fresh app and installing the simple members module, the login page would return the following error.
Here is the login function in Account.php
Since it looks like the modules are nested it seemed like $this->view might not understand the right location to look for login.php?
The following change to match the other endpoints seems to work but, if for some reason I did want just view is that possible?
I don't know enough yet myself to say if there is a bug in the module or the engine, but I suppose one requires an update to fix the module for others in the future. Thank you for your time!
Members module login page issue
3 years ago
3 years ago
#1
3 years ago
#2
Hi Genesys,
Thanks for pointing out this bug. It is due to some recent refactoring in Trongate.php which I have made DC aware of and will be attended to in the next day or two.
In the meantime, open the 'Engine' folder and swap out the 'view()' method in 'Trongate.php' with this, to get it working again:
Thanks for pointing out this bug. It is due to some recent refactoring in Trongate.php which I have made DC aware of and will be attended to in the next day or two.
In the meantime, open the 'Engine' folder and swap out the 'view()' method in 'Trongate.php' with this, to get it working again:
3 years ago
#3
UPDATE
Here is a refactored version of the View() method which seems to be working fine with the Members Module - please test and let me know if you find any problems:
Here is a refactored version of the View() method which seems to be working fine with the Members Module - please test and let me know if you find any problems:
3 years ago
#4
The fix has been added to GitHub - enjoy!
3 years ago
#5
Thank you for your help and the quick updates!