Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 193 of 806  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  2243   Tue Jun 12 17:13:28 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux | Windows2.6.0-b4Re: Post appearing twice
I finally found and fixed the problem with the help of Alan Grant. It happens when three things are used together:

  1. Locking (via use lock = 1)
  2. Attributes containing '/' characters
  3. Required attributes are used with attributes containing '/'

The '/' in the attribute crashes actually the JavaScript code for checking the required attributes and thus you have two submissions.

The bug is fixed in SVN revision 1866 and will be contained in the next release.
  2245   Fri Jun 15 18:54:10 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindowslatestRe: Preset Date and Time

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.
  2247   Wed Jun 20 18:20:01 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.5.1863Re: How long should it taken for new entry with attachments?

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.
  2250   Mon Jun 25 08:46:55 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.5-1869Re: sorting a drop down menu in elog

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.
  2251   Mon Jun 25 08:50:38 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.5-1869Re: list of 500 files

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.
  2254   Mon Jun 25 19:22:01 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.5-1869Re: list of 500 files

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.
  2257   Wed Jun 27 15:06:24 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.6.5-1855Re: formating bug : css and Format command

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.
  2259   Wed Jun 27 16:15:04 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.6.5-1855Re: formating bug : css and Format command

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.
ELOG V3.1.5-3fb85fa6