![]() |
Quote:
|
Quote:
|
Installed, but still get tons of mails?
|
What is "your base vBulletin directory"? Is that the /forums directory that it's referring to, or the one above it /public_html on the server?
|
Wherever you have your vBulletin files installed to, if all of the vBulletin files and folders are in the /forum/s directory than that is the correct one.
If you have the product installed and are getting tons of emails, check the permissions on your sqlite database. |
I'm having a similar issue as psychonikeo.
sqlitedberrors.sqlite has the right permissions. I echo'ed out: DIR .'/sqlitedberrors.sqlite' and it has the correct path. I took a look in the sqlitedberrors.sqlite file and nothing is changing. SQLite is properly installed because error_log is not spitting out any PHP errors for unrecognized commands. Is there any way to see what the result/error of a query is? Code:
$sqlitedb->queryExec("INSERT INTO dberrors (time, error, errorcode, ipaddress, script) VALUES (".TIMENOW.", '".sqlite_escape_string($this->error)."', '".$this->errno."', '$ipaddress', '$scriptpath')"); Could it be the version of SQLite I'm running? PDO Driver for SQLite 3.x enabled PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c 272374 2008-12-31 11:17:49Z sebastian $ SQLite Library 3.3.7 --- SQLite support enabled PECL Module version 2.0-dev $Id: sqlite.c 282740 2009-06-25 00:07:20Z scottmac $ SQLite Library 2.8.17 SQLite Encoding iso8859 |
I fixed the problem I was having and thought I would share it with others who run into it.
For whatever reason, I needed to put the sqlitedberrors.sqlite file in a subfolder of the forum directory that was chmod'ed to 666 (sqlitedberrors.sqlite also being chmod'ed to 666) e.g. /path/to/web/forum/sqlite/sqlitedberrors.sqlite instead of: /path/to/web/forum/sqlitedberrors.sqlite Then I modified the very first line of modified code (below the comments) that goes into /includes/class_core.php from: Code:
if ($sqlitedb = new SQLiteDatabase(DIR .'/sqlitedberrors.sqlite', 0666, $sqliteerror)) { Code:
if ($sqlitedb = new SQLiteDatabase(DIR .'/sqlite/sqlitedberrors.sqlite', 0666, $sqliteerror)) { Cheers, Drew |
sounds like a permission error on the host OS/PHP more than SQLite.
|
That could be the case, but I tried changing ownership of the file and giving 777 to it. Nothing seemed to allow an update the content of the sqlite file. It would always spit out a query error on the insert. I even tried writing completely separate sqlite code to test it out. It only worked when I stuck it in a folder that was also writable.
Anyway, it may be of help to someone else... |
Quote:
|
hm...different one here.
I got emails with the db-errors, but also the sqlite-file was modifed und data has been inserted. Why do I still get emails? Is there a way to check this? Thx |
What were the emails that you got?
|
just the normal error-message you get when an error occurs.
I'll go into more details here. I got the error-mails (board has another language though, but that wouldn't matter?) and then I checked the sqlite-file. It was last modified at the date of the db-error. then I downloaded it and checked if there was an entry. And I could find the ip of the last db-error. [edit] Just one IP, in the mails were more...[/edit] That's quite strange, the db file has been accessed, but the mails were still sent... hm.. Here's the message, but that's the standard-one, which I got 10 times. With the same timestamp. Just a little error, normally I get more. It only differs in ips and paths. Quote:
|
OK, strange enough: the last times I had db-errors there was only one mail.
And there always one entry in the sqlite-DB. |
I installed this Plug-In about 2 weeks ago without problems.
Now, that there seemed to occur some database error, the error mail says: To many Connections. But the page shows following: Quote:
Regards Florian |
Did you set the permissions correctrly?
|
I would say, yes:
Code:
-rw-rw-rw- 1 user psacln 5120 Jan 3 23:35 sqlitedberrors.sqlite |
Did you try 777?
|
I have a more simple decision: http://tracker.vbulletin.com/browse/VBIV-12105
Patch limits email sending to 1 per minute. |
Thanks for sharing!
|
Quote:
|
I am getting error, up on adding as mentioned in the instructions:
Code:
Fatal error: Class declarations may not be nested in /home/frm1/public_html/forum/includes/class_core.php on line 1103 |
Can't believe I've only found this now. This is really good.
|
Some users might be having problems (depending on their setup)
We'll look at updating the product in the near future. In the short run, you can move the sql file into its own folder and chmod it. You'll need to update the code manually to reflect this. |
Will This work in 4.x.x....??
|
There is a vB4 version https://vborg.vbsupport.ru/showthread.php?t=228146
|
All times are GMT. The time now is 01:05 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:
|