Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer can't install #3

Closed
drew1two opened this issue Jan 19, 2020 · 7 comments
Closed

Composer can't install #3

drew1two opened this issue Jan 19, 2020 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@drew1two
Copy link

What steps will reproduce the problem?

Run composer require luyadev/luya-themes:dev-master

What is the expected result?

Download / install of package

What do you get instead? (A Screenshot can help us a lot!)

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for luyadev/luya-themes dev-master -> satisfiable by luyadev/luya-themes[dev-master].
- luyadev/luya-themes dev-master requires luyadev/luya-module-cms ^3.0|dev-master -> satisfiable by luyadev/luya-module-cms[dev-master] but these conflict with your requirements or minimum-stability.

LUYA Check ouput (run this script and post the result: luyacheck.php)

php luyacheck.php
PHP Fatal error: Uncaught Error: Call to undefined function apache_get_modules()

I run nginx php-fpm

Additional infos

Q A
LUYA Version
PHP Version 7.2
Platform LEMP.
Operating system CENTOS 6.4
@nadar nadar added the bug Something isn't working label Jan 19, 2020
@nadar
Copy link
Contributor

nadar commented Jan 19, 2020

please try with "minimum-stability":"dev" in your composer.json

@drew1two
Copy link
Author

with :-
"luyadev/luya-themes" : "dev"
the result is now:-

Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package luyadev/luya-themes dev exists as luyadev/luya-themes[dev-master, v1.0, v1.0.1, v1.1] but these are rejected by your constraint.

So at least it's not complaining about luyadev/luya-module-cms ^3.0|dev-master this time :)

@nadar
Copy link
Contributor

nadar commented Jan 19, 2020

yes, this is because dev is not valid :-) The problem is that this WIP package requires a dev-master dependency.

Please add luyadev/luya-themes and luyadev/luya-module-cms as dev-master depencies:

"luyadev/luya-module-cms": "dev-master",
"luyadev/luya-themes" : "dev-master"

then run composer update

@drew1two
Copy link
Author

All good that time :)

composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 1 update, 0 removals

  • Removing luyadev/luya-module-cms (2.2.1)
  • Installing luyadev/luya-module-cms (dev-master 1534c19): Cloning 1534c198c0
  • Installing twbs/bootstrap (v4.4.1): Downloading (100%)
  • Installing luyadev/luya-themes (dev-master 7a37d74): Cloning 7a37d74
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating autoload files

@nadar nadar closed this as completed Jan 19, 2020
@drew1two
Copy link
Author

Hi again Nadar,
Just quickly... I can't find the themesManager in admin anywhere...
Cleared cache ... re-logged in... etc.
also on a quick side note... I know it shouldn't be here, but have to run... the useAppViewPath in News doesn't seem to be behaving as expected when set to false in config. Get views not found in frontend.
Liking what I'm seeing so far mate :) Good job :)

@drew1two
Copy link
Author

Ohh and the Readme in themes should mention about doing another migration :) Still no link though :)

@nadar
Copy link
Contributor

nadar commented Jan 19, 2020

run import command, then enable permission for new theme manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants