-
-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while saving settings #1152
Comments
Can you please make the next try. In file sources/admin.queries.php, found:
%s AND intitule = %s", "admin", "ga_website_name");
|
Sorry, it didn't work. Then I tried version 2.1.23.4 and now is working. Thanks. |
Didn't work for me too on version 2.1.24. Apache/2.4.6 (CentOS 7) |
I don't understand, I've retested on fresh 2.1.24(4) downloaded from Github and I cannot reproduce. |
I've tried with those settings with no issue.
Where do you get this error, in your logs?
|
I just ran this query on phpadmin and figured out that field "valeur" doesn't accept null values. I changed the structure to allow nulls and the error stoped. I don't know if this will result in other problems in the future, but it is working so far. |
Another information that could help to identify the problem. I have to instances of Teampass running on the same server. Version 2.1.23 is running well and 2.1.24 wasn't. Then I compare the table teampass_misc to figure out what the property 'ga_website_name is about. I found that this property is about option "Name displayed Google Authenticator for Teampas" on the Tempass Settings screen. In version 2.1.23, this field exists: In versions 2.1.24 it doesn't: This is why version 2.1.24 is passing "null" to the field 'valeur' when you press "save" |
In file admin.settings.php, can you remove this:
|
It worked! Thanks! |
I just installed Teampass v 2.1.24.4 on Wampserver 3, running on Windows Server 2012.
The installation process was ok, with no errors. But, when I try to save any change in the Team Pass settings section I get this error:
Error:
Query: UPDATE
teampass_misc
SETvaleur
=NULL WHERE type = 'admin' AND intitule = 'ga_website_name'I already tried to run on Wampserver 2, tried to use XAMPP but the same error persists. Any ideas?
Thanks.
The text was updated successfully, but these errors were encountered: