Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 04:44:01 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: "Backup" page when connection to DB fails?  (Read 742 times)
Heradk

Offline Offline

Posts: 8


« on: July 07, 2008, 03:32:13 PM »

Hi there.
First of all - Thank you all for a GREAT product - It's a really awsome tool ! =)

Now, my problem is that I am running my WB CMS system on a WebHoster whom often have problems with the connection to the DataBase I am using. So my question is:

Is there any way for me to make a backup site that autotatically get's displayed when the connection to the Database is not present ?

Thank you =)
Hera
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« Reply #1 on: July 07, 2008, 08:51:42 PM »

You would need to change the index.php in WebsiteBaker to implement a secondary database connection as fallback.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Heradk

Offline Offline

Posts: 8


« Reply #2 on: July 09, 2008, 12:04:16 PM »

Cant I just refere to a static, none CMS based HTML page in case the DB connection is not available ?
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« Reply #3 on: July 09, 2008, 01:22:36 PM »

In general it should not be neccessary to have this kind of workaround". I would put pressure on the provider to give you a stable MySQL connection. This might be impossible though, if you are not paying for your webspace.

Have a look into the forum, somebody created a caching system. Maybe you can use this one ...

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!