• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] improve database connection reliability

Started by dtiberio,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dtiberioTopic starter

every time you make a call to the database, you should:

1. check if the database is still connected
2. if not, reconnect to the database
3. make the db request

if you do this, the database will be far more reliable and you won't have problems with dropped connections. you should do it on every SQL query.

I am having issues on my site where it says there are no videos and then when I reload I see videos, which I am pretty sure is because of the database connection.
  •  

 

Similar topics (7)

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 45985

The problem of video viewing PHPVibe 5.0

Started by Nayn


Replies: 25
Views: 74373

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 56173

when slecting to unpublish music mp3 - next page says unpublished video ?

Started by spirog


Replies: 2
Views: 5019

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 26344

Video that I've uploaded needs to have that value in admin to upload

Started by spirog


Replies: 4
Views: 9496

video,playlist,images, etc. (frontend) select all deselect all reselect all

Started by spirog


Replies: 3
Views: 9175