WebsiteBaker Support (2.13.x) > General Help & Support

Captcha not loading 2.13.2 r133

<< < (2/5) > >>

tobyw7:

--- Quote from: crnogorac081 on November 12, 2022, 07:57:11 PM ---Hello, take a look at this:

https://forum.WebsiteBaker.org/index.php/topic,31921.msg223520.html#msg223520

Maybe https is not loading images

--- End quote ---

Hi

Thanks, I have checked the config and htacess - all looks OK.

I created the droplet too, and enabled it. Do I need to do anything else?


I did some further testing in incognito mode,  in case it was something with Google Ads conflicting.

I noticed that the GET request to load the captcha is actually succeeding. I tried to load the captcha php directly and received this error:

https://frantik-web.co.uk/include/captcha/captchas/create_ttf_image.php

There was an uncatched exception
random_int() expects exactly 2 arguments, 0 given
in line (30) of (/include/captcha/captchas/create_ttf_image.php):

hgs:
Please try the default template.

I assume that it works with it.

tobyw7:

--- Quote from: hgs on November 13, 2022, 01:09:36 PM ---Please try the default template.

I assume that it works with it.

--- End quote ---

Hi,

OK So with the Blank Template, I got the following error:

There was an uncatched exception
malformed document created, missing head area
in line (67) of (/modules/output_filter/Filters/filterCssToHead.php):


Changed to template Round and the form loads (not duplicated) but the captcha still fails (PHP error as on the last post if you try and load the image in new window)

https://frantik-web.co.uk/pages/contact-test.php

hgs:
That's not what I mean!
I meant the default template supplied for the current WB version.

Or look in your template if in front of the head area
you can find this entry:
--- Code: ---<?php
        }

// automatically include optional WB module files (frontend.css)
    register_frontend_modfiles('css');
// automatically include optional WB module files (frontend.js, jQuery) enable OldModFiles in OutputFilter
    register_frontend_modfiles('jquery');
    register_frontend_modfiles('js');
?>
    </head>
--- End code ---

sternchen8875:

--- Quote from: tobyw7 on November 13, 2022, 01:05:07 PM ---I noticed that the GET request to load the captcha is actually succeeding. I tried to load the captcha php directly and received this error:

https://frantik-web.co.uk/include/captcha/captchas/create_ttf_image.php

--- End quote ---

please take a look into the database and there to the table "TP_mod_mpform_settings" (TP == Table_Prefix)  and there to the value of the setting "use_captcha". Must be 0 or 1 (zero or one).
It is not possible, to change the default value == 0, if the server run's in mysql-strict-mode

if your value in the database == 1, try to change the Type of CAPTCHA in AdminTools -> Captcha Spam Protect

if your value in the database == 0 (zero), try to change it directly in the database to 1 and try it again


--- Code: ---Blank Template
--- End code ---


the old blank template can not work with the default WB-Installation (since WB 2.10.x). WB use a filter to make some corrections in the code, for example: move  a <link>-Definition from the body-area into the <head>-Area, but the old blank-template has no <body>- and no <head>-Area, it display only the page content

P.S.: i'm sure, your captcha-Problem has nothing to do with the used frontend-template

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version