Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] DB_SQLITE error
#1
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


Attached Files Thumbnail(s)
   
#2
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
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#3
This was already fixed in the 1.4.3 branch and trunk using a slightly different fix
#4
(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


Attached Files Thumbnail(s)
   
#5
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.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#6
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
#7
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.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#8
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
#9
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
#10
Looks like this didn't get fixed completely. It should be properly fixed in the SVN now.


Forum Jump:


Users browsing this thread: 1 Guest(s)