Error installing Xenforo

https://forum.carboncrmp.ga/ - Website

ParseError: syntax error, unexpected ‘Fn’ (T_FN), expecting identifier (T_STRING) or ‘{’ in src/XF/Template/Compiler.php at line 8

  1. Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
  2. Composer\Autoload\ClassLoader->loadClass()
  3. spl_autoload_call() in src/XF/App.php at line 1291
  4. XF\App->XF{closure}() in src/XF/Container.php at line 28
  5. XF\Container->offsetGet() in src/XF/App.php at line 2969
  6. XF\App->templateCompiler() in src/XF/Entity/Template.php at line 180
  7. XF\Entity\Template->validateTemplateText() in src/XF/Entity/Template.php at line 166
  8. XF\Entity\Template->verifyTemplate() in src/XF/Mvc/Entity/Entity.php at line 768
  9. XF\Mvc\Entity\Entity->_verifyValueCustom() in src/XF/Mvc/Entity/Entity.php at line 613
  10. XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 548
  11. XF\Mvc\Entity\Entity->__set() in src/XF/Service/Advertising/Writer.php at line 45
  12. XF\Service\Advertising\Writer->__construct() in src/XF/Container.php at line 275
  13. XF\Container->createObject() in src/XF/App.php at line 1563
  14. XF\App->XF{closure}() in src/XF/Container.php at line 228
  15. XF\Container->create() in src/XF/App.php at line 2769
  16. XF\App->service() in src/XF/Repository/Advertising.php at line 59
  17. XF\Repository\Advertising->writeAdsTemplate() in src/XF/Entity/AdvertisingPosition.php at line 165
  18. XF\Entity\AdvertisingPosition->XF\Entity{closure}() in src/XF.php at line 290
  19. XF::triggerRunOnce() in src/XF/Job/AddOnData.php at line 112
  20. XF\Job\AddOnData->run() in src/XF/Job/Atomic.php at line 38
  21. XF\Job\Atomic->run() in src/XF/Job/Manager.php at line 253
  22. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 195
  23. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 146
  24. XF\Job\Manager->runUnique() in src/XF/Install/Controller/AbstractController.php at line 24
  25. XF\Install\Controller\AbstractController->manualJobRunner() in src/XF/Install/Controller/Install.php at line 198
  26. XF\Install\Controller\Install->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 321
  27. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 244
  28. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
  29. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
  30. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
  31. XF\App->run() in src/XF.php at line 390
  32. XF::runApp() in install/index.php at line 14

I wanted to install a forum on the Xenforo engine, after filling in the data “about the database” and installing the config file, this error appears! (engine official version 2.1.0) The database is being installed. I have already tried everything, changed the PHP versions all without success. Please help me!

Does it need innodb

Yes I need it

Then use premium. Innodb is disabled on free hosting.

3 Likes

I just read the forum below and saw that some had xenforo installed

U can’t host it here

Then you have try installing older versions which do not need Innodb

ParseError means there is an error in the PHP code preventing it from being executed as actual PHP code. This is caused by an error in the code, not the environment (unless your software is not compatible with the PHP version being used).

And not to accuse you of anything, but I would like to remind you that software piracy is illegal and definitely not allowed here. Please make sure that you have purchased the $160 license before installing it on your free account.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.