Page 1 of 3

Can't submit new entries

Posted: 06 Dec 2023, 13:18
by MelsonMarketing
Hi!

I migrated a website from J 3.10.12 to 4.4.1.

The update of Phoca Guestbook went through without problems.

Now it's impossible to add new entries. Clicking the submit button the page is simply reloaded but only shows the empty form again.

No error messages or similar.

I tried all different captchas, checked the permissions - I can't find the mistake.

JOOMLA! 4.4.1
Phoca Guestbook 4.0.4
MySQL 8
Php 8.1

Thanks in advance

Michael

Re: Can't submit new entries

Posted: 06 Dec 2023, 15:46
by Benno
Hi,
did you migrate from Phoca Guestbook for J3 to Phoca Guestbook for J4 according to the official instructions?

Kind regards,
Benno

Re: Can't submit new entries

Posted: 08 Dec 2023, 12:06
by MelsonMarketing
Thank you.
Yes, the db looks fine.

With debug and error reporting I see this callstack:

Code: Select all

 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()
/var/www/vhosts/web720.webbox555.server-home.org/html/Huster/components/com_phocaguestbook/models/guestbook.php:605
Call stack
# 	Function 	Location
1 	() 	JROOT/components/com_phocaguestbook/models/guestbook.php:605
2 	PhocaguestbookModelGuestbook->checkReference() 	JROOT/components/com_phocaguestbook/models/guestbook.php:103
3 	PhocaguestbookModelGuestbook->store() 	JROOT/components/com_phocaguestbook/controllers/phocaguestbook.php:451
4 	PhocaguestbookControllerPhocaguestbook->submit() 	JROOT/libraries/src/MVC/Controller/BaseController.php:693
5 	Joomla\CMS\MVC\Controller\BaseController->execute() 	JROOT/components/com_phocaguestbook/phocaguestbook.php:20
6 	require_once() 	JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
7 	Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() 	JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
8 	Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() 	JROOT/libraries/src/Component/ComponentHelper.php:361
9 	Joomla\CMS\Component\ComponentHelper::renderComponent() 	JROOT/libraries/src/Application/SiteApplication.php:208
10 	Joomla\CMS\Application\SiteApplication->dispatch() 	JROOT/libraries/src/Application/SiteApplication.php:249
11 	Joomla\CMS\Application\SiteApplication->doExecute() 	JROOT/libraries/src/Application/CMSApplication.php:293
12 	Joomla\CMS\Application\CMSApplication->execute() 	JROOT/includes/app.php:61
13 	require_once() 	JROOT/index.php:32 

Re: Can't submit new entries

Posted: 10 Dec 2023, 00:29
by Jan
Hi, try to install this version:
https://github.com/PhocaCz/PhocaGuestbo ... v4.0.5.zip

and let me know if this is OK for you.

Jan

Re: Can't submit new entries

Posted: 07 Jan 2024, 15:55
by Akkarin
I have the same problem as described in the first post.
I did not know about the official migration instructions and already installed Joomla 5 and the newest beta version of the phoca guestbook.
What should I do now to get the guestbook running again? I ask to be sure and not to produce more problems.

Re: Can't submit new entries

Posted: 08 Jan 2024, 20:02
by Akkarin
I had a look at the migration instrcutions.
To be honest, I don't understand what this should change. I did not change the prexif for my Joomla tables. If I export the tables and import them again I should get the same situation.

Re: Can't submit new entries

Posted: 10 Jan 2024, 01:27
by Jan
Hi, which problem do you exactly get?

Jan

Re: Can't submit new entries

Posted: 10 Jan 2024, 14:33
by Akkarin
As described in the first post of this thread I can enter all value and after "submit" no new entry is saved and no message appears.

Re: Can't submit new entries

Posted: 10 Jan 2024, 16:20
by Jan
Hi, can you see the message in database - in phoca guestbook items table?

Even if you switch to standard template (for test only), you don't get any error message displayed on the site?

Jan

Re: Can't submit new entries

Posted: 10 Jan 2024, 18:32
by Akkarin
I don't see the message in the database.
I use the Cassiopeia template with some color changements (user.css.) and I don't get any error message.