Problems to reset password - $wgPasswordReminderResendTime - mediawiki

when i tried to reset a password a received a messages: "A password reset email has already been sent, within the last 24 hours. To prevent abuse, only one password reset email will be sent per 24 hours."
in LocalSettings.php i inserted the line below:
$wgPasswordReminderResendTime" =1;
after it i restarted the sql and apache and the message remains the same.
Should i configure in another place?
My MediaWiki is version 1.34
i appreciate your help
Regards
Gustavo

Related

Can't log in to keycloak admin console after setting up email

I am working with Keycloak, version 19.0.3.
I am using it in docker container, using image
quay.io/keycloak/keycloak:19.0
I am using postgresql database.
I am hosting it on azure.
I had a working setup with a few clients, scopes etc. Everything worked fine. Then I tried to set up email provider to be able to receive email confirmations. I successfully received test email and I clicked save. Then after a while my session refreshed and I no longer can log in to the administrator console. I get the following error log:
2022-11-14T09:46:17.033164754Z: [INFO] 2022-11-14 09:46:17,030 WARN [org.keycloak.events] (executor-thread-191) type=LOGIN_ERROR, realmId=[realm_id], clientId=security-admin-console, userId=null, ipAddress=[ipAddress], error=user_not_found, auth_method=openid-connect, auth_type=code, redirect_uri=[redirect_uri], code_id=[code_id], username=[username], authSessionParentId=[authSessionParentId], authSessionTabId=[authSessionTabId]
During startup the following message shows up:
Failed to add user '[admin_user]' to realm 'master': user with username exists
However this user is nowhere in the database.
The administrator log in credentials are set up using environmental variables and the whole setup is still in dev mode.
This is not the first time it happened. It happened once before however I did not connect it to the fact that setting up email account might have caused it. I thought it was because I accidentally upgraded keycloak to version 20, so I started from the beginning.
This time I set up email and came back after 20 minutes. My username and password are invalid. I have them saved in autocomplete, so its not because I wrote my credentials wrong. Nothing else changed.
I thought that maybe its because I have my realm set up to use email as username, so I tested with email address I just added, stil nothing.
I struggled with it for a long time. I am at my wits end. Any tips are welcome.
I have the same issue. Not sure whether it was caused by SMTP setup.
I have checked the databases from the back-up and the new one (after day of work that also included SMTP setup).
The admin user_entity in the database was updated to my email address somehow with keeping the user id. So with my email address and original admin password I am able to sign into the master console.
I hope it'll help.
PS. I recall now that during first 'Test connection' for SMTP execution Keycloak asked me to type an email address for testing (where the test email is going to be sent). Now I think it is at that moment the admin username was changed to my personal email.

(e107) datestamp incorrect

I just installed e107 v2 to my web host. I made a single new post on the homepage, but the time shows up as 15 Dec 2012 : 17:00. I can't find any other settings for it in the admin panel, just the formatting itself. I also can't seem to find any other known issues about it with e107. I made sure the timezone is correct, but that won't account for the year difference. Any ideas how to correct this ? The installation is automated, it does not ask for any user input except for mysql database credentials.
change it here http://localhost/e107_admin/prefs.php#nav-core-prefs-date Change the localhost to your server address

Issue in my Drupal site

I am unable to login admin panel of my site which is developed in Drupal. I had tried the below link, but it's showing as "You are not authorized to login this page"
http://fujisushiflorida.com/?q=admin
After some surfing in net I had tried the below link. It had shown the login page, but the password I had entered is not correct think. So I had planned to change the password in DB. I had gone to phpmyadmin in that selected "user" table and the first reflecting data is the admin data so I had changed the password of that directly in DB also changed the function to MD5 since pwd has been encrypted. Post changing the password I tried to login but getting the error as "unrecognized username and password"
http://fujisushiflorida.com/user
Can you please help me out on this issue.
Not sure how exactly user info is stored, but generally speaking you can install new Drupal site, grab table rows of your admin account there and move them to problematic site, where you lost your account.
In the database check that you have a user with id of 1 and check that their username and email are what you are expecting.
To reset the password:
If your site is sending emails you should just be able to request a new password.
If you can create an anonymous user without admin verification create one with a password. then in the database copy the password from the new user to the number 1 user.
Otherwise create a user on a clean install or dev site and copy over the password from the database.
Try the forgot password on the login screen if your admin has your email address.
If you can SSH into the server your site is hosted on, install drush if you do not have it and use the drush user-login

Failed to reset admin pass on Mysql / plesk

I broke the admin pass in the phpmyadmin inside plesk. I broke it by editing the pass (was not intentionally), and now Plesk does not load since primary admin pass is changed.
I found this guide: http://kb.parallels.com/en/112492 but it however does not allow me to change admin pass since I get this error:
Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.3.so: /usr/local/lib/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: gc_remove_zval_from_buffer
Utility to set adminstrator's password
I cant seem to find the problem in regards to ioncube, except for that its not compatible with php, (yet ioncube dependent applications runs just fine on the server).
So what can I do to reset the admin password? I have root access, I should be able to do anything, right?
I tried the following
restarted plesk
check the permisssions on /etc/psa/.psa.shadow according to here: http://blog.serverbuddies.com/how-can-i-changerepair-my-admin-account-if-the-password-in-plesk/
mysql is running
I am stuck, hope someone knows how to solve this one.
If you know the password of MySQL user "admin" you can:
cp /etc/psa/.psa.shadow /etc/psa/.psa.shadow.bak # just backup
chmod 400 /etc/psa/.psa.shadow.bak # just secure backup
echo "PLACE PLAIN PASSWORD OF MySQL user ADMIN HERE" > /etc/psa/.psa.shadow
and check Panel.
If you don't know password of MySQL user "admin" "Resolution 2" from http://kb.parallels.com/en/112492 still should help you.
The root cause of issue "undefined symbol: gc_remove_zval_from_buffer" is maybe wrong version or corrupted ioncube_loader_lin_5.3.so. I can just switch off this extension in ini file somewhere in /etc/php/ or /etc/php.d/

MySQL non-error error over web interfaces but not on command line

UPDATE queries work fine from the mysql command line, for any user.
However, when any UPDATE queries are run via a web interface (whether phpmyadmin or wordpress), the queries don't work, and I get a "no change" notice from mysql. Most of the time. The query is successful 10% of the time. Thing is there was a change, it just didn't take. I'm using the same user on phpmyadmin as on wordpress as on the command line client. I'm stumped. Anyone been here before?
Server details:
Apache/2.2.14 (Ubuntu)
MySQL client version: 5.1.61
PHP extension: mysqli
PHP version PHP 5.3.2-1ubuntu4.14
Update:
The "no change" notice comes from phpmyadmin. I don't get a "0 row(s) affected" from pma. When I return to the record that I attempted to edit, the edits aren't in there.
In wordpress, if it were a successful edit on a post I would get a "draft updated" or similar message. However, most of the time it just kicks me out to the wordpress admin index of posts without any message, and without any changes saved.
How this was fixed:
Clarified the apache server configuration. It was round-robining between two virtual hosts due to non-specific domain conf files.
The timeout value in httpd.conf was set to 0. This created issues.