Keep Gettin Error on Fresh install

Permalink
So Im trying to fresh install to a brand new domain to setup a website and Its giving me this error please help
Unable to install database: Declaration of Concrete\Core\Attribute\PendingType::getList() should be compatible with Concrete\Core\Attribute\Type::getList($akCategoryHandle = false).
Trace:
#0 [internal function]: Concrete\Core\Package\StartingPointPackage->install_database() #1 /customers/b/b/3/trillumonopoly.com/httpd.www/concrete/controllers/install.php(275): call_user_func(Array) #2 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'install_databas...') #3 /customers/b/b/3/trillumonopoly.com/httpd.www/concrete/src/Controller/AbstractController.php(156): call_user_func_array(Array, Array) #4 /customers/b/b/3/trillumonopoly.com/httpd.www/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #5 /customers/b/b/3/trillumonopoly.com/httpd.www/concrete/src/Routing/Router.php(115): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #6 /customers/b/b/3/trillumonopoly.com/httpd.www/concrete/src/Support/Facade/Facade.php(119): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #7 /customers/b/b/3/trillumonopoly.com/httpd.www/concrete/src/Application/Application.php(392): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #8 /customers/b/b/3/trillumonopoly.com/httpd.www/concrete/bootstrap/start.php(256): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #9 /customers/b/b/3/trillumonopoly.com/httpd.www/concrete/dispatcher.php(36): require('/customers/b/b/...') #10 /customers/b/b/3/trillumonopoly.com/httpd.www/index.php(2): require('/customers/b/b/...') #11 {main}

 
johandalabacka replied on at Permalink Reply
johandalabacka
This is really an error in the code: a subclass method is redeclared with another signature than in it's parent class and if you have E_STRICT error-reporting on will throw an exception. Try turning it off in your php.ini file:

error_reporting = E_ALL & ~E_STRICT

Means show all errors but not strict ones. The recommendations in php.ini (5.6) is the following).

; error_reporting
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
fivepints replied on at Permalink Reply
fivepints
hi,

where will i find the php.ini file?

Pat
johandalabacka replied on at Permalink Reply
johandalabacka
Hi

If you have access to shell you can run this:

$ php --ini

and the second line (there is more) shows there it is located:
Configuration File (php.ini) Path: /opt/local/etc/php56
Loaded Configuration File: /opt/local/etc/php56/php.ini

If you can't edit this file (because of hosted system) you could change the index.php file in concrete5 from
<?php
require('concrete/dispatcher.php');

to
<?php
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
require('concrete/dispatcher.php');


Good luck!