WebsiteBaker Support (2.13.x) > Modules
Guestbook problem after upgrade
RonR:
Just upgraded WB from 2.13.5 r220 to 2.13.6 r237. Working on PHP 8.1.
Have a problem with the guestbook version 2.10.4.
I thought I tested it well, but it seems it is only working with me being logged in as an admin.
As nonlogged in (just like my guest) I get the sign-guestbook page (guestbook/gstbk_add.php) but when I hit the add button it redirects me directly to mysite/pages/ being a forbidden page (403) without entering anything in the guestbook.
As logged-in user I can add to the guestbook and return to the guestbook page, all goes well.
Also the delete-entries-button in the admin does not seem to work.
Any idea what could go wrong?
Greetz, Ron
dbs:
Hi, i cannot confirm this. it works as expected, even as a visitor who is not logged in.
but the captcha does not work for me, it is always wrong.
and it is not possible to delete a entry (jquery.insert is not a function).
sternchen8875:
--- Quote from: RonR on February 24, 2025, 05:06:53 PM ---Any idea what could go wrong?
--- End quote ---
the redirect to the start- or homepage in the frontend! comes, if section-id or page_id is not part of the add-Link, see example
..... /modules/guestbook/gstbk_add.php?sid=20&pid=18&add=37
there is no switch, what check the login-status
in first step, it check's the section- and page_id (green and blue marked in my example-link)
in second, it looks for your ASP-Settings (see AdminTools -> Captcha-Settings) and check the add-ID (red marked) - is ASP enabled, it checks this add-ID with a session-variable, added from the view.php of the guestbook-module. That means also: this link can only work on a page with the guestbook-view.php
if the session-variable is missing or the submitted id wrong, it set a redirect to the start page
i n the last step, it reads the data from this page-id and this section id.
if there is no result, redirect to the start-page
--- Quote from: dbs ---but the captcha does not work for me, it is always wrong.
--- End quote ---
fixed in v2.10.5 in attachement
RonR:
Ok, I managed to establish that it is not connected to being logged on or not.
I am seeing: gstbk_add.php?sid=22&pid=22&add=13
so all the parts are there.
Admin Tools ASP enabled, but module settings verification disabled, because there is a built-in honeypot (nixhier) (besides; the captcha is always wrong.)
It just sometimes fails randomly, a second or third try will work, but that is not an ideal situation.
Do not know what could be wrong.
Any idea when 2.10.5 will be released?
sternchen8875:
Did I forget to attach the zip? Sorry!! See attachment - now :roll: :roll: :roll:
AdminComment: remove the attached ZIP, see newer version
Navigation
[0] Message Index
[#] Next page
Go to full version