Custom Error Page ?!

hey peeps,   OK I am looking to have a custom error page that would be shown to visitors/members when any Error, database error or similar happens

 

anyone able to help me with how to do this ?

 

I notice a similar thing like what I want on Reddit !!  for example when hey have erros a page appears saying their are under heavy overload etc etc

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 13 Mar 2012

hey thanks for the idea...:)

so much to do....
Quote · 13 Mar 2012

I think a custom Error page for any site issues would be ACE !!

 

anyone help with this ?

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 13 Mar 2012

http://www.addedbytes.com/for-beginners/error-documents-for-beginners/

 

You can change the error messages from the web server with the information above.  I know some people prefer to have something other than the default error page for 404 errors and the like.  But Dolphin error messages are different, and I don't know how to control the display of database errors.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 13 Mar 2012

bump.

 

would like to know how I can make custom pages to replace dolphin errors ?

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 15 Mar 2012

. bump again ....

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 17 Mar 2012

did anyone ever manage to get anything like this working ?

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 14 May 2013

Forget  ^^^

 

This is what all DB errors now look like to my members / visitors when they occur (example link: http://www.socialmunch.com/videozone/playvideo/1323):-

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 14 May 2013

 If any one is wondering how I achieved this ...  I coded it to work like this in BxDolDb.php

You will see from the example link you can see it's a far better way of showing users there is a error without it seeming to much of a issue ... I personally think 'Database error' or 'Database query error' sounds bad to viewers and this if far more friendly :)

 

This is what all DB errors now look like to my members / visitors when they occur (example link: http://www.socialmunch.com/videozone/playvideo/1323):-

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 14 May 2013

INSTRUCTIONS HOW TO DO WHAT I DID ....

 

open: inc/classes/BxDolDb.php  and go to line 236

 

find:-

 

if (!$res)
            $this->error('Database query error', false, $query);
        return $res;

 


change to this below and edit red areas with your own details / information:-

 

if (!$res)
            $this->error('<p style="text-align: center; padding-top: 200px;"><a href="http://www.mysite.com"><img src="http://www.mysite.com/image/location.png" alt="Error"></a><br><br><font size="5" color="red">OHH SNAP! We have encountered an error -- Please click back in your browser and return to the previous page<br>OR <br>click logo to visit <font color="#6666cc">SITE<font color="#ff6600">NAME<font color="red"> home page ...', false, $query);
        return $res;

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 14 May 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.