WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

Du bist nicht angemeldet.

#1 13.10.2022 07:48:33

florian
Administrator

Bug bei Captacha "Rechnung als Text" in WBCE CMS 1.5.3

Eine überflüssige Zeile Code in der Datei /include/captcha/captchas/calc_text.php führt leider dazu, dass das Captcha "Rechnung als Text" fehlerhaft initialisiert wird (es kommt immer dieselbe Rechenaufgabe).

Abhilfe: in besagter Datei die Zeile 40

mt_srand((int)microtime() * 1000000);

löschen.

Oder per FTP die korrigierte Version hochladen:
Download patch_captcha.zip
Kein Modulinstaller - bitte lokal entpacken und Datei per FTP ins besagte Verzeichnis kopieren

--

Due to a unnecessary line of code in /include/captcha/captchas/calc_text.php the captcha "calculation as text" is not properly initialized (it generates every time the same task).

Fix: Delete in the calc_text.php line 40:

mt_srand((int)microtime() * 1000000);

Or upload the fixed version via FTP:
Download patch_captcha.zip
Not an installation zip - please unzip local and upload the file into the corresponding directory on your server.


Code allein macht nicht glücklich. Jetzt spenden!

Offline

Liked by:

giz, bernd, thanks

Fußzeile des Forums

up