Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 234 of 236  Not logged in ELOG logo
icon4.gif   Error while trying to change password (elogd 2.1.0), posted by Stefan Siegel on Mon Aug 12 11:01:51 2002 
When logging in with a username and password; then trying to logout or 
change password one gets the following message:

Error: Parameter value too big. Please increase VALUE_SIZE and recompile 
elogd ; Please use your browser's back button to go back 

(up to now I have not yet tried to recompile - may be it works then)

Regards,

Stefan
    icon2.gif   Re: Error while trying to change password (elogd 2.1.0), posted by Stefan Ritt on Mon Aug 12 17:04:30 2002 
> When logging in with a username and password; then trying to logout or 
> change password one gets the following message:
> 
> Error: Parameter value too big. Please increase VALUE_SIZE and recompile 
> elogd ; Please use your browser's back button to go back 
> 
> (up to now I have not yet tried to recompile - may be it works then)

That's strange. This error should only occur if someone uses a user name or 
password with more than 256 characters, which I hope is not the case. Have 
you tried changing your password etc. in this forum? It also runs 2.1.0 on 
Linux.

I made a version under 

http://midas/cgi-bin/cvsweb/~checkout~/elog/elogd.c?rev=2.67&content-
type=text/plain

which has improved error output for this problem, maybe this helps.
       icon2.gif   Re: Error while trying to change password (elogd 2.1.0), posted by Stefan Siegel on Wed Aug 14 13:44:12 2002 
> > When logging in with a username and password; then trying to logout or 
> > change password one gets the following message:
> > 
> > Error: Parameter value too big. Please increase VALUE_SIZE and recompile 
> > elogd ; Please use your browser's back button to go back 
> > 
> > (up to now I have not yet tried to recompile - may be it works then)
> 
> That's strange. This error should only occur if someone uses a user name or 
> password with more than 256 characters, which I hope is not the case. Have 
> you tried changing your password etc. in this forum? It also runs 2.1.0 on 
> Linux.
> 
> I made a version under 
> 
> http://midas/cgi-bin/cvsweb/~checkout~/elog/elogd.c?rev=2.67&content-
> type=text/plain
> 
> which has improved error output for this problem, maybe this helps.

Hi, 

changed the VALUE_SIZE from 256 to 512. That seems to fix the problem.

Regards,

Stefan
icon5.gif   self-registration, posted by tony summerfelt on Fri Aug 9 21:10:20 2002 
i seem to be unable to find a clear explanation of how to enable self-registration in the docs.

just to be sure i grepped the doc directory, but the two references to it were in the changelog and the faq.

it could be just me but i'm not reading between the lines or connecting the various places in the docs to get it going :/
    icon2.gif   Re: self-registration, posted by Stefan Ritt on Sat Aug 10 13:00:26 2002 elogd.cfg
> i seem to be unable to find a clear explanation of how to enable self-
registration in the docs.
> 
> just to be sure i grepped the doc directory, but the two references to it 
were in the changelog and the faq.
> 
> it could be just me but i'm not reading between the lines or connecting the 
various places in the docs to get it going :/

Sorry, I haven't fully documented it yet, will do on Monday next week. For 
now, see the configuration file for this forum which is attached.
       icon2.gif   Re: self-registration, posted by tony summerfelt on Sun Aug 11 18:45:08 2002 
> Sorry, I haven't fully documented it yet, will do on Monday next week. For 
> now, see the configuration file for this forum which is attached.

that's ok. i just wanted to make sure that i hadn't missed something. i'm eventually switching over my entire dial up bbs, to my web page, with elog being the message system. self-registration was the last piece of the puzzle for me :)
icon5.gif   Edit an existing message overwrites attributes with preset values, posted by Stefan Siegel on Fri Aug 9 12:40:23 2002 
Hello,

Is there a possibility to prevent elog to overwrite attribute values when 
editing an old message? The old values are overwriten with the preset 
options for that attribute. 
But sometimes you will preserve attribute text and /or options from the old 
message.

Thank you for your help. Regards,

Stefan
    icon2.gif   Re: Edit an existing message overwrites attributes with preset values, posted by Stefan Ritt on Fri Aug 9 12:50:58 2002 
> Is there a possibility to prevent elog to overwrite attribute values when 
> editing an old message? The old values are overwriten with the preset 
> options for that attribute. 
> But sometimes you will preserve attribute text and /or options from the old 
> message.

The option "Fixed attributes = ..." will do the job.
       icon2.gif   Re: Edit an existing message overwrites attributes with preset values, posted by Stefan Siegel on Fri Aug 9 13:04:58 2002 
> > Is there a possibility to prevent elog to overwrite attribute values when 
> > editing an old message? The old values are overwriten with the preset 
> > options for that attribute. 
> > But sometimes you will preserve attribute text and /or options from the 
old 
> > message.
> 
> The option "Fixed attributes = ..." will do the job.

Ok, but is there a possibility to preserve the fields of the old message, but 
still be able to edit it. This would be a nice feature in the case of an entry 
with lots of attributes (set to something different then the preset values). 
After submiting the message you realize : one option was wrong and now you 
want to edit it without changing the other options again.
Is this possible?

Thank you and best regards,

Stefan
          icon5.gif   Re: Edit an existing message overwrites attributes with preset values, posted by Stefan Ritt on Fri Aug 9 14:59:17 2002 
> Ok, but is there a possibility to preserve the fields of the old message, 
but 
> still be able to edit it. This would be a nice feature in the case of an 
entry 
> with lots of attributes (set to something different then the preset 
values). 
> After submiting the message you realize : one option was wrong and now you 
> want to edit it without changing the other options again.
> Is this possible?

Actually this is a good idea. After thinking a while, I wonder if anybody at 
all would like not to preserve the preset values. So if nobody complains, I 
will set the behaviour such that elog always preserves the entries if one 
edits an existing message.
icon5.gif   problem with required attributes, posted by Stefan Siegel on Wed Aug 7 15:43:28 2002 
When an entry is submitted with an required attribute missing one gets to 
the resubmit page. When you the click your browsers back button all 
previously filled attribute field are blank.

Is there a workaround to get the old text back?

used versions:
Elog 2.0.5
Netscape 4.76

Best regards,

Stefan
    icon2.gif   Re: problem with required attributes, posted by Stefan Ritt on Wed Aug 7 15:51:18 2002 
> When an entry is submitted with an required attribute missing one gets to 
> the resubmit page. When you the click your browsers back button all 
> previously filled attribute field are blank.
> 
> Is there a workaround to get the old text back?
> 
> used versions:
> Elog 2.0.5
> Netscape 4.76
> 
> Best regards,
> 
> Stefan

This problem must be specific to NS 4.76, I don't have it on IE, NS 6, Mozilla
1, Opera etc. Maybe you should upgrade. Anybody else made this observation? 
icon5.gif   Compiling elog 2.0.4 on Solaris, posted by Christian Korschan on Mon Jul 8 21:01:00 2002 
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 :-(
    icon2.gif   Re: Compiling elog 2.0.4 on Solaris, posted by Stefan Ritt on Tue Jul 9 09:33:47 2002 
> 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.
       icon2.gif   Re: Compiling elog 2.0.4 on Solaris, posted by Christian Korschan on Wed Jul 24 17:29:00 2002 
> > 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);
$ 
          icon2.gif   Re: Compiling elog 2.0.4 on Solaris, posted by Joe Nall on Sat Aug 3 17:35:39 2002 
> > > 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);
> $ 
I am having the same experience with ELOG 2.0.5 and Solaris 8. Any work 
around woud be appreciated.
             icon2.gif   Re: Compiling elog 2.0.4 on Solaris, posted by Stefan Ritt on Tue Aug 6 16:14:42 2002 
> > > > 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);
> > $ 
> I am having the same experience with ELOG 2.0.5 and Solaris 8. Any work 
> around woud be appreciated.

I removed also scandir() in the current version (right now only in CVS). The 
official release of 2.1.0 is planned for next week.
icon3.gif   New beta version of ELOG, testing required, posted by Stefan Ritt on Tue Aug 6 15:52:09 2002 
Hi,

I added many features to ELOG recently, but before making a new release, I 
would like some beta testing. In addition to the current modes of 
operation, a logbook can be configured to require a user to be logged in to 
submit new messages. If not logged it, one can only read messages. To 
obtain a new account, one can do a self-registering. In this process, one 
can also enter the email address which is then filled in automatically on 
new logbook entries.

So please go to the forum logbook, create a new account for yourself and 
try things out. If there is any problem, please let me know.

Many thanks in advance, Stefan Ritt.
icon5.gif   Scroll box for attributes, posted by mo on Tue Jul 30 17:33:24 2002 
Hello,
   If you have the text box turned off so you only enter attributes, is it 
possible to have a couple of attributes that have small scroll through text 
boxs of a couple of lines rather than just one line?   Like not as big as 
the regular text box but something small to be able to post a couple of 
lines in and if it gets bigger then you scroll down.  For instance if you 
are posting a problem and a solution just have one small text box for the 
problem and one for the solution.

Thanks,
Mo
    icon2.gif   Re: Scroll box for attributes, posted by Stefan Ritt on Tue Jul 30 17:54:53 2002 
> Hello,
>    If you have the text box turned off so you only enter attributes, is it 
> possible to have a couple of attributes that have small scroll through text 
> boxs of a couple of lines rather than just one line?   Like not as big as 
> the regular text box but something small to be able to post a couple of 
> lines in and if it gets bigger then you scroll down.  For instance if you 
> are posting a problem and a solution just have one small text box for the 
> problem and one for the solution.

Having multi-line attributes would be pretty difficult since it would break 
the way the database works (one attribute at a line). So for now, you have to 
use the text box and the reply functionality to deal with problems and fixes 
(like for this entry).
icon4.gif   elogd.cfg cannot be saved, posted by Mo on Thu Jul 25 19:17:13 2002 
Hello,
    In the newest version of eLog, I was having trouble saving the 
configurations once I change them through the web interface.  I can change 
them and save them fine if I do it in notepad; but that way you have to 
restart the elogd server.  I think this is a bug on the new version unless 
I am doing something wrong.  Also I was wondering if you were going to add 
any of the wish list items on version 2.0.6 (Conditional attributes seems 
to have the most votes and would be an extremely helpful feature!! :-).  
Thank You.

Mo.
    icon2.gif   Re: elogd.cfg cannot be saved, posted by Stefan Ritt on Fri Jul 26 10:47:21 2002 
>     In the newest version of eLog, I was having trouble saving the 
> configurations once I change them through the web interface.  

I found a problem in the elogd.c code, which might cause that proplem 
sometimes. The fix is available from

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

If you need a windows executable, please let me know.

> I can change 
> them and save them fine if I do it in notepad; but that way you have to 
> restart the elogd server.

That should not be necessary, since elogd reads in the configuration file at 
each access, so it can be modified externally without problem (although the 
internal configuration should be the preferred way...)

> Also I was wondering if you were going to add 
> any of the wish list items on version 2.0.6 (Conditional attributes seems 
> to have the most votes and would be an extremely helpful feature!! :-).  

I will have some spare time towards the end of August, so I hope to work on 
these requests next month.
ELOG V3.1.5-3fb85fa6