Can't enter new entries

Phoca Guestbook - creating guestbooks in Joomla! CMS
Foleor
Phoca Member
Phoca Member
Posts: 23
Joined: 18 Nov 2011, 11:20

Can't enter new entries

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Can't enter new entries

Post 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.
Foleor
Phoca Member
Phoca Member
Posts: 23
Joined: 18 Nov 2011, 11:20

Re: Can't enter new entries

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Can't enter new entries

Post 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
Foleor
Phoca Member
Phoca Member
Posts: 23
Joined: 18 Nov 2011, 11:20

Re: Can't enter new entries

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

Re: Can't enter new entries

Post 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
If you find Phoca extensions useful, please support the project
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Can't enter new entries

Post 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
Foleor
Phoca Member
Phoca Member
Posts: 23
Joined: 18 Nov 2011, 11:20

Re: Can't enter new entries

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Can't enter new entries

Post by Benno »

Hi,
see: viewtopic.php?p=182031#p182031

Kind regards,
Benno
Foleor
Phoca Member
Phoca Member
Posts: 23
Joined: 18 Nov 2011, 11:20

Re: Can't enter new entries

Post 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
Post Reply