MyBB Community Forums

Full Version: [F] DB_SQLITE error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

I'm getting a DB_SQLITE2 error:

Quote:Fatal error: Class 'DB_SQLite2' not found in /var/www/forums/install/index.php on line 1221

My board is hosted at http://bantam.kwokinator.com/forums/ and uses the SQLite engine. I can't install the board because of this error.

Help?

Thanks,
deltatux
This is actually a bug.

In install/index.php, find:
                'class' => 'DB_SQLite',
Replace with:
                'class' => 'DB_SQLite2',

In inc/db_sqlite2.php, find:
class DB_SQLite
Replace with:
class DB_SQLite2

Please give that whirl Smile.

Thanks
This was already fixed in the 1.4.3 branch and trunk using a slightly different fix
(2008-10-27, 11:35 PM)DennisTT Wrote: [ -> ]This is actually a bug.

In install/index.php, find:
                'class' => 'DB_SQLite',
Replace with:
                'class' => 'DB_SQLite2',

In inc/db_sqlite2.php, find:
class DB_SQLite
Replace with:
class DB_SQLite2

Please give that whirl Smile.

Thanks

lol, i didn't even realized that it was a bug, i thought it was a configuration error lol.

I'll give it a try once I get a chance to get a SSH connection to the server.

Thanks,
deltatux
Doesn't work. I upgraded to 1.4.3 and tried the fix, but still spits errors.

deltatux
Somewhere you have a space between "DB_SQLite" and "2" -- there is supposed to be no space. "DB_SQLite2"

I think this is with the 1st modification in my above post.
ok, i fixed the "DB_SQLite 2" typo in install/index.php.

db_sqlite2.php doesn't have any typo:

Quote:class DB_SQLite2

However, the error still remains.

thanks,
deltatux
Can you paste the exact error or a screenshot of it? If you are still getting the exact same error (same line number and file), then chances are you did not properly upload the modified file to your server.
The error's the same as the one shown above.

Here it is again:
[Image: attachment.php?aid=11510]

The DB_SQLite2 typo has been fixed, but still get the errors in the header.


deltatux
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
Looks like this didn't get fixed completely. It should be properly fixed in the SVN now.