Closed ComputingMrEllis closed 5 years ago
make sure to install the fxp Plugin
composer global require "fxp/composer-asset-plugin
Great thanks that sorted it shame the install guide command does not work.
I now get the following error: Yii Migration Tool (based on Yii v2.0.25)
Error: Failed to instantiate component or class "db".
I have check the db and login and config files
of course they work, but it seems you did not setup your config properly. as the exception says.
ensure the config file has a db component, in the luya kickstarter its env-local-db.php which is merge ind env-local.php config
Thanks typo in the file looks OK now
What steps will reproduce the problem?
composer create-project luyadev/luya-kickstarter:^1.0
What is the expected result?
No errors
What do you get instead? (A Screenshot can help us a lot!)
Installing luyadev/luya-kickstarter (1.0.14)
Installing luyadev/luya-kickstarter (1.0.14): Loading from cache Created project in /var/www/html/luya-kickstarter Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Potential causes:
LUYA Check ouput (run this script and post the result: luyacheck.php)
1: [in_array('mod_rewrite', apache_get_modules())] true 2: [ini_get('short_open_tag')] '' 3: [ini_get('error_reporting')] '22527' 4: [phpversion()] '7.3.4-2' 5: [php_ini_loaded_file()] '/etc/php/7.3/apache2/php.ini' 6: [php_sapi_name()] 'apache2handler' 7: [isset($_SERVER['SERVER_SOFTWARE']) ? $_SERVER['SERVER_SOFTWARE'] : unknown] 'Apache/2.4.38 (Raspbian)'
Additional infos