MyBB Community Forums

Full Version: Got error on update 1.01
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After upload files, I got this error:

Fatal error: Class 'databaseEngine' not found in /home/xxxxxxx/public_html/xxxxx/inc/init.php on line 40

line 40 : $db = new databaseEngine;

How can I fix it !... Sad
Which version were you previously running.

You need to have been running 1.00 before this update for it to work. Were you running PR2?
Oh, my bad, I was using PR2 ! . . . Big Grin
also have this problem,, but i was running 1.00??
If you are having this problem, then I can guarantee you were not running 1.00 Gold but were running PR2.

In Gold, the class name for db_mysql.php was changed to databaseEngine.
but im 100% sure i was.. i even had that last update installed.. the 1 before this 1.. and i even have the files left.. is there anyway i can check without installing it again?.. i downloaded it around 30/11 and 1/12 i think..
Edit: if i were running the old 1.. is there any way i can upgrade to 1.01 without losing anything??...
If you open up index.php, there should be a comment block at the top. If you are running 1.00, then it will look like this:

Code:
/**
* MyBB 1.0
* Copyright � 2005 MyBulletinBoard Group, All Rights Reserved
*
* Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*
* $Id: index.php 903 2005-11-18 13:07:07Z chris $
*/

With the $Id line having revision 903, and last edited by me on the 18th November. Is that what yours looks like?

Chris
Chris Boulton Wrote:If you open up index.php, there should be a comment block at the top. If you are running 1.00, then it will look like this:

Code:
/**
* MyBB 1.0
* Copyright � 2005 MyBulletinBoard Group, All Rights Reserved
*
* Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*
* $Id: index.php 903 2005-11-18 13:07:07Z chris $
*/

With the $Id line having revision 903, and last edited by me on the 18th November. Is that what yours looks like?

Chris
almost?..

Code:
<?php
/**
* MyBB 1.0
* Copyright � 2005 MyBulletinBoard Group, All Rights Reserved
*
* Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*
* $Id: index.php 632 2005-08-26 19:51:55Z dennis $
*/

also.. checked when the folders was made.. november 30.. so that was the date i downloaded..
orka Wrote:
Chris Boulton Wrote:If you open up index.php, there should be a comment block at the top. If you are running 1.00, then it will look like this:

Code:
/**
* MyBB 1.0
* Copyright � 2005 MyBulletinBoard Group, All Rights Reserved
*
* Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*
* $Id: index.php 903 2005-11-18 13:07:07Z chris $
*/

With the $Id line having revision 903, and last edited by me on the 18th November. Is that what yours looks like?

Chris
almost?..

Code:
<?php
/**
* MyBB 1.0
* Copyright � 2005 MyBulletinBoard Group, All Rights Reserved
*
* Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*
* $Id: index.php 632 2005-08-26 19:51:55Z dennis $
*/

define("KILL_GLOBALS", 1);

You were running PR2, I just checked the index.php file for PR2 (I haven't deleted the download zip yet), and that is PR2's comment. Also, MyBB 1.0 was released December 9, 2005. Smile
hmm... okay then.. i give up.. can some1 tell me how to fix it then?.. becuse i dont wanna start all over again..