![]() |
DB Error Notification Restrictor
While doing some dev work I was getting annoyed with my second SQL server disappearing and me getting 100 emails telling me so, now the problem was the database couldn't be connected to so I couldn't store the time the error occured.
I did think of a text file but I wanted emails for different types of errors so I decided to use SQLite, I also didn't want to have to deal with file locking and parsing. You will need PHP 5+ You will need to do the following: * Create a cache folder in your main vBulletin directory * Chmod cache folder to 666 * Upload blank index.html to the cache folder * Upload db_error_install.php to your install folder * Run db_error_install.php * Edit class_core.php as in the text file If there is something like this already, apologies. |
thx, will try out that one, i am annoyed of that msgs as well ^^
|
You can use PHP 4 too if the SQLite extension from Pecl is installed http://pecl.php.net/package/SQLite
|
This is so useful. Thanks Scott! :)
|
thanks :)
|
Marco did one a few months ago which I use (file based). :)
|
I didn't know, apologies to Marco for producing something so similar.
|
no more spam war *YAY* xD
|
I am running 4. How can I tell if SQLite extension from Pecl is installed on my server?
|
Look in your phpinfo it should show it there.
|
All times are GMT. The time now is 10:35 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|