emoncms WAMP installation on Windows7 fails " Use of undefined constant _ENABLE_PASSWORD_RESET_ - "

I tried to setup emoncms 8.0 on my Win7 machine with WAMP. The server is running, the database is set up but when I want to login with localhost it stops. See attachment. Error message is:

Notice: Use of undefined constant _ENABLE_PASSWORD_RESET_-assumed 'ENABLE_PASSWORD_RESET_' in C:\wamp\www\emoncms\settings.php on line 52

So it seems that the settings in settings.php are fine (user, password, server, database).

The path settings are correct as well in the settings.php file.

can somebody help here?
Thanks

pb66's picture

Re: emoncms WAMP installation on Windows7 fails " Use of undefined constant _ENABLE_PASSWORD_RESET_ - "

If you use "  _ENABLE_PASSWORD_RESET_ "  in the search box that has been discussed a couple of times.

$enable_password_reset should be set to false if you don't want it and true if you do. _DISABLE_PASSWORD_RESET_ is associated with the deb installer.

So " in C:\wamp\www\emoncms\settings.php on line 52 " change

$enable_password_reset = _ENABLE_PASSWORD_RESET_;

to either           $enable_password_reset = false;        or        $enable_password_reset = true;

brisco's picture

Re: emoncms WAMP installation on Windows7 fails " Use of undefined constant _ENABLE_PASSWORD_RESET_ - "

Many Thanks pb66! it works!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.