Page 1 of 2

Can't enter new entries

Posted: 11 Sep 2024, 15:28
by Foleor
Hi there, Jan and others,

Had a bit of a hassle to set it up.
But Guestbook form is shown and I am able to enter it, captcha okay, submit and ...... an empty form is shown.
no messages sored, no logging stored, no debug messages displayed.

And now?

Thanks in advance for your support.
Foleor

www.musicorda.nl
Joomla 4.4.8.
Phoca guestbook 5.0

Re: Can't enter new entries

Posted: 11 Sep 2024, 17:05
by christine
Hi Foleor,

Ik heb het geprobeerd, sorry maar het “Beeldverificatie” is niet van toepassing.

Code: Select all

De veiligheidscode die u heeft ingevoerd is verkeerd. Probeer het alstublieft nogmaals.
Ongeldig veld: Beeld verficatie
Wacht even tot we met een idee komen.

Groetjes
Christine

Jan: Thank you for further informations.

Re: Can't enter new entries

Posted: 12 Sep 2024, 17:12
by Foleor
Hi Christine,

Even when I set: "allow registered users to enter without Captcha" in order to skip captcha or "Beeldverificatie"
the entries are not stored and an empty form is returned without anz msg.

Groetjes Foleor

Re: Can't enter new entries

Posted: 12 Sep 2024, 22:16
by christine
Hi Foleor,

Ik weet ook niet waarom het niet lukt. Ik heb het ook geprobeerd met de nieuwe chaptcha.
Er zijn in ieder geval geen foutmeldingen meer (zoals voorheen). Helaas pas blanco na verzending.

Misschien loop je nog een keer alle opties door.
Dat niet alleen geregistreerde mensen mogen inschrijven.

Groetjes
Christine

Re: Can't enter new entries

Posted: 13 Sep 2024, 19:30
by Foleor
Hi Christine,

Even when I set: "allow registered users to enter without Captcha" in order to disable/skip the captcha or "Beeldverificatie"
the entries are not stored and an empty form is returned without any msg.

Wanneer ik bij Backend Guestbook berichten een nieuw entry maak handmatig, dan krijg ik de melding:
"Opslaan mislukt met de volgende fout: HY000, 1364, Field 'params' doesn't have a default value"

"Warning: Attempt to read property "parent_id" on array in /var/www/clients/client24237/web26517/web/joomla/administrator/components/com_phocaguestbook/models/phocaguestbook.php on line 132
Adres"

Ligt het dan aan mijn knullige handmatige invoer of is dit een hint naar de oplossing van het probleem?

Groetjes Foleor

Re: Can't enter new entries

Posted: 13 Sep 2024, 23:07
by Jan
Hi, this seems like the upgrade was not correctly done, are you sure, you have made the updgrade of the component based on the guides?

Jan

Re: Can't enter new entries

Posted: 13 Sep 2024, 23:30
by christine
Hi Jan,
Jan wrote: 13 Sep 2024, 23:07 Hi, this seems like the upgrade was not correctly done, are you sure, you have made the updgrade of the component based on the guides?

Jan
Yes, it looks like that.

Before your above post I checked:

a)

Code: Select all

"Warning: Attempt to read property "parent_id" on array in ... /administrator/components/com_phocaguestbook/models/phocaguestbook.php on line 132
I think, it belongs to:

Code: Select all

if ((int)$data->parent_id > 1){
			// New record. Can only create in selected categories.
			$form->setFieldAttribute('catid', 'readonly', 'true');
		}

		return $form;
    }
read only?

b)
HY000, 1364, Field 'params' doesn't have a default value
Something wrong/missing in params table? Could one do something about this in php MySQL?
(https://database.guide/5-ways-to-fix-er ... -in-mysql/)

Thanks for your infos.

Kind regards
Christine

Re: Can't enter new entries

Posted: 19 Sep 2024, 11:44
by Foleor
Hi Christine and Jan,

first of all many thanks for your support and responses, but right now it doesn't help me.
The reason why I use Joomla is because I didn't want anything to do with databases and SQL whatsoever.
Your suggestions regarding install not properly, code references, links to MySQL insturctions are all abacadabra....???
Never felt the urge to use phpMyAdmin (newbie on that level).

Actions performed: The override error are all gone now. I created a brandnew Guestbook, set all the access rights to allowed (in Joomla Guestbook), Captcha is working (error when incorrect). Anyhow still: no entries, no error, no logging.

Guess I have to look for another guestbook tool... :cry:
Regards Foleor

Re: Can't enter new entries

Posted: 19 Sep 2024, 19:49
by Benno
Hi,
see: viewtopic.php?p=182031#p182031

Kind regards,
Benno

Re: Can't enter new entries

Posted: 21 Sep 2024, 16:52
by Foleor
Hi Jan, Christine, Benno, etc.

(Hi Benno, yes the menu is fine)

I went a step deeper, I discovered being able to enter a new message! (on an empty fresh created Guestbook)
just one entry, BUT the second entry ends in error at start of the process, probably because it wants to show the (now exisisting) guestbook content msg first.

My guess this was the issue from the start ( see my previous forum issue: getCategories()) because at first I worked with a migrated database (including content). Trying to show it ....but ended in PhocaguestbookRouter::getCategories()
I assumed at that time it was solved by creating a new guestbook. No at all, at a following entry the error is still there.

So, the issue seems not to enter a post, but showing the posts history. (URL=http://www.musicorda.nl/joomla/index.ph ... nboek?id=1 )

Logging:#Software: Joomla! 4.4.8 Stable [ Pamoja ] 27-August-2024 16:00 GMT
#Fields: datetime priority clientip category message
2024-09-17T17:19:55+00:00WARNING86.88.64.201 assets No asset found for com_modules.module.86, falling back to com_modules
2024-09-17T17:19:55+00:00WARNING86.88.64.201 assets No asset found for com_modules.module.86, falling back to com_modules
2024-09-17T18:18:03+00:00CRITICAL77.168.1.153 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina niet gevonden". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(746): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
#1 [ROOT]/libraries/src/Application/SiteApplication.php(232): Joomla\CMS\Application\SiteApplication->route()
#2 [ROOT]/libraries/src/Application/CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute()
#3 [ROOT]/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#4 [ROOT]/index.php(32): require_once('/var/www/client...')
#5 {main}

I performed a small additional test:
The moment I delete the message in the backend, going to the front end menu it is showing an empty form (errorfree) again.

Best regards, Foleor