The Arcive of vBulletin Modifications Site. |
|
DB Error Notification Restrictor Details »»
|
|||||||||||||||||||||||||
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. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
thx, will try out that one, i am annoyed of that msgs as well ^^
|
|
#3
|
|||
|
|||
|
You can use PHP 4 too if the SQLite extension from Pecl is installed http://pecl.php.net/package/SQLite
|
|
#4
|
||||
|
||||
|
This is so useful. Thanks Scott!
|
|
#5
|
|||
|
|||
|
thanks
|
|
#6
|
||||
|
||||
|
Marco did one a few months ago which I use (file based).
|
|
#7
|
|||
|
|||
|
I didn't know, apologies to Marco for producing something so similar.
|
|
#8
|
||||
|
||||
|
no more spam war *YAY* xD
|
|
#9
|
|||
|
|||
|
I am running 4. How can I tell if SQLite extension from Pecl is installed on my server?
|
|
#10
|
|||
|
|||
|
Look in your phpinfo it should show it there.
|
![]() |
|
|