Forum Moderators: coopster
I am looking for pointers to how I can redirect any and all errors to a single page, that can then be emailed to our support people, and redirect the user to the correct page, or provided a link so the users can click and go to the home page.
Can anybody point in the direction of articles or keywords I could use for searching.
When you create your custom error page, have it so that when the custom error page comes up, you use PHP to send an email to support with the URL originally requested. Look under mail functions [us2.php.net] in the PHP manual.
Of course, if you want support to then contact the customer, that person would need to be logged in and you would need the e-mail to include the customer ID.
Does that help at all or is it too vague?