coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: KekimaN on February 17, 2007, 09:32:28 PM

Title: fatal error message
Post by: KekimaN on February 17, 2007, 09:32:28 PM
hi

due to too many visits my page is sometimes down, because my host set an maximum for database accesses.

i like to inform my visitors with my own text. so i need to know where i can change the "Fatal error" message?
Title: Re: fatal error message
Post by: Nibbler on February 17, 2007, 09:57:10 PM
Probably in include/init.inc.php
Title: Re: fatal error message
Post by: KekimaN on February 17, 2007, 10:25:46 PM
thank u for ur fast answer nibbler, but in the init.inc.php i did not find this error message.

on my page just appears: "Fatal error"
Title: Re: fatal error message
Post by: Nibbler on February 17, 2007, 10:32:27 PM
Might be in include/functions.inc.php


        // Simple output if theme file is not loaded
        if(!function_exists('pageheader')){
                echo 'Fatal error :<br />'.$msg_text;
                exit;
        }


Better to move to a host that can support your traffic though.
Title: Re: fatal error message
Post by: KekimaN on February 17, 2007, 11:14:21 PM
thanks!

thats what i searched for!!

-solved-