captcha does not show

Issues related to forms.
Post Reply
wb_gjg
 
 
Posts: 9
Joined: Mon Dec 03, 2018 4:44 pm

captcha does not show

Post by wb_gjg »

Hello, everyone,
after my service provider (SP) announced to upgrade from php 5-7 to 8, I installed the latest Apache server x64-8.2..
Using WWB 19.0.5 a formpage using a simple text-captcha does not show the image of the captcha.
GD-extension in php.ini is defined. In previous releases and up to php 7, the captcha works good.
What did I forget? Your help is appreciated. :)

Regards
Guenter
User avatar
Pablo
 
Posts: 23243
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: captcha does not show

Post by Pablo »

What is the error message in the PHP error log?
wb_gjg
 
 
Posts: 9
Joined: Mon Dec 03, 2018 4:44 pm

Re: captcha does not show

Post by wb_gjg »

In the PHP error log are no error messages at all. Only some hints: Implicit conversion from float xyz.abc to int loses precision..
User avatar
Pablo
 
Posts: 23243
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: captcha does not show

Post by Pablo »

What is the URL of the page?
wb_gjg
 
 
Posts: 9
Joined: Mon Dec 03, 2018 4:44 pm

Re: captcha does not show

Post by wb_gjg »

The simple text captcha is only tested locally in advance under XAMPP version: 8.2.12 and no longer works under the new PHP version. It will only be published once it works reliably. This should be easily reproducible. How can I see or set the PHP version in the new WWB version 19.0.5?
User avatar
Pablo
 
Posts: 23243
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: captcha does not show

Post by Pablo »

I doubt that this has anything to do with the PHP version.

There is most likely a conflict somewhere.
I can only help you if I know the error message.
wb_gjg
 
 
Posts: 9
Joined: Mon Dec 03, 2018 4:44 pm

Re: captcha does not show

Post by wb_gjg »

May be, you are right. Perhaps the problem is due to a lack of necessary privileges. I'm still searching because I'm not sure about this area. When a solution is found, I'll share it here. Thanks so far!
wb_gjg
 
 
Posts: 9
Joined: Mon Dec 03, 2018 4:44 pm

Re: captcha does not show

Post by wb_gjg »

Obviously php version 8.2.12, which I am using for testing, is not tolerant regarding the expected type of the function parameters, since no automatic typecast is executed here anymore. Since I have corrected this, the captcha works.
What I thought was just a hint (see above) should actually be an error message here, as not only precision but also function is lost!
Post Reply