Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Jacques Malgrange

    (@sojahu)

    I will fix it for the next update.

    Meanwhile, you can edit the file rencontre/inc/rencontre_filter.php :

    Line ~1520 (function rencFastreg_errors), change
    if(strlen($Ppssw)<6) {
    to have
    if($Ppssw && strlen($Ppssw)<6) {

    Regards

    Thread Starter roundaboutweb

    (@roundaboutweb)

    Plugin Author Jacques Malgrange

    (@sojahu)

    Change … To have
    Not add

    Thread Starter roundaboutweb

    (@roundaboutweb)

    As you can see in the screenshot, the line has been replaced. The original line was commented out (#) and is therefore like deleted. Only the new line is active.

    Plugin Author Jacques Malgrange

    (@sojahu)

    Hi,

    So, you have a POST var “pssw” in you page.
    Rencontre only use this POST var with the shortcode [rencontre_imgreg] (image registration) that only appear when user is not connected.

    – Dispay the content of this post var (echo $_POST[‘pssw’]).
    – Check templates if you are not using originals.
    – Check source code of the page and search “pssw”.
    – Disable others plugins.

    Regards

    Thread Starter roundaboutweb

    (@roundaboutweb)

    – The source code contains no reference to “pssw”.
    – I have deactivated all plugins except “rencontre”, the error remains.
    – I used another theme as a test, even then the error remains.
    – However, I found the following PHP warning, which is caused by the plugin “rencontre”:
    Warning: Undefined array key "HTTP_HOST" in /.../wp-content/plugins/rencontre/rencontre.php on line 268

    Plugin Author Jacques Malgrange

    (@sojahu)

    Mmm, it seems that your server does not know $_SERVER[‘HTTP_HOST’].

    Can you return the content of the $_POST[‘pssw’] above ?

    Try to replace again by :
    if(false && strlen($Ppssw)<6) {
    … just to control the origin of the Password error.

    Thread Starter roundaboutweb

    (@roundaboutweb)

    The same problem:
    https://nextcloud.roundaboutweb.info/index.php/s/pWKw3qPCLbEoHH7

    And “HTTP_HOST” will work, how you can see here:
    https://wp.freelovechat.de/info.php

    Plugin Author Jacques Malgrange

    (@sojahu)

    Hi,

    Warning: Undefined array key “HTTP_HOST” in /…/wp-content/plugins/rencontre/rencontre.php on line 268

    This warning say : $_SERVER[‘HTTP_HOST’] is undefined. If you say it works, something is wrong with your analysis.

    – Check templates if you are not using originals.
    – Examine HTML with your browser and return the large part with your “password error”.
    – Try to change language. Perhaps…

    Regards

    Thread Starter roundaboutweb

    (@roundaboutweb)

    I found the bug in “rencontre-de_DE.po”!
    There was an Update with wrong translation.
    I fixed it with “Loco translate” and now it will be fine.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error in search form’ is closed to new replies.