00webhost.com [known issues]

00webhost doesn't seem to like that Family Connections uses PDO with persistent connections.

You may get the following or similar error:

SQLSTATE[42000] [1203] User xxxx already has more than 'max_user_connections' active connections

To fix this, simply remove the persistent option from the PDO connection.

inc/Database.php

Before

 96         // Connect
 97         try
 98         {
 99             $this->dbh = new PDO(
100                 'mysql:host='.$this->host.';dbname='.$this->db,
101                 $this->user,
102                 $this->pass,
103                 array(PDO::ATTR_PERSISTENT => true)
104             );
105         }

After

 96         // Connect
 97         try
 98         {
 99             $this->dbh = new PDO(
100                 'mysql:host='.$this->host.';dbname='.$this->db,
101                 $this->user,
102                 $this->pass 
103             );
104         }