Fork me on GitHub

Error Page doesn't show the Redirect URL  Bottom

  • This is one of those things that has bugged me for a long time but that's not such a big deal as to provoke me to do anything....until now.

    I've noticed the error page never seems to shows the full path of the requested page. Regardless of the requested page, you always get something like, "We're sorry. The page you requested, http://www.yoursite.com, doesn't exist on " Your Site Name "

    This isn't just the case on my site but is something I see every time I get that error page on a PostNuke site.

    While it's nice to reflect back to the user the mistake they made (especially since they've been redirected) this feature is useless when it doesn't work correctly.


    Sluggger
  • Sadly this seems to be just one of those things that gives open source a bad name. Partially executed ideas that are never completed but that keep getting recycled even though they never worked in the first place.

    Better to have a field in the settings to make it easier to config postnuke to redirect (postnuke-related) errors to an external error page if someone so desires.

    Slugger
  • Hi Slugger.. I read your post.. sorry I didn't reply. I have looked into the error.php file.. there are 2 problems with it.. one) the referer URL as you mentioned (even with register_globals enabled [w/referer]).. and two) no notice is being sent to the admin to notify them of the broken link or where it's located to repair (as per my experience).

    I'll take a swing at it.. but I can't seem to get a redirect_url to stick. I'll keep looking..

    Thanks Slugger.. sorry for the delay.
    -IR

    PS: Mark has moved the error reporting for .8 Link .. I'm guessing the rest may be resolved at that time as well..

    PS: do you get your mail with the referring link?
  • Hi IR,

    No need to apologize. Didn't mean it that way.

    My point is that error.php would (sans htaccess) only come into play for internally generated (postnuke) errors. In that case, it'd be nice to show the original error (before redirect); however, that would still leave the traditional error page (or custom page) for errors to directories/files outside of Postnuke.

    With that in mind, I was thinking it'd be nice to have the option to send all errors of like kind to the same page(s). As it is now written we are kind of stuck and stuck with something that doesn't work very well.

    I've got my club's site set not to send me email. I'll change my settings and see what comes.

    Thanks IR and, again, don't take my comment or follow-up as a demand for response. It wasn't meant that way.

    Slugger
  • ..Hey Slugger.
    I was going to suggest "modularized" error handling..but, just re-visited the link above and realized it has been done.. that should open up a lot more options.

    -IR
  • 0 users

This list is based on users active over the last 60 minutes.