[FX.php List] "site down for maintenance" include?

Joel Shapiro jsfmp at earthlink.net
Wed Mar 7 12:55:19 MST 2007


Thanks Gjermund, but I'm not sure how you're pulling the results on  
that page.

-Joel


On Mar 7, 2007, at 1:22 PM, Gjermund Gusland Thorsen wrote:

> Like this page?
>
> http://file-making.com/gjermund/SystemStatus/
>
> ggt667
>
> On 3/7/07, Joel Shapiro <jsfmp at earthlink.net> wrote:
>> Thanks so much for the reply, Roger.
>>
>> In my case, I have some pages that don't start with a find (e.g.
>> login pages) and I'd want the message to display anyway, so checking
>> FMFind results wouldn't quite get me what I'm looking for.
>>
>> Best,
>> -Joel
>>
>>
>> On Mar 7, 2007, at 11:47 AM, Roger Price wrote:
>>
>> > Joel
>> >
>> > My new site uses a DB driven menu syatem which appears on every
>> > page. If the FmFind returns zero, then the user is redirected to a
>> > static error page . I realise that this is not quite what you are
>> > asking but it works for me. Other files that could be empty -
>> > events, news etc won't even display a heading if the found set is
>> > zero and the rest of the text fills the gap (the joys of CSS
>> > positioning). Where I expect a return (assuming the file is 'up')
>> > but get none, I redirect the user as per the menu system.
>> >
>> > I know that this is not an elegant solution but until I find a
>> > better way...
>> >
>> > HTH
>> >
>> > Roger
>> >
>> > ----- Original Message ----- From: "Joel Shapiro"
>> > <jsfmp at earthlink.net>
>> > To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
>> > Sent: Wednesday, March 07, 2007 5:35 PM
>> > Subject: [FX.php List] "site down for maintenance" include?
>> >
>> >
>> >> Hi all
>> >>
>> >> Has anybody implemented a procedure to automatically alert users
>> >> when  a site is down due to the FM files being closed on FMSA?
>> >>
>> >> I'm thinking an include on every page that could check if the DB
>> >> is available, and if not, present a friendly message to site-
>> >> visitors  and then a php exit;
>> >>
>> >> Would this work?  Is there a specific FX error to easily check  
>> for?
>> >>
>> >> This would be for when the DB needs to be closed for updating,  
>> etc.
>> >>
>> >> Thanks,
>> >> -Joel
>> >> _______________________________________________
>> >> FX.php_List mailing list
>> >> FX.php_List at mail.iviking.org
>> >> http://www.iviking.org/mailman/listinfo/fx.php_list
>> >
>> > _______________________________________________
>> > FX.php_List mailing list
>> > FX.php_List at mail.iviking.org
>> > http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list