Mouth
Well-known member
- Affected version
- 2.1.0
At step 3 of https://xenforo.com/xf2-docs/manual/install-upgrade/
Visiting /install/ -> "server is currently unable to handle this request. HTTP ERROR 500"
library/config.php:31 ....
Had to comment out this line to allow /install/ to work.
XF1->XF2 upgrades should probably ignore 'require' and/or 'XenForo_Application' calls?
Visiting /install/ -> "server is currently unable to handle this request. HTTP ERROR 500"
Code:
2018/12/17 11:11:45 [error] 52205#52205: *252806 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'XenForo_Application' not found in library/config.php:31
Stack trace:
#0 src/XF/App.php(169): require()
#1 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#2 src/XF/App.php(580): XF\Container->offsetGet('config')
#3 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#4 src/XF/App.php(2328): XF\Container->offsetGet('db')
#5 src/XF/Error.php(45): XF\App->db()
#6 src/XF/Install/App.php(48): XF\Error->hasPendingUpgrade()
#7 src/XF/Container.php(159): XF\Install\App->XF\Install\{closure}(Object(XF\Error), Object(XF\Container))
#8 src/XF/Container.php(28): XF\Container->XF\{closure}(Object(XF\Container))
#9 src/XF/App.php(2513): XF\Container->offsetGet('error')
#10 ...PHP message: PHP Fatal error: Uncaught Error: Class 'XenForo_Application' not found in library/config.php:31
Stack trace:
#0 src/XF/App.php(169): require()
#1 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#2 src/XF/App.php(580): XF\Container->offsetGet('config')
#3 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#4 src/XF/App.php(2328): XF\Container->offsetGet('db')
#5 src/XF/Error.php(45): XF\App->db()
#6 src/XF/Install/App.php(48): XF\Error->hasPendingUpgrade()
#7 src/XF/Container.php(159): XF\Install\App->XF\Install\{closure}(Object(XF\Error), Object(XF\Container))
#8 src/XF/Container.php(28): XF\Container->XF\{closure}(Object(XF\Container))
#9 src/XF/App.php(
library/config.php:31 ....
Code:
require(XenForo_Application::getInstance()->getConfigDir().'/SV/RedisCache/Installer.php');
Had to comment out this line to allow /install/ to work.
XF1->XF2 upgrades should probably ignore 'require' and/or 'XenForo_Application' calls?