I get this:
Server Error
Access denied for user ' root'@'localhost' (using password: YES)
- Zend_Db_Adapter_Mysqli->_connect() in C:\xampp\htdocs\xenforo\library\Zend\Db\Adapter\Abstract.php at line 459
- Zend_Db_Adapter_Abstract->query() in C:\xampp\htdocs\xenforo\library\Zend\Db\Adapter\Abstract.php at line 808
- Zend_Db_Adapter_Abstract->fetchPairs() in C:\xampp\htdocs\xenforo\library\XenForo\Importer\vBulletin4.php at line 59
- XenForo_Importer_vBulletin4->configure() in C:\xampp\htdocs\xenforo\library\XenForo\ControllerAdmin\Import.php at line 56
- XenForo_ControllerAdmin_Import->actionConfig() in C:\xampp\htdocs\xenforo\library\XenForo\FrontController.php at line 310
- XenForo_FrontController->dispatch() in C:\xampp\htdocs\xenforo\library\XenForo\FrontController.php at line 132
- XenForo_FrontController->run() in C:\xampp\htdocs\xenforo\admin.php at line 13
I was getting exactly the same error.I get this:
Server Error
Access denied for user ' root'@'localhost' (using password: YES)
- Zend_Db_Adapter_Mysqli->_connect() in C:\xampp\htdocs\xenforo\library\Zend\Db\Adapter\Abstract.php at line 459
- Zend_Db_Adapter_Abstract->query() in C:\xampp\htdocs\xenforo\library\Zend\Db\Adapter\Abstract.php at line 808
- Zend_Db_Adapter_Abstract->fetchPairs() in C:\xampp\htdocs\xenforo\library\XenForo\Importer\vBulletin4.php at line 59
- XenForo_Importer_vBulletin4->configure() in C:\xampp\htdocs\xenforo\library\XenForo\ControllerAdmin\Import.php at line 56
- XenForo_ControllerAdmin_Import->actionConfig() in C:\xampp\htdocs\xenforo\library\XenForo\FrontController.php at line 310
- XenForo_FrontController->dispatch() in C:\xampp\htdocs\xenforo\library\XenForo\FrontController.php at line 132
- XenForo_FrontController->run() in C:\xampp\htdocs\xenforo\admin.php at line 13
Well its telling you the user or password are incorrect. Are you using v1.51 ?
I just manually removed the spaces.Since I dont wish to remove the spaces, Ive added a trim to the values to strip any spaces when the form is submitted.
I'd presume you are not using 1.51
Which is exactly why they are there, I think that prefilling is very irritating and off putting.once I deleted the spaces, the next time I tried to import using the vB4 importer all the fields were filled with $config, just like the 3.7 one.
Which is exactly why they are there, I think that prefilling is very irritating and off putting.
Thats what I meant by pre-filling
I believe its being done in the template, so the only way to over-ride it was to pre-assign spaces to the variables.
Annoying to have to do, and annoying to have to edit the code to trim the input (though tbh, that perhaps should be done anyway).
We use essential cookies to make this site work, and optional cookies to enhance your experience.