Error in Restaurantmenü by saving Weekmenü Mail konfigration

Phoca Restaurant Menu - restaurant menu manager
GeraldBerger
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 04 Oct 2011, 16:31

Error in Restaurantmenü by saving Weekmenü Mail konfigration

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

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

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48378
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
GeraldBerger
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 04 Oct 2011, 16:31

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

Post by GeraldBerger »

I completely reinstalled the restaurant menu, it happens when you save Send and Save. The Version is 4.0.0Alpha2 Pro
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48378
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
GeraldBerger
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 04 Oct 2011, 16:31

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

Post by GeraldBerger »

I put The Code into the File but Send is OK save and Send dosent work too
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48378
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
GeraldBerger
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 04 Oct 2011, 16:31

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

Post by GeraldBerger »

it works but the Field replytoname needs the same procedure

Thank you Jan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48378
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, thank you for the information, this will be set for the next version.

Jan
If you find Phoca extensions useful, please support the project
Post Reply