Client but no CP User created

Discussion in 'Developers' Forum' started by WHO, Feb 27, 2020.

  1. WHO

    WHO Member HowtoForge Supporter

    When creating a client with remote api something weird happens.
    - client exists in database and in the panel and the data look quite the same as other entries (password field is set)
    - client.../web.... folders exist on the server
    - no CP User entry is made
    Problem: When trying to login directly, the panel says credentials wrong, Trying to access through "Login as Client" an error occurs for half a second (Passwort < 1 oder > 255 Zeichen) and quits the process.

    I think its because of CP User Entry but can't see why it is not created.
    Do you have a hint which data is important for CP User or how to track the problem?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    So the cp users in sys_user table is missing but in client table, the record exists, right? Is the group in sys_group missing as well?
  3. WHO

    WHO Member HowtoForge Supporter

    yes and no.
    client record exists in client, not in sys_user, but group exist in sys_group for the clientid

    Attached Files:

    Last edited: Feb 27, 2020
  4. WHO

    WHO Member HowtoForge Supporter

    Finally I found the problem. The client data came from another source (latin1 / iso-8859-1). After encoding it to utf8 the sys_user ist created. Because the data in the db looks good I can only imaging the password field lead to problem.

    Maybe a weak point in the api, because no exception was throwed.

Share This Page