dj-rubber

Aug 11th, 2018 12:40 PM

Hello, I have a problem when installing Ninja script on my webhosting. Everything goes fine but when i hit finish a lot of erros jump up! The following error it gives me back:

(1/1) FatalThrowableError Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in Connection.php (line 64) at Composer\Autoload\includeFile('/home/vhosts/sourcez.eu/subdomains/memes/httpdocs/application/vendor/composer/../doctrine/dbal/lib/Doctrine/DBAL/Connection.php') in ClassLoader.php (line 322) at ClassLoader->loadClass('Doctrine\DBAL\Connection') at spl_autoload_call('Doctrine\DBAL\Connection') in Connection.php (line 897) at Connection->getDoctrineConnection() in DoctrineSupportServiceProvider.php (line 54) at DoctrineSupportServiceProvider->addDoctrineTypes(object(MySqlConnection)) in DoctrineSupportServiceProvider.php (line 34) at DoctrineSupportServiceProvider->Larapack\DoctrineSupport{closure}(object(MySqlConnection), 'databasename', '', array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'databasename', 'username' => 'username', 'password' => 'password', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'engine' => null, 'name' => 'mysql')) in ConnectionFactory.php (line 272) at ConnectionFactory->createConnection('mysql', object(Closure), 'databasename', '', array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'databasename', 'username' => 'username', 'password' => 'password', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'engine' => null, 'name' => 'mysql')) in ConnectionFactory.php (line 77) at ConnectionFactory->createSingleConnection(array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'databasename', 'username' => 'username', 'password' => 'password', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'engine' => null, 'name' => 'mysql')) in ConnectionFactory.php (line 51) at ConnectionFactory->make(array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'databasename', 'username' => 'username', 'password' => 'password', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'engine' => null, 'name' => 'mysql'), 'mysql') in DatabaseManager.php (line 119) at DatabaseManager->makeConnection('mysql') in DatabaseManager.php (line 74) at DatabaseManager->connection() in Schema.php (line 33) at Schema::getFacadeAccessor() in Facade.php (line 128) at Facade::getFacadeRoot() in Facade.php (line 215) at Facade::__callStatic('hasTable', array('data_types')) in VoyagerServiceProvider.php (line 283) at VoyagerServiceProvider->registerGates() in VoyagerServiceProvider.php (line 108) at VoyagerServiceProvider->boot(object(Router), object(Dispatcher)) at call_user_func_array(array(object(VoyagerServiceProvider), 'boot'), array(object(Router), object(Dispatcher))) in BoundMethod.php (line 29) at BoundMethod::Illuminate\Container{closure}() in BoundMethod.php (line 87) at BoundMethod::callBoundMethod(object(Application), array(object(VoyagerServiceProvider), 'boot'), object(Closure)) in BoundMethod.php (line 31) at BoundMethod::call(object(Application), array(object(VoyagerServiceProvider), 'boot'), array(), null) in Container.php (line 549) at Container->call(array(object(VoyagerServiceProvider), 'boot')) in Application.php (line 792) at Application->bootProvider(object(VoyagerServiceProvider)) in Application.php (line 775) at Application->Illuminate\Foundation{closure}(object(VoyagerServiceProvider), 20) at array_walk(array(object(EventServiceProvider), object(LogServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(NotificationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ViewServiceProvider), object(ServiceProvider), object(ImageServiceProvider), object(HooksServiceProvider), object(VoyagerHooksServiceProvider), object(VoyagerEventServiceProvider), object(DoctrineSupportServiceProvider), object(VoyagerServiceProvider), object(AppServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(ArtisanServiceProvider), object(MigrationServiceProvider), object(ComposerServiceProvider), object(ConsoleSupportServiceProvider), object(VoyagerThemesServiceProvider), object(HashServiceProvider)), object(Closure)) in Application.php (line 776) at Application->boot() in BootProviders.php (line 17) at BootProviders->bootstrap(object(Application)) in Application.php (line 213) at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php (line 162) at Kernel->bootstrap() in Kernel.php (line 146) at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php (line 116) at Kernel->handle(object(Request)) in index.php (line 53)

dj-rubber

Aug 12th, 2018 08:29 AM

nobody can help?

dj-rubber

Aug 14th, 2018 05:36 PM

this forum/website can better be closed no support at all. Waste of money and time

mark

Aug 15th, 2018 09:24 AM

Have you tried upgrading your PHP version to the latest version of 7.2.x?


Best Regards,
Mark Topper (Maintainer of Laravel Voyager)
Mail: [email protected]
I am available for freelance work - hire me