1
-Lonestar-
Unable to connect to database...(phpMyAdmin access ok)(resolved)
  • 2006/5/8 13:52

  • -Lonestar-

  • Just popping in

  • Posts: 22

  • Since: 2005/10/15


I have access to the database through phpMyAdmin using MySQL. All of a sudden I have no access to either of my XOOPS sites. I get this error:

This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.

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

I am able to edit the database with the tool, but unable to view the sites.

Any suggestions?

2
mcleines
Re: Unable to connect to database...(phpMyAdmin access ok)
  • 2006/5/8 13:56

  • mcleines

  • Not too shy to talk

  • Posts: 108

  • Since: 2004/10/7


Check the values for database access in your mainfile.php ...

There must be a mistake inside that file.

3
-Lonestar-
Re: Unable to connect to database...(phpMyAdmin access ok)
  • 2006/5/8 14:25

  • -Lonestar-

  • Just popping in

  • Posts: 22

  • Since: 2005/10/15


But how would this happen all of a sudden, I haven't updated or edited either of the two websites. It was working at 5am and now its not working.

It really doesn't make any sense whatsoever.

**Update**

I have checked all the settings in the mainfile.php; everything is in order. I even have it set to persistent connection.

I'm completely boggled.

4
-Lonestar-
Re: Unable to connect to database...(phpMyAdmin access ok)
  • 2006/5/8 15:46

  • -Lonestar-

  • Just popping in

  • Posts: 22

  • Since: 2005/10/15


bump...

Any other suggestions, there has got to be some XOOPS experts around here somewhere.

Please, these two sites are very crucial to business.

Thanks in advance.

**Update**

Must have been a hosting/server issue because all is well right now. It's weird that I could view phpMyAdmin and edit the forum posts and everything, but the site wasn't viewable. My hosting company must have been doing maintenence or something.

Login

Who's Online

449 user(s) are online (385 user(s) are browsing Support Forums)


Members: 0


Guests: 449


more...

Donat-O-Meter

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

Latest GitHub Commits