-
AuthorPosts
-
August 30, 2007 at 12:26 am #122407
I’ve done this before and had to do a reinstall but now I have come too far along to lose my database now. Any ideas?
I’m getting:
This site is temporarily unavailable.
Please notify the System Administrator
Could not connect to the database serverAugust 30, 2007 at 1:55 am #228376Ok, new question. What file do I look in to find the “offline” / “online” option? I’m thinking that I’m stuck in offline mode, which I admit I put the site in offline before my last log on.
kashxo Friendkashxo
- Join date:
- April 2007
- Posts:
- 605
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 11
- Thanked:
- 78 times in 40 posts
August 30, 2007 at 3:21 am #228381This seems like some kinds of database problem. Have you install any components or modules before it down??
August 30, 2007 at 3:38 am #228383No, not when it was working last. One of the last things I did was make the site offline which now it seems to be stuck in. I did, at first, get an administrator login but it kept telling me that my login information was incorrect and would go to the
” This site is temporarily unavailable.
Please notify the System Administrator
Could not connect to the database server”The database is there so I’m guessing that something got changed on site-side. This is becoming a real drag.
August 30, 2007 at 4:39 am #228387Fixed the problem. For those of you that have the same problem and everything else fails then try this:
Create a new database (without deleting the current database) and then reinstall (JA Larix w/Virtuemart in my case) the package from JA using the newly created database information. By the way… make sure that the database user is the same for both, reduces steps this way. This database is only temporary so don’t worry. After this installation is complete, verify that you are able to login using the new database, not that it really matters but it’s nice to see it working again. Log back out and now edit the configuration.php file in your site’s root directory and change $mosConfig_db = ‘temp_db’;
(‘temp_db’ is to be replaced with the name of your original database)
Tada!… now go back to your administration login page and login with that database’s credentials and all should be as it was before the hiccup. If you can’t login then you likely need to reset your password.
kashxo Friendkashxo
- Join date:
- April 2007
- Posts:
- 605
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 11
- Thanked:
- 78 times in 40 posts
August 30, 2007 at 4:44 am #228391Congratz, you’ve learned something after this, haven’t you? 😀
August 30, 2007 at 7:12 pm #228439Yep!… hope this helps others avoid the frustration.
ErikThorsen FriendErikThorsen
- Join date:
- December 2005
- Posts:
- 1098
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 22
- Thanked:
- 10 times in 1 posts
August 31, 2007 at 6:24 am #228482Thanks for sharing!
-
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by ErikThorsen 17 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum