Installation Slim Application Error

I tried to manually install Xibo CMS on Ubuntu Linux, Nginx, PHP7.0 and I end with error 500.
After setting debug to True I get this error page:

Slim Application Error

The application could not run because of the following error:
Details
Type: RuntimeException
Message: Config Service called before setDependencies
File: /var/www/lib/Service/ConfigService.php
Line: 126
Trace

#0 /var/www/lib/Service/ConfigService.php(330): Xibo\Service\ConfigService->getStore()
#1 /var/www/lib/Service/ConfigService.php(357): Xibo\Service\ConfigService->getSettings()
#2 /var/www/lib/Helper/Translate.php(49): Xibo\Service\ConfigService->GetSetting(‘DEFAULT_LANGUAG…’)
#3 /var/www/web/install/index.php(117): Xibo\Helper\Translate::InitLocale(Object(Xibo\Service\ConfigService), ‘en_GB’)
#4 [internal function]: {closure}()
#5 /var/www/vendor/slim/slim/Slim/Slim.php(1208): call_user_func_array(Object(Closure), Array)
#6 /var/www/vendor/slim/slim/Slim/Slim.php(1354): Slim\Slim->applyHook(‘slim.before.dis…’)
#7 /var/www/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#8 /var/www/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#9 /var/www/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#10 /var/www/vendor/slim/slim/Slim/Slim.php(1300): Slim\Middleware\PrettyExceptions->call()
#11 /var/www/web/install/index.php(135): Slim\Slim->run()
#12 {main}

Could you help me?

+1
I have exactly same problem but on wamp on windows 10.
If i don’t put debug true i have no error 500 but fatal error: Call to undefined function __() on line 70

For a quick solution you can edit the following line :
[ PATH\lib\Helper\Translate.php 49 ]
$default = ‘en_GB’;

Please see the following bug report:

Thanks for your answer. Now i have xibo installed!

1 Like