-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
userfrosting/account/404.php Error #155
Comments
Is this just a base install with one added user via the admin panel? I'll need some more information anything else you can think of or did. I know there is some places where the array [] is used in odd places (eg. functions and stuff) that may be a issue ill have to get around to checking that out sometime. |
Okay i fixed the 404 page error but wont be up til the 0.2.3 is pushed, to fix it for now add a 404.php into account with this for the code: <?php
header('Location: ../404.php'); As for why it keeps redirecting you to the 404.php page im not sure why until you can get back to me on any extra information. |
The fix seems to work as long as I can't get the error back again.
This time it works fine - no 404 and no redirect - |
Yeah there are couple of places in the code, probably left over from some previous version, that just seem to try and forward a user to a generalized However, now that I think about it, forwarding to a 404 page makes no sense. 404 is supposed to be "page not found". I would recommend that we replace those instances with adding an alert to the error stream, and then just taking the user back to either the referring page, or the home page. |
This should now be fixed (a3045b2). Further testing is recommended. |
HeY! I'm just playing around with this code. Made a new fresh install of UF 0.2.2 in Wamp 2.2 (PHP 5.3.9 - changed the modern notation arrays [ ] to array() in all pages needed to work succesfully).
I've noticed that in admin dashboard - being the admin account -, if I log out, then try to login with an existing user account, it gives me a redirect to [path]/userfrosting/account/404.php ,which obviously doesn't exist, and keeps returning until I close session (cache and http auth clearing doesn't work).
Can't find the exact error as console didn't give me any messages. Any clues? Thnx
The text was updated successfully, but these errors were encountered: