Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] 'Database Configuration' db_.php Error
#1
After I enter my MySQL settings on the Vbulletin 'Database Configuration' page I get the following error.

"Warning [2] require_once(/*/mybb/inc/db_.php) [function.require-once]: failed to open stream: No such file or directory - Line: 77 - File: convert/index.php PHP 5.2.6 (Linux)"

The * represents my actual directory but it looks like it can't find inc/db_mysql.php.
[Image: vqApN3l.gif]
#2
Your running MyBB 1.4 right?

Did you accidentally override your config.php?
#3
Yeah, I'm running 1.4 and the config.php is still there on the test install I'm using. Smile

Not sure what the deal is.
[Image: vqApN3l.gif]
#4
Can't reproduce here. If you open up your config.php is everything correct?
#5
Yeah, everything is ok in my config.php. I get past the welcome and the license agreement, select 'vbulletin 3.6 or 3.7', enter my vbulletin database settings and then I get the error.

It's weird because it looks like the script has no problems determining what $config['database']['type'] is before it gets to that point to make sure that I have MyBB installed and is the right version (lines 26-37).
[Image: vqApN3l.gif]
#6
Can you PM me FTP details, and the information you used to put in the Database Configuration?
#7
Do you have register globals turned on?

Edit: Yeh, looks like you do. That's causing the problem. I could work around it, but register_global's won't even be allowed in the next version of PHP, not to mention how big of a security risk it is to turn it on
#8
This bug has been fixed in the latest version of the MyBB Merge System.

Please note the latest code is not live on the site or for download. An update for the MyBB Merge System will be released which contains this fix.

With regards,
The MyBB Group


Forum Jump:


Users browsing this thread: 1 Guest(s)