Hello there,
I am using a fresh install, testing it.
On the user registration screen, where the image with the confirmation code should appear, nothing appears. Neither does the audio phrase option.
I am using the Spanish version with the Spanish package that comes with the forum itself. I send you a screenshot.
That could be happening?
Thank you very much.
I tried adding ?> in the files related in the file:
https://wiki.simplemachines.org/smf/File_check.php_-_What_is_it_and_what_does_it_do
Doesn't work.
Does it show correctly when you use the english language?
Quote from: Doug Heffernan on July 30, 2022, 11:22:07 AMDoes it show correctly when you use the english language?
Same, fails the same way.
By the way, the file_check.php has worked very well for me with the vast majority of files, except for these (link: https://stopguardias24h.com/foro_sanitarios/file_check.php):
/home/stopguardias24h/www/foro_sanitarios/Sources/minify/src/Exception.php
File does not end with ?>
/home/stopguardias24h/www/foro_sanitarios/Sources/random_compat/random_bytes_libsodium_legacy.php
File does not end with ?>
/home/stopguardias24h/www/foro_sanitarios/Sources/random_compat/random_int.php
File does not end with ?>
/home/stopguardias24h/www/foro_sanitarios/Sources/random_compat/random_bytes_com_dotnet.php
File does not end with ?>
throws the error:
PHP message: PHP Notice: Only variables should be passed by reference in /home/stopguardias24h/www/foro_sanitarios/file_check.php on line 70'
However, the content of these files does already have the "?>" included, so I am not sure that it is not an error of the file_check.php itself.
ty
Something that can help:
When I accept changes in spam options, there is an error in the error log of the forum:
830: if (isset($_GET['save']))
831: {
832: checkSession();
833:
834: // Fix PM settings.
THIS ONE ==>835: $_POST['pm_spam_settings'] = (int) $_POST['max_pm_recipients'] . ',' . (int) $_POST['pm_posts_verification'] . ',' . (int) $_POST['pm_posts_per_hour'];
836:
837: // Hack in guest requiring verification!
838: if (empty($_POST['posts_require_captcha']) && !empty($_POST['guests_require_captcha']))
839: $_POST['posts_require_captcha'] = -1;
840:
841: $save_vars = $config_vars;
842: unset($save_vars['pm1'], $save_vars['pm2'], $save_vars['pm3'], $save_vars['guest_verify']);
843:
844: $save_vars[] = array('text', 'pm_spam_settings');
The logs says:
8: Undefined index: pm_posts_per_hour <---it seems that pm_posts_per_hour that its an index in this line, doesnt exists.
What can It happen?
Thank you!
Are you having to reenter your password while you do this?
Quote from: Arantor on July 30, 2022, 01:43:31 PMAre you having to reenter your password while you do this?
Yes, in each step (in administration tasks), I need to put my password in order to continue. It's just in the case of change anti-spam settings (in captcha features) it fails as related. My error is maybe related to the other one I posted about captcha.
Thank you.
EDIT: when I try to change some server options, it also dont let me do it with the error (when i try to put my admin passwor):
Failed to verify session. Please try logging out and back in, and try again.
Problem solved with:
https://www.simplemachines.org/community/index.php?topic=583142.0