upgrade error

i have just attempted the upgrade through the upgrade center and this error has come up



Warning: require(/home/mightyg3/public_html/core/db/.php) [function.require]: failed to open stream: No such file or directory in /home/mightyg3/public_html/init.php on line 34



Fatal error: require() [function.require]: Failed opening required ‘/home/mightyg3/public_html/core/db/.php’ (include_path=‘/home/mightyg3/public_html/lib/pear/.:/usr/lib/php:/usr/local/lib/php’) in /home/mightyg3/public_html/init.php on line 34



this is in the backend and frontend, i canot access anything, can anyone help?

The required database file name is not included in the path



Open config.local.php and ensure you have a value set in the following variable (near line 45)



$config[‘db_type’] = ‘mysqli’;



value should be either mysql or mysqli

Looks like you edited init.php and zapped a “require” function argument. It should probably read something like require(“core/fn.db.php”).

figured out what i did wrong… didnt put public_html in the ftp directions…