Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 595 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  1063   Thu Apr 7 00:51:05 2005 Agree David Brodydbrody@echo-inc.comQuestionWindows2.5.8.2Re: Conditional Attributes/Preset Text
> > I upgraded from ver 2.5.5-2 to 2.5.8-2 and found that none of my preset text
> > worked any longer.  I struggled with it for several hours and then reverted
> > back to 2.5.5-2 and the preset text worked again.  I have attached my
> > elgd.cfg file for review.  Thanks in advance for your help...
> 
> Your config file really helped. You found a bug which happens only if one uses
> conditions with lowercase letters, so that's why nobody else saw it before. I
> fixed it and released V2.5.8-3

Thanks for the information.

ELOG is terrific!
  65905   Fri Jun 6 11:24:49 2008 Reply Stefan Rittstefan.ritt@psi.chQuestion 2.7.3-2104Re: Conditional Attributes Boolean?

Grant Jeffcote wrote:
After searching the manual and not finding (missing?) the answer is it possible to add conditional statements to a Boolean attribute? I would like a tick box to be able to trigger an event when submitted.


Conditions are not possible with boolean attributes. You have to define the attribute as a list like

Attributes = ..., Flag, ...
Options Flag = Yes{0}, No{1}

{0} ...

{1} ...
  901   Thu Feb 3 16:48:41 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux | WindowsV2.5.6-1Re: Conditional attributes does not work in French
> I am very much interested in using elog as a shift logbook for SOLEIL
> accelerators.

Hey, elog made it to SOLEIL! You know, we run it here at the SLS...

> I tested most of the options. Every thing works well except the conditional
> attributs when French language is selected. In this case, I lost the
> selected list option in the Field Equipement.

There was indeed a bug which only happend when switching to French! Some
javascript code contained

confirm('Erreur: l'attribute .... ')

So the "'" in l'attribute finished the string and Javascript stopped working. I
changed the quotes to

confirm("Erreur: l'attribute .... ")

so it works now. The new version is under CVS.

- Stefan
  65684   Wed Jan 9 11:00:21 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.7.0-1964Re: Completed Swedish translation

Kenneth Andersson wrote:

I have completed the Swedish translation and wonder how I can deliver it (if it´s still needed)?

Sure, it's always welcome. Just email it to me.

  861   Wed Dec 22 12:56:44 2004 Reply Stefan Rittstefan.ritt@psi.chOtherAll Re: Complete Bulgarian translation
Thanks, the file will be contained in the next release.
  158   Thu Nov 14 13:00:24 2002 Idea Willem KosterW.Koster@rc.rug.nl   Re: Compiling elog-2.2.2 in Solaris 8
From: http://elog.sourceforge.net/

Solaris

It was reported by Martin Huber that under Solaris 7 following command must 
be used to compile elog:

gcc -L/usr/lib/ -ldl -lresolv -lm -ldl -lnsl -lsocket elogd.c -o elogd

It was also reported that the keep-alive mechanism is not working under some 
Solaris systems, so you need to start the elogd server with the "-k" flag to 
turn keep-alives off. 



Yep... does the job.
(even with 2.2.2 under Sol 8)
  62   Tue Jul 9 09:33:47 2002 Reply Stefan Rittstefan.ritt@psi.chBug fix  Re: Compiling elog 2.0.4 on Solaris
> Comiling elogd 2.0.4 under Solaris obviously fails with
> 
> gcc  -o elog elog.c -lsocket -lnsl
> gcc  -o elogd elogd.c -lsocket -lnsl
> elogd.c: In function `ss_file_find':
> elogd.c:1372: `alphasort' undeclared (first use in this function)
> elogd.c:1372: (Each undeclared identifier is reported only once
> elogd.c:1372: for each function it appears in.)
> make: *** [elogd] Error 1
> 
> because alphasort is an ucb'ism which does not exist under SYSV
> 
> ... not very portable :-(

I was not aware of this. Actually, I don't need 'alphasort' so I removed it 
from the source. The update is at

http://midas.psi.ch/cgi-bin/cvsweb/elog/elogd.c

Please give it a try.
  84   Wed Jul 24 17:29:00 2002 Reply Christian KorschanChristian.Korschan@CTBTO.ORGBug report  Re: Compiling elog 2.0.4 on Solaris
> > Comiling elogd 2.0.4 under Solaris obviously fails with
> > 
> > gcc  -o elog elog.c -lsocket -lnsl
> > gcc  -o elogd elogd.c -lsocket -lnsl
> > elogd.c: In function `ss_file_find':
> > elogd.c:1372: `alphasort' undeclared (first use in this function)
> > elogd.c:1372: (Each undeclared identifier is reported only once
> > elogd.c:1372: for each function it appears in.)
> > make: *** [elogd] Error 1
> > 
> > because alphasort is an ucb'ism which does not exist under SYSV
> > 
> > ... not very portable :-(
> 
> I was not aware of this. Actually, I don't need 'alphasort' so I removed it 
> from the source. The update is at
> 
> http://midas.psi.ch/cgi-bin/cvsweb/elog/elogd.c
> 
> Please give it a try.

ok - i just continued with 2.0.5, but apparently it still has an UCB'ism
(scandir) that does not work under SYSV:

$ make
gcc -g -o elogd elogd.c -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
scandir                             /tmp/ccy0Z3iV.o
ld: fatal: Symbol referencing errors. No output written to elogd
collect2: ld returned 1 exit status
make: *** [elogd] Error 1
$ egrep scandir elogd.c
  n = scandir(path, &namelist, NULL, NULL);
$ 
ELOG V3.1.5-3fb85fa6