1
EyeKeeper
Database Connection lost
  • 2003/10/10 16:46

  • EyeKeeper

  • Quite a regular

  • Posts: 209

  • Since: 2002/6/11


Hi folks.
I'm using the 2.05 version and occasionally I'm getting the following screen

Quote:

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.

Warning [PHP]: mysql_pconnect() [function.mysql-pconnect]: Link to server lost, unable to reconnect in file class/database/mysqldatabase.php line 72
Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34
.

Can anyone help me further?
Thanks,

RedEye

2
dawilby
Re: Database Connection lost
  • 2003/10/10 18:43

  • dawilby

  • Module Developer

  • Posts: 31

  • Since: 2002/1/3 0


RedEye:

It seems that your using persistant connections to your database. You should test if you need this feature...look at the line 65 below, you can find it in the "mainfile.php"

define('XOOPS_DB_PCONNECT', 0);

Set it to 0 maybe it will solve your probs...

3
EyeKeeper
Re: Database Connection lost
  • 2003/10/10 20:09

  • EyeKeeper

  • Quite a regular

  • Posts: 209

  • Since: 2002/6/11


Thanks..
I'll try this and after I'll comment

4
EyeKeeper
Re: Database Connection lost
  • 2003/10/10 20:15

  • EyeKeeper

  • Quite a regular

  • Posts: 209

  • Since: 2002/6/11


Seemed to solve my problem...
Thanks

Login

Who's Online

142 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

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

Latest GitHub Commits