Page 1 of 1

no new messages because of invalid field

Posted: 04 Jan 2024, 17:31
by Udo
Hi,

After updating my Joomla 3 site to Joomla 4 Phoca Guestbook is of no use anymore.
New messages get an error

Code: Select all

Invalid field: Ter voorkoming van spam
The Dutch text 'Ter voorkoming van spam' is in the language constant COM_PHOCAGUESTBOOK_IMG_VERIFICATION

So the problem is related to the captcha.
I have tried different captcha methods. All captcha checks themself work well, but all cause the invalid field.

More people experience this problem and I learned that the cache might be the cause.
I have tried a lot of different configurations of Phoca Guestbook and Joomla cache. No change.

Once and while all works fine and the new message is published. Probably when the cache of browser and joomla have been emptied.

In Joomla 3 this problem didnot exist.
I use Phoca Guestbook 4.0.4 and Joomla 4.4.0. and PHP 8.1

Please advice.
Udo

Re: no new messages because of invalid field

Posted: 05 Jan 2024, 01:19
by Jan
Hi, really hard to say what can be wrong there. If you switch to standard template, disable all cache options (even the external), is this OK?

Re: no new messages because of invalid field

Posted: 08 Jan 2024, 14:33
by Udo
Hi, switching template does not help.
Disabling cache doesnot help.
However logging in does help! A logged in user can post a message without problem.

Re: no new messages because of invalid field

Posted: 08 Jan 2024, 16:04
by Udo
Rectification! Logged in users can only post a message if captcha is enabled for not registered users
If the captcha is enabled for all users the logged in user also gets the error Invalid field.

Re: no new messages because of invalid field

Posted: 10 Jan 2024, 01:29
by Jan
Do you get the same problem when you test the latest Phoca Guestbook 5 Beta version?

https://github.com/PhocaCz/PhocaGuestbo ... 0Beta2.zip

Jan

Re: no new messages because of invalid field

Posted: 10 Jan 2024, 13:58
by Udo
Hi,
Alas, installing version 5beta didnot solve the problem.

However, I did find a way to get rid of the invalid field. After selecting captcha method Easycalc the error is gone and new messages can be posted.
The reason could be that Easycalc uses a text field while other captcha methodes use an image. It seems that the image is causing the Invalid field.

The problem is not really solved but it is avoided in this way.
For me that's fine now.

Regards, Udo

Re: no new messages because of invalid field

Posted: 10 Jan 2024, 16:21
by Jan
OK