no new messages because of invalid field

Phoca Guestbook - creating guestbooks in Joomla! CMS
Udo
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 04 Jan 2024, 16:49

no new messages because of invalid field

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: no new messages because of invalid field

Post 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?
If you find Phoca extensions useful, please support the project
Udo
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 04 Jan 2024, 16:49

Re: no new messages because of invalid field

Post 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.
Udo
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 04 Jan 2024, 16:49

Re: no new messages because of invalid field

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: no new messages because of invalid field

Post 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
If you find Phoca extensions useful, please support the project
Udo
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 04 Jan 2024, 16:49

Re: no new messages because of invalid field

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: no new messages because of invalid field

Post by Jan »

OK
If you find Phoca extensions useful, please support the project
Post Reply