luyadev / luya

LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.
https://luya.io
MIT License
812 stars 207 forks source link

Composer error whilst installing #1955

Closed ComputingMrEllis closed 5 years ago

ComputingMrEllis commented 5 years ago

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)

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

Q A
LUYA Version current
PHP Version 7.3
Platform Apache .
Operating system Rasbian.
nadar commented 5 years ago

make sure to install the fxp Plugin

composer global require "fxp/composer-asset-plugin

ComputingMrEllis commented 5 years ago

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

nadar commented 5 years ago

of course they work, but it seems you did not setup your config properly. as the exception says.

nadar commented 5 years ago

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

ComputingMrEllis commented 5 years ago

Thanks typo in the file looks OK now