Thanks for the helpful hints ! I found a simple script provided by OSTraining meant for Drupal 7 and I try changing some api names to backdrop and it works for me. Let me know if there's any issue with this way of working or better codes to be done. Thanks !
Replace "mypassword" with whatever you want to use as the password. The script accesses the backdrop password function and changes the password for you.
Step 4: Uninstall the PHP script and login
One you're done resetting passwords. Be sure to uninstall the php script you created by deleting it using FTP or your file manager.
Notes: This is successfully tested on backdrop v1.8.0
Thanks! The site was on PHP 7.0. With assistance from my hosting provider, I updated to PHP 7.4 and now I have access to the site again. No database re-import required.
The best you can do is test and report. If you find a contrib that doesn't work in php 8.3, create an issue in its queue so it gets fixed.
In my experience, I've found that 7.4 is safest...
Posted3 days 7 hours ago by Alejandro Cremaschi (argiepiano) on:
Hi argiepiano,
Some contrib will not work in php 7.2 or lower, and some will not on PHP 8.1 or higher.
Is there a way to find out which is the optimal PHP version for a...
Posted3 days 7 hours ago by Antony Milenkov (amilenkov) on:
This sounds like a combination of a buggy module and the "wrong" version of PHP. The fact that you are being redirected to the maintenance page may be an indication that your site was put on...
Posted3 days 8 hours ago by Alejandro Cremaschi (argiepiano) on:
Comments
One way to do this is with
drush:
To use
drush
with Backdrop install the Backdrop Drush Extension or use a tool like Lando that includes drush with it.There are also some scripts in the core/scripts directory that can help with resetting passwords.
Thanks for the helpful hints ! I found a simple script provided by OSTraining meant for Drupal 7 and I try changing some api names to backdrop and it works for me. Let me know if there's any issue with this way of working or better codes to be done. Thanks !
https://www.ostraining.com/blog/drupal/password-recovery-for-drupal-7
Here the steps:
Step 1: Create a short PHP script with code below
Step 2: Upload the PHP script to the main/root backdrop directory
Step 3: Use the PHP script from your browser address bar
Step 4: Uninstall the PHP script and login
Notes: This is successfully tested on backdrop v1.8.0