Page 1 of 1

Error in Restaurantmenü by saving Weekmenü Mail konfigration

Posted: 18 Feb 2022, 13:41
by GeraldBerger
Hallo Jan
by save this msg is show up where is the Field? Fehler Field 'replto' dosen´t have a default value.
I use the Pro Version on Joomla 4

Re: Error in Restaurantmenü by saving Weekmenü Mail konfigration

Posted: 20 Feb 2022, 23:34
by Jan
Hi, can you paste a screenshot of the error here? There is no field "replto" :idea: Do you mean "replyto"? Can you enable debug mode to see if you get more detailed information (including file and row where this problem occurs)

Thank you, Jan

Re: Error in Restaurantmenü by saving Weekmenü Mail konfigration

Posted: 23 Feb 2022, 16:03
by GeraldBerger

Re: Error in Restaurantmenü by saving Weekmenü Mail konfigration

Posted: 26 Feb 2022, 18:39
by Jan
Hi, thank you for the screenshot, I am testing now, no problem there.

Can you exactly describe where this happens, so I can test it properly. Is this here?

Components - Phoca Restaurant Menu - Weekly Menu - Email (Send and Save or Save)?

Did you install PRM from scratch or did you do some upgrade (where e.g. the columns in database are with obsolete format)?

Jan

Re: Error in Restaurantmenü by saving Weekmenü Mail konfigration

Posted: 01 Mar 2022, 17:03
by GeraldBerger
I completely reinstalled the restaurant menu, it happens when you save Send and Save. The Version is 4.0.0Alpha2 Pro

Re: Error in Restaurantmenü by saving Weekmenü Mail konfigration

Posted: 01 Mar 2022, 20:25
by Jan
Hmmm, testing now, no problem there, try to open this file on your server:

administrator/components/com_phocamenu/controllers/phocamenuemail.php

and on line cca 193 add following code:

Code: Select all

if (!isset($data['replyto'])) {
			$data['replyto'] = '';
		}
Does this change anything?

Jan

Re: Error in Restaurantmenü by saving Weekmenü Mail konfigration

Posted: 02 Mar 2022, 10:08
by GeraldBerger
I put The Code into the File but Send is OK save and Send dosent work too

Re: Error in Restaurantmenü by saving Weekmenü Mail konfigration

Posted: 05 Mar 2022, 00:17
by Jan
Hi, yes, this should affect only "Send and Save" as Send does not save values.

So the only idea is to change the columns in database. I will try to change it for next version.

If you are able to change database columns, try to change the table jos_phocamenu_email, column "replyto" and set the default value to empty string (no value there)

Image

Jan

Re: Error in Restaurantmenü by saving Weekmenü Mail konfigration

Posted: 13 Mar 2022, 10:47
by GeraldBerger
it works but the Field replytoname needs the same procedure

Thank you Jan

Re: Error in Restaurantmenü by saving Weekmenü Mail konfigration

Posted: 15 Mar 2022, 13:31
by Jan
Hi, thank you for the information, this will be set for the next version.

Jan