1
twitaman
Unable to Connect to Database -- databasefactory.php line 34
  • 2005/3/13 19:53

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


My site seemed to be working fine, but this morning I got this message on the page when I went to visit my site.

Quote:

Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34


Can someone help me please.

Thank you.

Here's my site www.obswriter.com

2
tjnemez
Re: Unable to Connect to Database -- databasefactory.php line 34
  • 2005/3/13 19:57

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


i think this is a hosting issue.

3
twitaman
Re: Unable to Connect to Database -- databasefactory.php line 34
  • 2005/3/13 20:03

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


You may be right, because when I entered my vDeck administration area (vDeck is like cpanel) and I tried to connect to phpmyadmin I got this message:

Quote:
Lost connection to MySQL server during query


It just sort of timed-out or something.

4
tjnemez
Re: Unable to Connect to Database -- databasefactory.php line 34
  • 2005/3/13 20:26

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


yes, timed out, that what i think.

5
angelieves1
Re: Unable to Connect to Database -- databasefactory.php line 34
  • 2005/4/6 19:39

  • angelieves1

  • Just popping in

  • Posts: 1

  • Since: 2005/3/31


Hello everybody :
I installed the system in my pc and it was working.Im geting the same error after moving my website from my
winXPPRO pc with EASY PHP to my WIN 2000 SERVER.Ifixed the path in the mainfile.php but the database path is localhost. Also i need to know what else need to changed when i move it to its final destination a Sun Cobalt BOX
linux,
Any help will be greatly aprecciated....

6
Kumonryu_Kid
Re: Unable to Connect to Database -- databasefactory.php line 34

I've had exactly the same error - Install XOOPS, configure, works fine, switch off overnight and when I came back to it the next day this showed up.
So I reinstalled and tried again and everything was fine until I switched off. Now I know I'm just messing around at the moment with a WAMP environment (EasyPHP on WindowsXP home) to provide a demo to a client, but this was getting annoying.

The problem turned out the be the ZoneAlarm firewall I was using on my PC. Even though every Apache/MySQL/PHP process was allowed to do whatever it wanted, unmolested, it would not physically connect until I had turned Zone Alarm right off.

Don't know if this is of use to you, but it might suggest some more options for you to try.

Best Regards,
Gareth

Login

Who's Online

158 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 158


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits