gebeer

new super user password not saved

Recommended Posts

Hi,

On a 2.5 install I try to add a second super user. After adding and saving it with password assigned, It gets displayed with a strike through in the user list. When I then edit and save it again, I get this error:

Missing required value

Required password was not specified.

But the password was entered already when I added the user.

This is happening only on a clone of an install on my dev server. When I add the same user on my local environment, everything is working as expected. The install on the dev server is the same where I get the persistent httpHost error described in my other thread.

Also the httpHost error message gets displayed twice, above the user list and on the very top:

post-1920-0-64558100-1412333763_thumb.pn

I have other PW installs on that server which are all running smoothly.

Any pointers to a solution would be great. Thank you.

Share this post


Link to post
Share on other sites

If you have moved to a different server, have you ensured that all your path statements reflect the move (different physical location of files) on this install?

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for the hint. But again, which path statements? Never had issues before when moving sites.

Share this post


Link to post
Share on other sites

If you are talking about include paths in my templates, they are all correct.

Share this post


Link to post
Share on other sites

Whatever the domain name of that cloned PW install is, that is what the config.php is looking for (the error that is displaying).  Or to put it another way,  If you clone an install, you need to supply a different domain name in the config.php file.

Share this post


Link to post
Share on other sites

After moving the site to the new host I have specified the new domain in the config file. But it is not recognized by PW. What ever I assign to $config->http hosts array, I always get that error.

Share this post


Link to post
Share on other sites

The problem happened to be related to old session files that I transferred when moving to the new server.

Once I deleted all session files in assets/sessions on the new server, PW picks up the $config->httpHosts array. The error message in the backend disappears and I can create users and save their passwords without problems.

  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By anttila
      We are developing an App that sends data over the Internet to ProcessWire (POST/JSON). We want password to be protected somehow when sending it, but I should be able to compare it to PW's passwords. We were thinking of using md5 encryption, but PW uses different encryption.
      How can I be sure that user has active account when they use the App?
    • By Robin S
      Password Generator
      Adds a password generator to InputfieldPassword.

       
      Usage
      Install the Password Generator module.
      Now any InputfieldPassword has a password generation feature. The settings for the generator are taken automatically from the settings* of the password field.
      *Settings not supported by the generator:
      Complexify: but generated passwords should still satisfy complexify settings in the recommended range. Banned words: but the generated passwords are random strings so actual words are unlikely to occur.  
      https://modules.processwire.com/modules/password-generator/
      https://github.com/Toutouwai/PasswordGenerator
    • By AndZyk
      Hello,
      can somebody tell me, if it is possible to get the clear password of an InputfieldPassword inside a module, before it is encrypted?
      I have made a custom module which sets the password of an Auth0User after the hook publishReady with a random generated password. When I try to get a clear password from a InputfieldPassword in this hook, it is of course already encrypted (which is of course good). But is there a hook before the encryption, so I could get it one time to send it to Auth0?
      If there is not such thing, could be another possibility to add a jQuery script to get the value directly from the DOM and save it somewhere temporarily?
      I know this might be an unusual question, but I would appreciate any feedback. 
      Regards, Andreas
    • By Slav
      Hey guys... Ok so I have a problem with a registration form password inputfield... The problem is that InputfieldPassword.js and InputfieldPassword.css are not loaded/fired. Or I dont even know exactly what is happening... Im pretty new to processwire and the website was not created by me so Im trying to figure out what has been done and how processwire works. Anyway this is how the form looks right now:

      ...and as you can see the styling is off (password validation check in particular)... this is what I see when page is loaded (without adding any input)... it looks like js and css files from wire/modules/Inputfield/InputfieldPassword are not firing... I dont know how it is supposed to work exactly so I dont even know where to start.
      Maybe someone has had similar problem and know an easy fix or can navigate me to what could cause this situation in PW.
      Oh by the way this problem occured when upgrading the PW version (current version 3.0.65)... everything else is ok... this is the only problem that has been found after upgrade...
      Appreciate all the help!
      Cheers!
    • By Mirza
      Hi All,
      I have a processwire setup for multi language which is english and arabic.
      I have a template called hotel which has title field act as hotel name for both EN & AR language.
      Since a week ago I was getting the error in 
       
      Since we have key  in pages table which states as below
      So the field name1056 should store the Arabic value of the title field.
      But its not storing the arabic value, since we have CHARACTER SET ascii for the field `name1056` as below
      Can anyone explain me 
      * On what basis character set is defined?
      * Is there any specific reason for setting the ASCII character set?
       
      Thanks in advance for the help.