![]() |
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:
|
All times are GMT. The time now is 08:07 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:
|