Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 160 of 238  Not logged in ELOG logo
icon5.gif   Fixed Attribute fields blank?, posted by Grant Jeffcote on Sat Jun 30 04:58:32 2007 
Hi Stefan,

Not sure if this is my configuration only but in your latest compiled release V2.6.5-1873 when I do a reply or edit on an entry where I have specified Fixed Attributes Edit or Reply these fields now show blank on the entry page? They are still uneditable as a field of course and the text still shows on the list view display page but no text shows in these fields until re/submitted.

Is this a new feature or just mine, reverting back to the previous release restores normality ;o)
    icon2.gif   Re: Fixed Attribute fields blank?, posted by Stefan Ritt on Sat Jun 30 09:48:01 2007 

Grant Jeffcote wrote:
Not sure if this is my configuration only but in your latest compiled release V2.6.5-1873 when I do a reply or edit on an entry where I have specified Fixed Attributes Edit or Reply these fields now show blank on the entry page? They are still uneditable as a field of course and the text still shows on the list view display page but no text shows in these fields until re/submitted.


I'm playing with attributes right now since I'm going to implement a "multiple edit", where one can change attributes of several entries at the same time, but I cannot reproduce your problem with V2.6.5-1874 and this config file:
[demo]
Attributes = Author, Subject
Fixed Attributes Edit = Subject
Fixed Attributes Reply = Subject

Either I fixed it accidentally between 1873 and 1874 or it is config file related. Can you try that version and the little config file above? Since you use Windows, I made a elog265-3 for you. If you find that the little config works and your's doesn't, please send me your config.
       icon2.gif   Re: Fixed Attribute fields blank?, posted by Grant Jeffcote on Sat Jun 30 21:29:30 2007 

Stefan Ritt wrote:

Grant Jeffcote wrote:
Not sure if this is my configuration only but in your latest compiled release V2.6.5-1873 when I do a reply or edit on an entry where I have specified Fixed Attributes Edit or Reply these fields now show blank on the entry page? They are still uneditable as a field of course and the text still shows on the list view display page but no text shows in these fields until re/submitted.


I'm playing with attributes right now since I'm going to implement a "multiple edit", where one can change attributes of several entries at the same time, but I cannot reproduce your problem with V2.6.5-1874 and this config file:
[demo]
Attributes = Author, Subject
Fixed Attributes Edit = Subject
Fixed Attributes Reply = Subject

Either I fixed it accidentally between 1873 and 1874 or it is config file related. Can you try that version and the little config file above? Since you use Windows, I made a elog265-3 for you. If you find that the little config works and your's doesn't, please send me your config.


Great job, thanks Stefan.
Accidental fix, new version works perfectly without any config file change.
icon5.gif   Error sending Email via "XXX.XXX.XXX.XXX", posted by JJ Sheppard on Wed Jun 27 22:01:56 2007 
I read most of the posts and used the -v to see whats happening, all i get is this. It hangs at the "250 HELP" line for about 3 secs then moves on to what is displayed. From the posts it looks like there should be alot more info to see. Any idea on how to get it to display right?

I have telneted into the mail server and tested it, so i know its working that way.

-----------------------------11323166884439--

Email "Case Holder" JJ to jsheppard@XXXX.net

timezone: 18000, offset: -14400

Email from advservices@XXXX.net to jsheppard@XXXX.net, SMTP host XXX.XXX.XXX.XXX:
220 Welcome to the @Mail v4.4 SMTP Server ( Exim )
EHLO server.XXXX.net
250-MX1.SPIDERHOST.COM Hello server.XXXX.net [XXX.XXX.XX.XX]
250-SIZE 10485760
250-PIPELINING
250-AUTH LOGIN
250 HELP
==== Return ================================
HTTP/1.1 302 Found
Server: ELOG HTTP 2.6.5-1844
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Location: http://XXX.XXX.XXX.XXX:8080/2WaySupport/1?error=Error+sending+Email+via+<i>"XXX.XXX.XXX.XXX"</i>
Content-Length: 20
    icon2.gif   Re: Error sending Email via "XXX.XXX.XXX.XXX", posted by Stefan Ritt on Thu Jun 28 17:12:11 2007 

JJ Sheppard wrote:
220 Welcome to the @Mail v4.4 SMTP Server ( Exim )
EHLO server.XXXX.net
250-MX1.SPIDERHOST.COM Hello server.XXXX.net [XXX.XXX.XX.XX]
250-SIZE 10485760
250-PIPELINING
250-AUTH LOGIN
250 HELP


The problem there is that your SMPT server does not reply with
250 OK

which my server does. So elogd was waiting 3 seconds for "OK", and then aborted. I change the code (now in SVN revision 1871) to look for "250 " (with one blank at the end). You have to update from SVN, recompile and try again. Anyhow elogd only supports plain login authentication ("AUTH LOGIN"), which not all SMPT servers accept. You have to see.
       icon2.gif   Re: Error sending Email via "XXX.XXX.XXX.XXX", posted by JJ Sheppard on Fri Jun 29 16:14:16 2007 

Stefan Ritt wrote:

JJ Sheppard wrote:
220 Welcome to the @Mail v4.4 SMTP Server ( Exim )
EHLO server.XXXX.net
250-MX1.SPIDERHOST.COM Hello server.XXXX.net [XXX.XXX.XX.XX]
250-SIZE 10485760
250-PIPELINING
250-AUTH LOGIN
250 HELP


The problem there is that your SMPT server does not reply with
250 OK

which my server does. So elogd was waiting 3 seconds for "OK", and then aborted. I change the code (now in SVN revision 1871) to look for "250 " (with one blank at the end). You have to update from SVN, recompile and try again. Anyhow elogd only supports plain login authentication ("AUTH LOGIN"), which not all SMPT servers accept. You have to see.


This is what I get now, Is this the Auth Login problem you were speaking of?

Email from elog@XXXXX.net to jsheppard@XXXXX.net, SMTP host XXX.XXX.XXX.XXX:
220-server.XXXXXX.net ESMTP Exim 4.66 #1 Fri, 29 Jun 2007 10:03:22 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
EHLO server.tracstar.net
250-server.tracstar.net Hello server.XXXXXX.net [XXX.XXX.XXX.XXX]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
AUTH LOGIN
Username:
XXXXXXXX
Password:
XXXXXXXX
535 Incorrect authentication data
==== Return ================================
HTTP/1.1 302 Found
          icon2.gif   Re: Error sending Email via "XXX.XXX.XXX.XXX", posted by Stefan Ritt on Fri Jun 29 16:16:58 2007 

JJ Sheppard wrote:
This is what I get now, Is this the Auth Login problem you were speaking of?

Email from elog@XXXXX.net to jsheppard@XXXXX.net, SMTP host XXX.XXX.XXX.XXX:
220-server.XXXXXX.net ESMTP Exim 4.66 #1 Fri, 29 Jun 2007 10:03:22 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
EHLO server.tracstar.net
250-server.tracstar.net Hello server.XXXXXX.net [XXX.XXX.XXX.XXX]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
AUTH LOGIN
Username:
XXXXXXXX
Password:
XXXXXXXX
535 Incorrect authentication data


No. It looks like PLAIN LOGIN is supported, but your username/password is wrong. Ask your SMPT system administrator.
             icon2.gif   Re: Error sending Email via "XXX.XXX.XXX.XXX", posted by JJ Sheppard on Fri Jun 29 16:30:46 2007 

Stefan Ritt wrote:

JJ Sheppard wrote:
This is what I get now, Is this the Auth Login problem you were speaking of?

Email from elog@XXXXX.net to jsheppard@XXXXX.net, SMTP host XXX.XXX.XXX.XXX:
220-server.XXXXXX.net ESMTP Exim 4.66 #1 Fri, 29 Jun 2007 10:03:22 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
EHLO server.tracstar.net
250-server.tracstar.net Hello server.XXXXXX.net [XXX.XXX.XXX.XXX]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
AUTH LOGIN
Username:
XXXXXXXX
Password:
XXXXXXXX
535 Incorrect authentication data


No. It looks like PLAIN LOGIN is supported, but your username/password is wrong. Ask your SMPT system administrator.


I dubbed checked it and ran the -t command to make sure it was the right password. Any thing else I can try?

This is whats in the global
SMTP host = XXX.XX.XX.XX
SMTP username = advservices@XXXXX.XXX
SMTP Password = dDE5ODQ=
Use Email From = advservices@XXXX.XXX

and i still get this
250 HELP
AUTH LOGIN
Username:
XXXXX
Password:
XXXXX
535 Incorrect authentication data
                icon2.gif   Re: Error sending Email via "XXX.XXX.XXX.XXX", posted by Stefan Ritt on Fri Jun 29 16:43:23 2007 

JJ Sheppard wrote:
Any thing else I can try?


Maybe advservices instead of advservices@XXXXX.XXX ? Just an idea.
                   icon2.gif   Re: Error sending Email via "XXX.XXX.XXX.XXX", posted by JJ Sheppard on Fri Jun 29 16:54:39 2007 

Stefan Ritt wrote:

JJ Sheppard wrote:
Any thing else I can try?


Maybe advservices instead of advservices@XXXXX.XXX ? Just an idea.


No luck, i am going to setup another account on a different box and try again.

I am having another issue. I am using "Preset Author = $long_name" to set the authors name automatically.
But I also don't want the user to change it so i added "Locked Attributes = Author".

The filed is locked but the name shows up on its own line above the "Fields marked with * are required"

As soon as I remove the "Locked Attributes = Author" it shows up correctly in the Author bar.
                      icon2.gif   Re: Error sending Email via "XXX.XXX.XXX.XXX", posted by Stefan Ritt on Fri Jun 29 16:57:41 2007 

JJ Sheppard wrote:
The filed is locked but the name shows up on its own line above the "Fields marked with * are required"


I fixed that yesterday. Please upgrade to SVN revision 1873.
                         icon2.gif   Re: Error sending Email via "XXX.XXX.XXX.XXX", posted by JJ Sheppard on Fri Jun 29 17:59:54 2007 

Stefan Ritt wrote:

I fixed that yesterday. Please upgrade to SVN revision 1873.


Thanks - That Fixed It!

I am still having the issue with the email, I have tried to accounts (i can get into through thunderbird and webmail just fine) and a different main server and several ways of the username.
I am kind of at a lost of what to do next.
                            icon2.gif   Re: Error sending Email via "XXX.XXX.XXX.XXX", posted by Stefan Ritt on Fri Jun 29 19:29:56 2007 

JJ Sheppard wrote:

Stefan Ritt wrote:

I fixed that yesterday. Please upgrade to SVN revision 1873.


Thanks - That Fixed It!

I am still having the issue with the email, I have tried to accounts (i can get into through thunderbird and webmail just fine) and a different main server and several ways of the username.
I am kind of at a lost of what to do next.


I'm also running out of ideas. You would have to use a network sniffer (like Ethereal) and compare the network traffic between Thunderbird/ELOG and the SMTP server.
                               icon2.gif   Re: Error sending Email via "XXX.XXX.XXX.XXX", posted by JJ Sheppard on Fri Jun 29 20:34:38 2007 

Stefan Ritt wrote:

I'm also running out of ideas. You would have to use a network sniffer (like Ethereal) and compare the network traffic between Thunderbird/ELOG and the SMTP server.


For right now i moved it to the same server that the mail server is. It does not require to be auth as it is a trusted server. I am going to set up another one and keep playing with it. But at least it works now.
icon4.gif   icons\elc_anchor.png is missing ? , posted by toumbi on Thu Jun 28 17:48:40 2007 
the file icons\elc_anchor.png is missing I setup the windows version.
    icon2.gif   Re: icons\elc_anchor.png is missing ? , posted by Stefan Ritt on Thu Jun 28 19:36:06 2007 

toumbi wrote:
the file icons\elc_anchor.png is missing I setup the windows version.


It's contained in http://midas.psi.ch/elog/download/windows/elog265-2.exe
icon5.gif   formating bug : css and Format command, posted by toumbi on Wed Jun 27 14:42:13 2007 new.JPGlog.jpg
Why Gain and G1,G2 .... G8 are on the same line ?
When I create a new entry, attibute 'attribgainname' is not used.( i can see lime color only when i see logged
message.)

here is my config

;liste des attributs
Attributes =CR,Serial,EDA,Experience,Lieu,Type,Gain,G1,G2,G3,G4,G5,G6,G7,G8,Intensité,Seuil bas, Seuil haut

; Combine attributes into singles lines
Format G1 = 1,attribgainname,attribvalue,10,10
Format G2 = 1,attribgainname,attribvalue,10,10
Format G3 = 1,attribgainname,attribvalue,10,10
Format G4 = 1,attribgainname,attribvalue,10,10
Format G5 = 1,attribgainname,attribvalue,10,10
Format G6 = 1,attribgainname,attribvalue,10,10
Format G7 = 1,attribgainname,attribvalue,10,10
Format G8 = 1,attribgainname,attribvalue,10,10

i added in default.css
.attribgainname {
  width:25px;
  background-color:lime;
  border:1px solid #0000FF;
  border-top:1px solid white;
  border-left:1px solid white;
  padding:3px;
}
///////////////////////////////////////////////////////////
    icon2.gif   Re: formating bug : css and Format command, posted by Stefan Ritt on Wed Jun 27 15:06:24 2007 

toumbi wrote:
Why Gain and G1,G2 .... G8 are on the same line ?


Because you specified it! The first "1" in your format forces the attributes to show up on the same line. Just read the manual.


toumbi wrote:

When I create a new entry, attibute 'attribgainname' is not used.( i can see lime color only when i see logged
message.)


The 'attribmainname' is only used for the display page, not for the entry form.
       icon2.gif   Re: formating bug : css and Format command, posted by toumbi on Wed Jun 27 16:02:49 2007 

Stefan Ritt wrote:

Because you specified it! The first "1" in your format forces the attributes to show up on the same line. Just read the manual.

Oups ... I understand better now how to put a new line .
this is my example.
; start a new line G1,G2...G8
Format G1 = 0,attribgainname,attribvalue,10,10
Format G2 = 1,attribgainname,attribvalue,10,10
Format G3 = 1,attribgainname,attribvalue,10,10
Format G4 = 1,attribgainname,attribvalue,10,10
Format G5 = 1,attribgainname,attribvalue,10,10
Format G6 = 1,attribgainname,attribvalue,10,10
Format G7 = 1,attribgainname,attribvalue,10,10
Format G8 = 1,attribgainname,attribvalue,10,10
; start a new line I1,I2...I8
Format I1 = 0,attribgainname,attribvalue,10,10
Format I2 = 1,attribgainname,attribvalue,10,10
Format I3 = 1,attribgainname,attribvalue,10,10
Format I4 = 1,attribgainname,attribvalue,10,10
Format I5 = 1,attribgainname,attribvalue,10,10
Format I6 = 1,attribgainname,attribvalue,10,10
Format I7 = 1,attribgainname,attribvalue,10,10
Format I8 = 1,attribgainname,attribvalue,10,10




Stefan Ritt wrote:

The 'attribmainname' is only used for the display page, not for the entry form.


ok so if you say it is not a bug i can understand but in that case the format command work half in the entry form.
Is it possible to implement it for the next time?

thanks
          icon2.gif   Re: formating bug : css and Format command, posted by Stefan Ritt on Wed Jun 27 16:15:04 2007 

toumbi wrote:
ok so if you say it is not a bug i can understand but in that case the format command work half in the entry form. Is it possible to implement it for the next time?


Yes I will do that.
             icon2.gif   Re: formating bug : css and Format command, posted by toumbi on Wed Jun 27 19:51:39 2007 

Stefan Ritt wrote:

toumbi wrote:
ok so if you say it is not a bug i can understand but in that case the format command work half in the entry form. Is it possible to implement it for the next time?


Yes I will do that.

Thank you , I download and compile myself elogd and it work now.

But I found a line one the french language that make javascritp bug
line 391:
Enter heading level (1, 2 or 3) = Indiquez le niveau d'en-tête (1, 2 ou 3)

=> linkHeading_prompt = 'Indiquez le niveau d'en-tête (1, 2 ou 3)'; there is one more '


my french is better than my english so i can say it is a good translation but the symbole between the letter d and the letter e make exporer 7 bug.

Enter heading level (1, 2 or 3) = Indiquez le niveau d en-tête (1, 2 ou 3) (this work but translation isn't good.


Thanks a lot ! and continue it is a beautiful tool.
                icon2.gif   Re: formating bug : css and Format command, posted by Stefan Ritt on Thu Jun 28 17:18:21 2007 

toumbi wrote:
linkHeading_prompt = 'Indiquez le niveau d'en-tête (1, 2 ou 3)';


I changed the code of elogd to surround the strings with "" such as
linkHeading_prompt  = "Indiquez le niveau d'en-tête (1, 2 ou 3)";

that should do the job. The fix is in SVN, if you need the Windows executable, you have to wait for the next release.
icon5.gif   list of 500 files, posted by chris williams on Sun Jun 24 02:38:31 2007 
How can I have my list accept over 500 entries? I tried increasing the elogd.c (max_n_list)file as stated but the compiler gives me errors. Please help
    icon2.gif   Re: list of 500 files, posted by Stefan Ritt on Mon Jun 25 08:50:38 2007 

chris williams wrote:
How can I have my list accept over 500 entries? I tried increasing the elogd.c (max_n_list)file as stated but the compiler gives me errors. Please help


No way to get so many entries. If you just increase the value and recompile, you will get stack and heap overflows in the program. Why do you need so many entries? Can you explain? Maybe there is another way to achieve this.
       icon2.gif   Re: list of 500 files, posted by chris williams on Mon Jun 25 18:14:44 2007 
Thanks for the response. I am trying to use it as a file database, to monitor the status of files(whether they have been removed, ammended etc), currently there are 90 files but I expect the size to grow.
          icon2.gif   Re: list of 500 files, posted by Stefan Ritt on Mon Jun 25 19:22:01 2007 

chris williams wrote:
Thanks for the response. I am trying to use it as a file database, to monitor the status of files(whether they have been removed, ammended etc), currently there are 90 files but I expect the size to grow.


Of course you can put any number of entries into a logbook, each having only one file as attachment.
             icon2.gif   Re: list of 500 files, posted by chris williams on Tue Jun 26 01:56:05 2007 
True, thanks.
icon5.gif   sorting a drop down menu in elog, posted by chris williams on Sun Jun 24 00:12:15 2007 
Hi, I was wondering, how can I insert new items into my drop down menu and have them appear in an alphabetical order? Is there some sort of code I can insert into the config file to do so?
Thanks
    icon2.gif   Re: sorting a drop down menu in elog, posted by Stefan Ritt on Mon Jun 25 08:46:55 2007 

chris williams wrote:
Hi, I was wondering, how can I insert new items into my drop down menu and have them appear in an alphabetical order? Is there some sort of code I can insert into the config file to do so?
Thanks


No, you have to sort them by hand in the config file.
       icon2.gif   Re: sorting a drop down menu in elog, posted by chris williams on Mon Jun 25 18:15:24 2007 
ok...thanks much.
icon6.gif   How long should it taken for new entry with attachments?, posted by An Thai on Tue Jun 19 23:21:52 2007 
Hello,

shortly I have a new issue of entry with attachments.
I try to re-produce the problem and find out that elog service needs very long to serve an entry with attachments.

Normally it takes about 3 seconds after the button SUBMIT is clicked to open the confirm page (ca. 20 recipients).

But when an user tries to enter a new entry and attach a file (about 500 Kb or greater) or some files (total of 500 Kb or greater), it takes several minutes and his browser displays "the page can not be opened"
In this time intervall, elog service runs with 100% CPU server recource.

My questions are:

  • is there a form to calculate or estimate how long Elog needs to serve an new entry with attachment? (for example: Summary or multiplication of recipients and large of files) It will help to make a comment to warn users.

  • Could you please make the SUBMIT button disable after clicked? Because it happens that my users click it many times after enter a new entry with big attachments.

Thank in advance and best regards.
    icon2.gif   Re: How long should it taken for new entry with attachments?, posted by Stefan Ritt on Wed Jun 20 18:20:01 2007 

An Thai wrote:
I try to re-produce the problem and find out that elog service needs very long to serve an entry with attachments.

Normally it takes about 3 seconds after the button SUBMIT is clicked to open the confirm page (ca. 20 recipients).

But when an user tries to enter a new entry and attach a file (about 500 Kb or greater) or some files (total of 500 Kb or greater), it takes several minutes and his browser displays "the page can not be opened"
In this time intervall, elog service runs with 100% CPU server recource.


This can be related you your email server. Attachments are converted into some ASCII form (base64 encoding), which increases their size by 2-3x. Some email servers are slow in receiving multi-MB data. Can you try to switch off the email attachments in the notification with
Email format = 111

This does not send attachments in email, just their names. If your performance gets much better then, it is related to your email server, and I cannot do anything. So just keep it then turned off.
icon5.gif   Preset Date and Time, posted by David Egolf on Fri Jun 15 18:25:07 2007 
Is there a way to have the preset date and time and add a set additional time? I do Preventative maintenance and want to add a default 30 days or 90 days to the preset date and time in a datetime field.

Thanks

David Egolf
    icon2.gif   Re: Preset Date and Time, posted by Stefan Ritt on Fri Jun 15 18:54:10 2007 

David Egolf wrote:
Is there a way to have the preset date and time and add a set additional time? I do Preventative maintenance and want to add a default 30 days or 90 days to the preset date and time in a datetime field.


No, this is not possible. You have to use the build in calendar to set the correct date. But since you can flip months with a button, this should be straight forward.
ELOG V3.1.5-3fb85fa6