goalio / GoalioForgotPassword

A Zend Framework 2 (ZF2) Module offering forgot password via e-mail functionality to ZfcUser
BSD 3-Clause "New" or "Revised" License
42 stars 49 forks source link

Installing via composer #30

Open jnauman opened 10 years ago

jnauman commented 10 years ago

When I try to install through composer I get an error that no stable version is available. I attempted to just download and install manually however that results in an error as well. ('Module (GoalioForgotPassword) could not be initialized)

stijnhau commented 10 years ago

First of all. Did you follow the excat step like said in the howto(or readme)?

When you copied it to thez vendor dir it is normal that it oisn't working because the autoload files of composer doesn't have the llink to the module.

pdobrigkeit commented 10 years ago

Hey, I just tried the "normal" workflow, in which I can verify this. I did a plain vanilla install of ZendSkeletonApplication and added only "goalio/goalio-forgotpassword": "1.*" to the composer.json.

Loading composer repositories with package information Updating dependencies (including require-dev)

- Installing zf-commons/zfc-user (1.0.0)
    Loading from cache

- Installing goalio/goalio-mailservice (1.0.0)
    Downloading: 100%

- Installing goalio/goalio-forgotpassword (1.0.0)
    Downloading: 100%

Writing lock file
Generating autoload files

It worked fine. Maybe you have some other module in your composer which is causing trouble? Maybe you could post the conflict you get when trying to install?

jnauman commented 10 years ago

After a bit more digging into this I found that another module was requiring an older version of zfc-user, removing that module solved the problem. Thanks for helping. :)