1
limecity
customizing xoops error pages
  • 2004/6/15 15:33

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


where can i cuztomize this page?


This page cannot be displayed due to an internal error.
If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.
Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34



2
m0nty
Re: customizing xoops error pages
  • 2004/6/15 16:12

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


file: class/errorhandler.php

find this function around line 136

function renderErrors()

and you'll see the current error messages in the text..

don't change the functions, but u can change the text..

3
vinit
How to change the template of redirect msg
  • 2004/6/15 16:37

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Can you tell me how to change the template of error message or redirect message.

4
limecity
Re: customizing xoops error pages
  • 2004/6/15 16:39

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Is it possible to link it to a external HTML file?

or i have to type the HTML file in the error handler?

$output .= 'This page cannot be displayed due to an internal error.<br/><br/>';

Is there anyway i can preview the error pages?

5
vinit
Re: customizing xoops error pages
  • 2004/6/20 5:26

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


can anyone tell me how to change the theme or display setting of the errorpage,

i want to apply the theme used by application on the error page too....

Any ideas how to move forward.