From time to time my server chokes and gives out a fancy drupal error message. However, I would like to change this to my own theme (at least the drupal logo) and message, or test to see if the backup servers are running and give the option to redirect.
Is there a module or theme page to change this?
example Drupal output:
- Unable to connect to database server
This either means that the username and password information in your settings.php file is incorrect or we can't contact the MySQL database server. This could mean your hosting provider's database server is down.
The MySQL error was: Too many connections.
Currently, the username is nice and the database server is localhost.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
Comments
Right click
When that happens, right click on the image and check the path. Then just replace that image in your file system.
--------------------------------------------------------------------------------------
"I'm really hoping someone can answer my eCommerce question"
that's fine for the logo,
that's fine for the logo, but I'd like to reformat the whole page to match my theme. I also don't like the idea of my username and mysql host being displayed.
anyway, thanks for your input!
custom error pages
I hear you. Custom error pages is the answer. I wish I had an exact answer but there are so manny diffrent situations, this is how you solve the problem, create default error page how you like it to look; set their locations in the Drupal Admin and in Apache maybe in an htaccess file, that should catch the error. I've got to do that on my install too. If you get to it before I do, post the solution since its not too high on my list.
Best.
--------------------------------------------------------------------------------------
"I'm really hoping someone can answer my eCommerce question"