Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 613 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  1032   Tue Mar 29 13:29:56 2005 Reply Alex Ha.herrmannsynergie-inf.comBug reportWindowsV2.5.8-1Re: Preset text Dont work more!
> > I'am using Elog V2.5.8-1 and the "Preset Text" option don't work more 
since 
> > I've updated Elog. could you fix it?
> 
> I tried with the example elogd.cfg and it worked there, so it must have 
to do
> with your special configuration. Can you send me your elogd.cfg so that I 
could
> reproduce your problem?
> 
> - Stefan

Hello Stefan,
Here is my elogd.cfg.
I hope this will help you :)

when we be released the next elog version who correct the crash of Protect 
Selection page = 1 ?
thanks for all
Attachment 1: elogd.cfg
[global]
; on reste en anglais car les textes francais sont trop longs
;Language = french
port = 8081
URL = http://elog/
logbook tabs = 1
Date format = %A %d/%m/%y
Time format = %d/%m/%y %H:%M


password file = passwords.txt
Login expiration = 24
Protect Selection page = 0 
Self register = 1
Admin user = MN, FC, AHN
Login User = MN, FC, AHN

SMTP host = 
Suppress Email to users = 1



; attributs communs
options Client = a, b, c, ALL,
;options Equipment = RT0001, RT0002, RT0003, RT0004, RT0005, RT0006, RT0007, RT0008, RT0009, RT0010, RT0011, RT0012, RT0013, SP0001, FWL0001, FWL0002, FWL0003, FWL0004, FWL0005, FWL0006, FWL0007, FWL0008, FWL0009, FWL0010, FWL0011, FWL0012, FWL0013, FWL0014, FWL0015, FWL0016, FSPARE0001, FSPARE0002, FWL0017

Group  Infogérance =  Liste Routeurs & Firewall, Routeurs, Problems, Knowledge Base
Group Draft = Demo

[Routeurs]
Theme = Bubble
Comment = Gestion des routeurs
Attributes = Author, Client, Equipment, Category, Summary
Preset Author = $short_name
Options Category = Modification, Update, Correction, Installation, Autre
Page Title = ELOG - $Equipment

Required Attributes = Client, Equipment, Category
Locked Attributes = Author
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Client, Equipment, Category

[Problems]
Theme = Bubble
Comment = Problemes
Attributes = Author, PbType, PbStatus, Priority, Client, Equipment, Description
Options PbType = Event, System, Applic, Other
Options PbStatus = Reported, Confirmed, Investigating, Testing, Solved, Suspended
Options Priority = 1 Critical, 2 Urgent, 3 Normal, 4 Background, 5 Low
Required Attributes = Author, PbType, PbStatus, Priority, Description
Quick Filter = Author, PbStatus, PbType
Locked Attributes = Author
Fixed Attributes Reply = PbType
Preset Author = $short_name
Display mode = threaded
Reverse Sort = 1
Quote On Reply = 0

[Knowledge Base]
Theme = Bubble
Comment = Gestion des problèmes
Attributes = Author, Software, Summary, Status
List display = Date, Software, Summary, Status
Preset Author = $short_name
Options Software = Windows, MDaemon, Wingate, Winroute, Autre
Options Status = Reported, Confirmed, Investigating, Testing, Solved, Suspended
;Required Attributes = Category2
Locked Attributes = Author
Page Title = ELOG - $Summary
Reverse sort = 1
Quick filter = Date, Software

[Liste Routeurs & Firewall]
Theme = Bubble
Comment = Liste des routeurs / firewall clients
Attributes = Client, Nom machine, Equipment, Type,Emplacement, Nom_admin, Pwd_admin, Maint., Dernière image, Dernière visite
List display = Client, Nom machine, Type, Equipment, Emplacement, Nom_admin, Pwd_admin, Maint., Dernière image, Dernière visite
Link display = Client, Nom machine, Type, Equipment, Emplacement, Maint., Dernière image, Dernière visite
Extendable options = Client
Attributes = Author, Type
Options Type = FWL1{1}, FWL2{2}, FWL4{3}, VPN1{4},VPN2{5}
{1} Preset text = "FWL1.txt"
{2} Preset text = "FWL2.txt"
{3} Preset text = "FWL4.txt"
{4} Preset text = "VPN1.txt"
{5} Preset text = "VPN2.txt"
Preset Author = $short_name
Options Maintenance = Oui, Non
Options Type = FWL1, FWL2, FWL4, VPN1, VPN2,
Required Attributes = Client, Type, Nom machine, Maint.
Locked Attributes = Author
Page Title = ELOG - $Nom machine
Reverse sort = 0
Quick filter = Client, Type, Maint.
Summary lines = 2
Entries per Page = 50



;------------------------------------------------------------------------------------------------------------------


[demo]
Theme = bubble
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
;------------------------------------------------------------------------------------------------------------------
  1033   Tue Mar 29 13:55:58 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportWindowsV2.5.8-1Re: Preset text Dont work more!
> Here is my elogd.cfg.
> I hope this will help you :)

Yes it did. You were the first one using an attribute containing a dot inside a
required attribute ("Maint."). This crashed JavaScript. I found a workaround and
implemented it.

> when we be released the next elog version who correct the crash of Protect 
> Selection page = 1 ?

I just release 2.5.8-2 which contains both fixes.
  1034   Tue Mar 29 16:21:32 2005 Blink Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinuxr1592Re: wrong handling of attachment names
> > - Irestarted the daemon
> > - attached strace to it
> > - requested the list for a testin logbook, few entries some quite big images 
> >   (two thumbnails, the other are old images get resized my the browser)
> > - repeted previous point a couple of times
> > - press F5 (mozilla-firefox)  the browser hangs 4ever
> > - stop the load
> > - repeat point 3, all right
> > - F5 => hangs
> > - F5 => hangs
> 
> I tried to reproduce this problem, but everything was fine. This problem was never
> reported by anyone else as well.

running ethereal I found a bug, hope this is the problem hanging my firefox (I think
we have a good chance it is :-P)

when I have thuimbs enabled, elog returns for the ".thumb" (or ".whatever".. thumb's
extension should be transparent to elog .. uhm... it can't be .. this is a problem)

anyway, having attached a pdf (a big one) and aving attachment display enabled (with
my thumbnails generated by my script)  elog returns for the displayed thumb a
Content-Type for application/x-pdf, instead of the correct image/jpeg. I think this is
the problem.

The only way for elog to know what is the correc\t content type for thumbnails is to
get it from a configuration parameter, becouse it is a chioce of the external script
used to generate them to choose the type of thumbs (jpeg, png, gif ... )
One conf parameter defaulting to jpeg may be the solution
  1041   Wed Mar 30 17:09:27 2005 Reply Alex Ha.herrmannsynergie-inf.comBug reportWindowsV2.5.8-1Re: Preset text Dont work more!
> > Here is my elogd.cfg.
> > I hope this will help you :)
> 
> Yes it did. You were the first one using an attribute containing a dot inside a
> required attribute ("Maint."). This crashed JavaScript. I found a workaround and
> implemented it.
> 
> > when we be released the next elog version who correct the crash of Protect 
> > Selection page = 1 ?
> 
> I just release 2.5.8-2 which contains both fixes.

Hi,
I've change my Attribute "Maint." to "Maint" in my elogd.cfg and in my Logbook too 
but the problem is the same, I have restarted the service but the problem is still 
here. Any idea? o_O
  1042   Wed Mar 30 17:11:33 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportWindowsV2.5.8-1Re: Preset text Dont work more!
> I've change my Attribute "Maint." to "Maint" in my elogd.cfg and in my Logbook too 
> but the problem is the same, I have restarted the service but the problem is still 
> here. Any idea? o_O

Have you upgraded to 2.5.8-2 ? After the upgrade, "Maint." (with the dot) should also work.
  1043   Thu Mar 31 09:37:12 2005 Reply Alex Ha.herrmannsynergie-inf.comBug reportWindowsV2.5.8-2Re: Preset text Dont work more!
> > I've change my Attribute "Maint." to "Maint" in my elogd.cfg and in my 
Logbook too 
> > but the problem is the same, I have restarted the service but the 
problem is still 
> > here. Any idea? o_O
> 
> Have you upgraded to 2.5.8-2 ? After the upgrade, "Maint." (with the dot) 
should also work.

Yes I have upgraded Elog to 2.5.8-2.
I submit my new elogd.cfg file maybe it will help you.
I have try the preset text under Firefox (the last), avant browser 10.0 
(build 165) and IE 6 SP1.

Thanks for help :o)
Attachment 1: elogd.cfg
[global]
; on reste en anglais car les textes francais sont trop longs
;Language = french
port = 8081
URL = http://elog/
logbook tabs = 1
Date format = %A %d/%m/%y
Time format = %d/%m/%y %H:%M


password file = passwords.txt
Login expiration = 24
Protect Selection page = 0 
Self register = 0
Admin user = MN, FC, AHN
Login User = MN, FC, AHN
Protect Selection page = 1 
Expand selection page = 1


SMTP host = 
Suppress Email to users = 1



; attributs communs
options Client = a, b, c, d, e, f
;options Equipment = RT0001, RT0002, RT0003, RT0004, RT0005, RT0006, RT0007, RT0008, RT0009, RT0010, RT0011, RT0012, RT0013, SP0001, FWL0001, FWL0002, FWL0003, FWL0004, FWL0005, FWL0006, FWL0007, FWL0008, FWL0009, FWL0010, FWL0011, FWL0012, FWL0013, FWL0014, FWL0015, FWL0016, FSPARE0001, FSPARE0002, FWL0017

Group  Infogérance =  Liste Routeurs & Firewall, Routeurs, Problems, Knowledge Base
Group Draft = Test, Demo

[Routeurs]
Theme = Bubble
Comment = Gestion des routeurs
Attributes = Author, Client, Equipment, Category, Summary
Preset Author = $short_name
Options Category = Modification, Update, Correction, Installation, Autre
Page Title = ELOG - $Equipment

Required Attributes = Client, Equipment, Category
Locked Attributes = Author
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Client, Equipment, Category

[Problems]
Theme = Bubble
Comment = Problemes
Attributes = Author, PbType, PbStatus, Priority, Client, Equipment, Description
Options PbType = Event, System, Applic, Other
Options PbStatus = Reported, Confirmed, Investigating, Testing, Solved, Suspended
Options Priority = 1 Critical, 2 Urgent, 3 Normal, 4 Background, 5 Low
Required Attributes = Author, PbType, PbStatus, Priority, Description
Quick Filter = Author, PbStatus, PbType
Locked Attributes = Author
Fixed Attributes Reply = PbType
Preset Author = $short_name
Display mode = threaded
Reverse Sort = 1
Quote On Reply = 0

[Knowledge Base]
Theme = Bubble
Comment = Gestion des problèmes
Attributes = Author, Software, Summary, Status
List display = Date, Software, Summary, Status
Preset Author = $short_name
Options Software = Windows, MDaemon, Wingate, Winroute, Autre
Options Status = Reported, Confirmed, Investigating, Testing, Solved, Suspended
;Required Attributes = Category2
Locked Attributes = Author
Page Title = ELOG - $Summary
Reverse sort = 1
Quick filter = Date, Software

[Liste Routeurs & Firewall]
Theme = Bubble
Comment = Liste des routeurs / firewall clients
Attributes = Client, Nom machine, Equipment, Type,Emplacement, Nom_admin, Pwd_admin, Maint, Dernière image, Dernière visite
List display = Client, Nom machine, Type, Equipment, Emplacement, Nom_admin, Pwd_admin, Maint, Dernière image, Dernière visite
Link display = Client, Nom machine, Type, Equipment, Emplacement, Maint, Dernière image, Dernière visite
Extendable options = Client
Attributes = Author, Type
Options Type = FWL1{1}, FWL2{2}, FWL4{3}, VPN1{4},VPN2{5}
{1} Preset text = "FWL1.txt"
{2} Preset text = "FWL2.txt"
{3} Preset text = "FWL4.txt"
{4} Preset text = "VPN1.txt"
{5} Preset text = "VPN2.txt"
Preset Author = $short_name
Options Maintenance = Oui, Non
Options Type = FWL1, FWL2, FWL4, VPN1, VPN2,
Required Attributes = Client, Type, Nom machine, Maint
Locked Attributes = Author
Page Title = ELOG - $Nom machine
Reverse sort = 0
Quick filter = Client, Type, Maint
Summary lines = 2
Entries per Page = 50



;------------------------------------------------------------------------------------------------------------------
[Test]
Theme = bubble
Comment = Gestion des routeurs
Attributes = Author, Clienta, Equipment, Category, Subject, Revisions, Num
Preset Author = $short_name
Options Clienta = a{1}, b{2}, c{3}, ZZZ
Extendable options = Clienta
{1} Options Equipment = RT0001
{2} Options Equipment = RT0002
{3} Options Equipment = RT0003
Options Category = Modification, Update, Correction, Autre
Required Attributes = Equipment, Category
Locked Attributes = Revisions, Author, Num
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Equipment, Category
Subst on Edit Revisions = $Revisions
$date par $short_name Preset Num = XYZ-%04d [demo] Theme = bubble Comment = General linux tips & tricks Attributes = Author, Type, Category, Subject Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other Options Category = General, Hardware, Software, Network, Other Extendable Options = Category Required Attributes = Author, Type Page Title = ELOG - $subject Reverse sort = 1 Quick filter = Date, Type ;------------------------------------------------------------------------------------------------------------------
  1044   Thu Mar 31 09:46:21 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportWindowsV2.5.8-2Re: Preset text Dont work more!
> Yes I have upgraded Elog to 2.5.8-2.
> I submit my new elogd.cfg file maybe it will help you.
> I have try the preset text under Firefox (the last), avant browser 10.0 
> (build 165) and IE 6 SP1.

I tested your config file under Firefox (the last) and it worked fine. On the
"Liste Routeurs & Firewall", I click "New", then select FWL1, then see the text
"FLW1.txt" in the main body. I don't have that file, so elog by default just
shows the file name.

I also realized that you have double entries in your config file (like two
"Attributes = " and "Options Type = " lines. However this should not be a
problem, elog just chooses the first one.

If your preset text does not work, it could be that you have switched off
JavaScript. In Firefow, you can open the JavaScript console (Tools/JavaScript
console). Maybe you see any error there.

- Stefan
  1045   Thu Mar 31 10:33:10 2005 Agree Alex Ha.herrmannsynergie-inf.comBug reportWindowsV2.5.8-2Re: Preset text Dont work more!
> > Yes I have upgraded Elog to 2.5.8-2.
> > I submit my new elogd.cfg file maybe it will help you.
> > I have try the preset text under Firefox (the last), avant browser 10.0 
> > (build 165) and IE 6 SP1.
> 
> I tested your config file under Firefox (the last) and it worked fine. On the
> "Liste Routeurs & Firewall", I click "New", then select FWL1, then see the text
> "FLW1.txt" in the main body. I don't have that file, so elog by default just
> shows the file name.
> 
> I also realized that you have double entries in your config file (like two
> "Attributes = " and "Options Type = " lines. However this should not be a
> problem, elog just chooses the first one.
> 
> If your preset text does not work, it could be that you have switched off
> JavaScript. In Firefow, you can open the JavaScript console (Tools/JavaScript
> console). Maybe you see any error there.
> 
> - Stefan

Ok I have fix the problem :)
Options Type = FWL1{1}, FWL2{2}, FWL4{3}, VPN1{4},VPN2{5}
{1} Preset text = FWL1.txt
{2} Preset text = FWL2.txt
{3} Preset text = FWL4.txt
{4} Preset text = VPN1.txt
{5} Preset text = VPN2.txt
I have delete the "" for example FWL1.txt instead of "FWL1.txt" and I've delete 
the double entries too. In fact I don't know why, ELOG has take the second Options 
Type instead of the one :)! Now It work fine :)

Thanks a lot Stefan ;)
ELOG V3.1.5-3fb85fa6