Page 1 of 1

error field type "SOURCESELECT" from custom fields

PostPosted: Thu May 06, 2021 10:16 am
by vitox
Hello everyone,

I have a problem with the field type "SOURCESELECT" from custom fields, I want to use the "auto-refreshing" function but when I configure it, it keeps "refreshing ... "

when I check the log I see the following error.

Code: Select all
[Wed May 05 20:35:02.764963 2021] [php7:error] [pid 1684] [client IP:53001] script '/srv/www/htdocs/agc/vdc_form_display_encrypt.php' not found or unable to stat, referer: https://SERVER/agc/vdc_form_display.php?lead_id=103434&list_id=20002&stage=DISPLAY&submit_button=YES&user=admin&pass=PASS&bcrypt=ON&bgcolor=E6E6E6


the file "vdc_form_display_encrypt.php" does not exist in the AGC directory

Vicibox 9.0.3
Version: 2.14b0.5 - 2.14-812a
SVN Version: 3438
DB Schema Version: 1633
BUILD: 210429-1624

regards
Victor L.

Re: error field type "SOURCESELECT" from custom fields

PostPosted: Thu May 06, 2021 1:56 pm
by mflorell
Looks like something I left in there while testing on our hosted encryption module. If you just go into the vdc_form_display.php script and replace "vdc_form_display_encrypt.php" with "vdc_form_display.php" it should work correctly.

I'll see if I can fix that in svn/trunk later today.

Thanks!

Re: error field type "SOURCESELECT" from custom fields

PostPosted: Thu May 06, 2021 5:29 pm
by mflorell
This should be fixed now in svn/trunk revision 3439.

Re: error field type "SOURCESELECT" from custom fields

PostPosted: Fri May 07, 2021 9:49 am
by vitox
awesome!, thank you very much

Re: error field type "SOURCESELECT" from custom fields

PostPosted: Fri May 07, 2021 4:01 pm
by vitox
I checked the svn/trunk revision 3439,now the error doesn't appear, but it still does not update the information in SOURCESELECT, I have set it as follows:

Field Label 1: P1
Field Name 1: P1
Field Type 1: SELECT
Field Options 1:
,
A,A
B,B
C,C

Field Label 2: P2
Field Name 2: P2
Field Type 2: SOURCESELECT
Field Options 2:
source=>P1
value=>A
option=>September|September
option=>October|October
value=>B
option=>June|June
option=>July|July
option=>August|August
value=>C
option=>January|January
option=>February|February
option=>March|March
value=>
option=>|no match


In the form when P1 is modified, in P2 only appears "no match". Maybe I'm doing something wrong, if you could help me.

Regards
Victor L.

Re: error field type "SOURCESELECT" from custom fields

PostPosted: Sat May 08, 2021 9:02 am
by mflorell
Looks like I left some debug code in place when I committed the code. It should be fixed now, please update to svn/trunk revision 3440 and test again.

Re: error field type "SOURCESELECT" from custom fields

PostPosted: Sat May 08, 2021 10:55 am
by vitox
now it works perfect, thank you very much!

regards
Victor L.

Re: error field type "SOURCESELECT" from custom fields

PostPosted: Sat May 08, 2021 11:56 am
by mflorell
You're very welcome, thanks for the quick feedback!