Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 651 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Categorydown 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.
  2256   Wed Jun 27 14:42:13 2007 Question toumbitoumbi@yopmail.comBug reportWindows2.6.5-1855formating bug : css and Format command
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;
}
///////////////////////////////////////////////////////////
Attachment 1: new.JPG
new.JPG
Attachment 2: log.jpg
log.jpg
  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.
  2258   Wed Jun 27 16:02:49 2007 Reply toumbitoumbi@yopmail.comBug reportWindows2.6.5-1855Re: formating bug : css and Format command

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
  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.
  2260   Wed Jun 27 19:51:39 2007 Reply toumbitoumbi@yopmail.comBug reportWindows2.6.5-1855Re: formating bug : css and Format command

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.
  2267   Thu Jun 28 17:18:21 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.6.5-1855Re: formating bug : css and Format command

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.
  2271   Thu Jun 28 17:48:40 2007 Warning toumbitoumbi@yopmail.comBug reportWindows2.6.5.1855icons\elc_anchor.png is missing ?
the file icons\elc_anchor.png is missing I setup the windows version.
ELOG V3.1.5-3fb85fa6