UBBCentral

Taking to long to connect to DB

Posted By: AstroCat

Taking to long to connect to DB - 11/24/17 05:34 PM

How long is it suppose to take to connect to the DB? I have been waiting now 10 minutes.
Posted By: Ruben

Re: Taking to long to connect to DB - 11/24/17 06:08 PM

Not sure what you mean,at least what was happening during the 10 minute wait.
But when you open the forum in the browser.
It should connect to the database in less than seconds.
If it has issues with the database connection.
It will display a generic error instead of the forum immediately .

What were you doing when you waited10 minutes?

Could be some html includes you have added that don't work causing to page to take forever to load and not a database issue..
Posted By: AstroCat

Re: Taking to long to connect to DB - 11/24/17 09:14 PM

Well I had php set to 7.0 I went back in and changed it to 5.6 and it immediately took off...I don't know if that had anything to do with it or not.
Posted By: Gizmo

Re: Taking to long to connect to DB - 11/24/17 09:23 PM

UBB.threads does not currently run under PHP7, the recommended PHP version would be PHP5.6, or at bare minimum PHP5.3.
Posted By: Ruben

Re: Taking to long to connect to DB - 11/25/17 08:16 PM

There you go.
We can't help much if you don't provide all the details.

It would have helped if you told us you changed to php7 up front.
© 2017 UBB.threads PHP Forum Software Community