SMF Support > SMF 2.0.x Support
Adding an html link to an error message
krystal:
--- Quote from: Kays on July 28, 2012, 09:01:07 AM ---Try adding that code anyways. It's like that in 2.1 to catch those specific errors. It should work in your case also. :)
--- End quote ---
Thanks! I'll go ahead and do so. :)
--- Quote ---BTW, if you want someone to look at a file. Please attach it rather than posting the code. ;)
--- End quote ---
Sorry! Didn't realise that was wrong. Have just edited my post.
Kays:
--- Quote ---Interestingly, the error I mentioned was caused by a "user" and not a guest. Someone who is logged in shouldn't even be able to reach that page,
--- End quote ---
Hmm, what was he doing there? That's the page which handles the actual registration. But that's where the error is coming from. It happens when there's an action but no button. When registration is disabled, the button is removed. So here there's an action (register) and no button hence the error.
--- Quote ---Sorry! Didn't realise that was wrong. Have just edited my post.
--- End quote ---
It makes it easier for both of us. When it's attached we can open it in a text editor which makes it easier to view. Plus, some of the longer files tend to exceed the post limit and get cut off and can create a mess on your side trying to edit or correct it. :)
krystal:
--- Quote from: Kays on July 28, 2012, 09:48:05 AM ---
--- Quote ---Interestingly, the error I mentioned was caused by a "user" and not a guest. Someone who is logged in shouldn't even be able to reach that page,
--- End quote ---
Hmm, what was he doing there? That's the page which handles the actual registration. But that's where the error is coming from. It happens when there's an action but no button. When registration is disabled, the button is removed. So here there's an action (register) and no button hence the error.
--- End quote ---
I have no idea why they were on that page or how they reached it. ???
Previously, when I clicked on the register page linked through the error log I also created the same undefined error. Happy to say that after performing the Subs.php edit you suggested, it is no longer happening.
Have marked this topic as solved. Thanks again! :)
Kays:
Cool, you're welcome. :)
Navigation
[0] Message Index
[*] Previous page
Go to full version