MDN

Go Back   Mambo - Forums Closed for posting > Mambo 4.5.5 - Stable > Administration Questions

Reply
 
Thread Tools Search this Thread Display Modes
Old May 17th, 2005, 14:29   #1
supern00b
 
Join Date: Sep 2004
Posts: 178
supern00b is on a distinguished road
Unhappy Site temp unavailable message is no good. grrr.

I'd like to know how to make a minor change... (and oh what a great feature this would be in future editions...)

I'd like the ability to keep clients from seeing this when the mysql has gone down:

This site is temporarily unavailable.
Please notify the System Administrator

Instead, I'd like it to auto-forward them to another URL of my choosing.

Where would I make this edit?
At the LEAST I'd want to provide a link to click on rather than the message above.

Can anyone help?
__________________
-
Mambo and Joomla! can co-exist just like all the other CMS' do.
It's simply up to the community members to behave like adults.
supern00b is offline   Reply With Quote
Old May 17th, 2005, 14:41   #2
brianteeman
 
brianteeman's Avatar
 
Join Date: Oct 2003
Location: Leeds, UK
Posts: 706
brianteeman is on a distinguished road
Default

you define the system error message on the first page fo the global configuration. I guess you could put a http refresh in then to redirect
brianteeman is offline   Reply With Quote
Old May 18th, 2005, 09:41   #3
supern00b
 
Join Date: Sep 2004
Posts: 178
supern00b is on a distinguished road
Default

Nobody's tried this, eh?
__________________
-
Mambo and Joomla! can co-exist just like all the other CMS' do.
It's simply up to the community members to behave like adults.
supern00b is offline   Reply With Quote
Old May 18th, 2005, 11:08   #4
tinatoth
 
Join Date: May 2005
Posts: 139
tinatoth is on a distinguished road
Default

that happened to me when my host had technical difficulties. when i saw it i went straight into my Cpanel, and saw that my database was not there! it appeared to be delelted!
but it came back about a minute later... and so did the site.
tinatoth is offline   Reply With Quote
Old May 18th, 2005, 11:54   #5
Markku
 
Join Date: Oct 2003
Location: Helsinki
Posts: 1,535
Markku is on a distinguished road
Default

Quick way is to edit the message in configuration.php

Original:
$mosConfig_error_message = 'This site is temporarily unavailable.
<br />
Please notify the System Administrator';

Changed:
$mosConfig_error_message = 'This site is temporarily unavailable.
<br />
Please notify the System Administrator or
<A HREF="http://www.myothersite.com>click here</A>';
Markku is offline   Reply With Quote
Old May 18th, 2005, 19:57   #6
supern00b
 
Join Date: Sep 2004
Posts: 178
supern00b is on a distinguished road
Default

Yes, but the goal is that they won't see it at all. That it will redirect to the mirrored site on a diff server.
__________________
-
Mambo and Joomla! can co-exist just like all the other CMS' do.
It's simply up to the community members to behave like adults.
supern00b is offline   Reply With Quote
Old May 18th, 2005, 23:17   #7
Markku
 
Join Date: Oct 2003
Location: Helsinki
Posts: 1,535
Markku is on a distinguished road
Default

OK, I thought that at least you wanted to provide a link to click.

But like brianteeman mentioned, try to put a http refresh in then to redirect.
Markku is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone know of a good Adobe Photoshop message board out there? True Colors General Discussion 1 April 30th, 2006 09:45
site in progress -> thoughts? intel352 Sites using Mambo 11 September 16th, 2004 15:27
A Good template for a health care supplier’s site ? Gersh_ny General Questions 0 August 10th, 2004 15:00
Where can I find a good banner to use for my sports related site? True Colors General Questions 4 July 31st, 2004 12:50
is Mambo good for a regional-specific site? shimmie* General Questions 2 June 25th, 2004 04:55


All times are GMT -7. The time now is 07:39.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.