• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Can't create admin user

Status
Not open for further replies.

Serverology

Chevereto Member
Can't create admin user:
SQLSTATE[HY000]: General error: 1364 Field 'user_name' doesn't have a default value

pls help
 
Screenshot2014-04-1519.42.21.png
 
There is a field in the chv_users table which affects MySQL servers running in strict mode.

Run this query in your MySQL
Code:
ALTER TABLE `chv_users` MODIFY `user_name` varchar(255) DEFAULT NULL

This will be added in 3.1
 
Thank you Rodolfo

Your SQL query has been executed successfully (Query took 0.7537 sec)

/install.php still says: "Request denied"

and when I visit the main site, it's already up, but with no admin account
how should I carry on?

Thanks
 
Ahh... gosh sorry, my bad. Create any normal account using the conventional signup method then in your db edit chv_users table and set is_admin 1 to your user. You can also skip this instructions and try a clean install/update with the upcoming version 3.1 which should arrive tomorrow.

Cheers.
 
Ahh... gosh sorry, my bad. Create any normal account using the conventional signup method then in your db edit chv_users table and set is_admin 1 to your user. You can also skip this instructions and try a clean install/update with the upcoming version 3.1 which should arrive tomorrow.

Cheers.
Great! Thanks Rodolfo!
 
Status
Not open for further replies.
Back
Top