Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 322 of 807  Not logged in ELOG logo
    icon2.gif   Re: elogd Service exited with abnormal code: 1, posted by Stefan Ritt on Wed May 1 10:59:59 2019 
Ok, that helped. It looks to me that the strlcpy() function from MacOSC does not like overlapping stings as parameters. Funny that this does not happen
on my Mac (Mojave 10.14.4). I fixed the two cases you reported (lines 18712 and 19021) and committed the changes to bitbucket, from where you can pull
and test it again (see https://elog.psi.ch/elog/download.html for instructions). If it happens
    icon2.gif   Re: Last default = <n>, posted by Stefan Ritt on Wed May 1 11:06:04 2019 
It works for me. Have you tried other values (1, 3, 7, ..)? The key is that the quick filter changes to "Last month". If it does not, there
must be some trivial error, like type in elogd.cfg, you modify the wrong logbook, have a very old version of elog etc.

Stefan
    icon2.gif   Re: Last default = <n>, posted by Stefan Ritt on Wed May 1 11:08:10 2019 
You say "Show Last Default = 31". This options applies only to the "Find" page, the option "Last Default = 31" works for
the quick filter. Probably you have to change "Show Last Default" to "Last Default".

Stefan
    icon2.gif   Re: Last default = <n>, posted by Stefan Ritt on Fri May 3 15:50:39 2019 Screenshot_2019-05-03_at_9.48.16_.png
I just tried your elogd.cfg, and it works fine for me. So no idea what is wrong in your case.

Stefan
    icon2.gif   Re: Last default = <n>, posted by Stefan Ritt on Fri May 3 16:22:23 2019 
Yes I always run the current version from bitbucket. I haven't touched that code for "last default" since a long time, so I don't expect
the verison to make a difference. Unfortuantely I have not Windows Server or IE for testing.




Alan
    icon2.gif   Re: Last default = <n>, posted by Stefan Ritt on Fri May 3 16:48:47 2019 
Indeed you're right (my memory is fading, argh). Please try 3.1.4.

Stefan




Alan
    icon2.gif   Re: Does there is a way to no the $message_id when creating a new submission, posted by Stefan Ritt on Thu May 9 16:42:13 2019 
No, the message ID gets assigned only when you submit the entry.

Stefan




Lagarde
    icon2.gif   Re: Execute attribute, posted by Stefan Ritt on Fri May 10 08:19:08 2019 
I don't understand your question. There is no "inline" vs. "external" script. Using the "execute new = <command>",
you run a script on the server side. Can be powershell under Windows or bash/csh under Linux. I remember however that there has been issues under recent
windows in passing parameters to the shell. Linux certainly works fine, we usse it all the time.
ELOG V3.1.5-3fb85fa6