Hello,
When I try download more 5 files (premium), I will get this error:
and I were set value = 3 for none user, but they still can download unlimited (I were set value = 0 before)
Note:
I were edit In includes/class.dbsession.php to avoid auto logout:
Thanks
When I try download more 5 files (premium), I will get this error:
Code:
Database Error: Failed connecting to the database with the supplied connection details. Please check the details are correct and your MySQL user has permissions to access this database. (host: localhost, user: xxxx_admin, pass: ********)
How can I fix it?The maximum files a non-logged in user can download in a 24 hour period. Set to 0 (zero) to disable.
Note:
I were edit In includes/class.dbsession.php to avoid auto logout:
Code:
$db->query('DELETE FROM `sessions` WHERE `updated_on` < :updated_on
Replace entire line with:
$db->query('DELETE FROM `sessions` WHERE `updated_on` < :updated_on', array('updated_on' => time() - (60*60*24*7)));