XF 2.1 Xenforo install problem


Active member
Xenforo 2.1.6 fresh install. After setting administrator there is an error log:

Error: Class 'Swift_Validate' not found in src/XF/Validator/Email.php at line 27
XF\Validator\Email->isValid() in src/XF/App.php at line 2935
XF\App->isValid() in src/XF/Validator/Username.php at line 87
XF\Validator\Username->isValid() in src/XF/Entity/User.php at line 1062
XF\Entity\User->verifyUsername() in src/XF/Mvc/Entity/Entity.php at line 768
XF\Mvc\Entity\Entity->_verifyValueCustom() in src/XF/Mvc/Entity/Entity.php at line 613
XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 720
XF\Mvc\Entity\Entity->bulkSet() in src/XF/Install/Helper.php at line 371
XF\Install\Helper->createInitialUser() in src/XF/Install/Controller/Install.php at line 229
XF\Install\Controller\Install->actionStep3b() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
XF\App->run() in src/XF.php at line 391
XF::runApp() in install/index.php at line 14

Any help?


XenForo moderator
Staff member
A class not found error typically means there are missing files.

Try uploading the files again - or run the file health check to determine which specific ones are missing.