search and datetime, posted by Arno Teunisse on Wed Jun 10 22:27:08 2009
|
Hello
I have the following in elog.cfg :
Attributes = Author, Author Email, Category, Customer, server, Subject , Change Window Begin , Change Window End
List display = ID,Author, Author Email, Category, Customer, server, Subject , Change Window Begin , Change Window End
Type Change Window Begin = datetime
Type Change Window End = datetime
So I want to be able to give a start and end date to the user. However : If I open a find/Search I see this :

There are for each Change Window <item> we get Start: and End: time entries. Was expecting only one date entrie .
Why is this ? Seems to be a feature of datetime or am i missing something.
|
Dropdown boxes and Moptions, posted by Arno Teunisse on Fri Jun 12 23:43:28 2009
|
Hello
I have a config file :
Attributes = Author, Author Email, Category, Customer, server,HPSD_ID, Cust_ID ,Subject , Change Window
; which fields will be shown !!
List display = ID,Author, Category, Customer, server, HPSD_ID, Cust_ID,Subject , Change Window
Type Change Window = datetime
# Type Change Window End = datetime
Options Category = Network , Server ,
Options Customer = Arag{A}, Frieslandbank{B}, Super de Boer{C}, NRE{D}
{A} Options server = arag-lin1,arag-lin2,arag-lin3,arag-lin4, arag-lin5, arag-lin6, arag-lin7
{B} Options server = rc1upas02, rc1upas22,rc1upas03,rc1upas04,rc1uptsm01,rc1upas07,rc1upas08
{C} Options server = xia61031,xia61032 ,xia61033,xia61034,xia61035,xia61036,xia61037,xia61038,xia61039,xia61040,xia61032 ,xia61033,xia61034,xia61035,xia61036,xia61037,xia61038,xia61039,xia61040
{D} Options server = server27,server32,server34 ,server37,server38,server40
Extendable options = Category , Customer,server
Required Attributes = server , customer, Subject, Change window Begin , Change Window End
This works OK, However when I change the {A} Options to {A} Moptions in the above code i get an error which tells me that a required field is not selected. So, with the pull down it works, with Moptions ( select boxes ) it will say that a required field is not selected. Any hints ?
regards Arno |
fckeditor update, posted by Arno Teunisse on Tue Aug 25 21:08:51 2009
|
Hello
Just a few fckeditor related questions. How do elog versions and fckeditor versions relate. ?
Can I just drop another version of the fckeditor over an other version? What things should I consider when doing so ?
thanks for you're time.
|
fckedit and creating tables, posted by Arno Teunisse on Mon Sep 6 21:21:25 2010 
|
Hello
Using windows7 and the elogd 2.7.7 built Jul 31 2009, 13:01:20 revision 2246. I noticed a bug in the tables created with fckeditor. When on winxp there is no problem. So it seems windows7 related.
Don't know if I should post here or somewhere else. When i Click the table icon i get : 
When I want to continue ( Pressing Yes) i get 
So the OK button is removed, and i can only cancel. So it's impossible to create a new table in elog. ( yes , create it by hand, but that is not so nice )
Download the latest version of elog : elogd 2.8.0 built Aug 2 2010, 12:16:05 revision 2312 . Just to see if this helps. The result is the same.
Is there some solution/workaround for this ?
Thanks for elog : it's great.
|
Re: fckedit and creating tables, posted by Arno Teunisse on Mon Sep 6 21:36:51 2010
|
Arno Teunisse wrote: |
Hello
Using windows7 and the elogd 2.7.7 built Jul 31 2009, 13:01:20 revision 2246. I noticed a bug in the tables created with fckeditor. When on winxp there is no problem. So it seems windows7 related.
Don't know if I should post here or somewhere else. When i Click the table icon i get : 
When I want to continue ( Pressing Yes) i get 
So the OK button is removed, and i can only cancel. So it's impossible to create a new table in elog. ( yes , create it by hand, but that is not so nice )
Download the latest version of elog : elogd 2.8.0 built Aug 2 2010, 12:16:05 revision 2312 . Just to see if this helps. The result is the same.
Is there some solution/workaround for this ?
Thanks for elog : it's great.
|
Answer : Problem solved. It is not window7 related. When I did a fresh install ( not installing over the old directory ) everything is working as expected. So I did something wrong with installing over the old elog directory.
Thanks for you're time and the inconvenience.
|
elog password , attributes and quoting username and password, posted by Arno Teunisse on Wed Nov 10 23:05:24 2010
|
Hello
When I want to submit an entrie with elog I have the following problem : ( elogd on windows 7 )
D:\MyProgramFiles (x86)\ELOG>elog -v -h localhost -p 8080 -l "Knowledge Base" -u "arnot 123abc" -a "Category=info" -a "OS=HP-UX" -a "Subject=Just testing"
Successfully connected to host localhost, port 8080
Request sent to host:
POST /Knowledge+Base/ HTTP/1.0
Content-Type: multipart/form-data; boundary=---------------------------517428C7722E
Host: NTB100744.simac.local
User-Agent: ELOG
Content-Length: 874
Content sent to host:
---------------------------517428C7722E
Content-Disposition: form-data; name="cmd"
Submit
---------------------------517428C7722E
Content-Disposition: form-data; name="unm"
arnot 123abc
---------------------------517428C7722E
Content-Disposition: form-data; name="upwd"
I9vh6COTmDFzlmSGZ9S1gIC.cUNR0fRSzZOYNzj1LK.
---------------------------517428C7722E
Content-Disposition: form-data; name="exp"
Knowledge Base
---------------------------517428C7722E
Content-Disposition: form-data; name="encoding"
ELCode
---------------------------517428C7722E
Content-Disposition: form-data; name="OS"
HP-UX
---------------------------517428C7722E
Content-Disposition: form-data; name="Subject"
Just testing
---------------------------517428C7722E
Content-Disposition: form-data; name="Text"
Category=info
---------------------------517428C7722E
Response received:
HTTP/1.1 404 Not Found
Server: ELOG HTTP 2.8.0-2331
Content-Type: text/html;charset=ISO-8859-1
Connection: Close
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<title>ELOG error</title>
<link rel="stylesheet" type="text/css" href="default.css">
</head>
<body><center>
<table class="dlgframe" width="50%" cellpadding="1" cellspacing="0"<tr><td class="errormsg"><i>Error: Attribute <b>Category</b> not supplied.</i><p>
Please go back and enter the <b>Category</b> field.
</td></tr>
<tr><td class="errormsg"><script language="javascript" type="text/javascript">
document.write("<button type=button onClick=history.back()>Back</button>");
</script>
<noscript>
Please use your browser's back button to go back
</noscript>
</td></tr>
</table>
</center></body></html>
Error: Missing required attribute "Category"
Please Notice that I've put quotes around : -u "username password" ( the documentation shows that this is not necessary) . But now it failes to see a required attribute.
When I leave out the quotes in the -u part , it just hangs despite the -vvv on the server console and the -v option used in the elog command line. Nothing happens. No output at the server debug screen.
I'm Not using SSL , nor have i used a certificate. It's just a good old plain html server. ( As far as i can see )
This is the main section in my config and the section I want to change :
[global]
port = 8080
;SSL = 1
;Resource dir = d:/elog.dir
;Logbook dir = d:/elogbooks.dir
CSS = simac1.css
;SMTP host = mailhost.chello.nl
SMTP host = vldexc1.simac.local
Title image URL = \\vldfps1\algemeen\FM&O\Klanten
Title image = <img border="0" width="25%" src="simac.jpg">
Use Lock = 1 ; When a message is edited an other user will be noticed.
; Please notice : Options Category is now global, and sorted
Options Category = Backup,Database,Filesysteem,Info,Monitoring,Mount,Other,Performance,Security,Upgrade, Add User, IP info, Known Issues, I-share OchtendControle
Self register = 1 # user can create an account
;Password file = passwd
Admin user = arnot
Logbook Tabs = 0
Protect Selection page = 1
Main Tab = MAIN
; Iedereen mag in het TEXT gedeelte aanpassingen uitvoeren.
Restrict edit = 0
[Knowledge Base]
Comment = <I>Knowledge base</I>
Help URL = help.html
Logfile = c:/Program files/elog/Knowledge_Base.log
; use user level password access
;Login expiration = 10
;Self register = 1 # user can create an account
; How is the time displayed :
Time format = %A, %B %d, %Y, %H:%M
; look and feel
Guest menu commands = List,Back, Find, Login, Help
Guest find menu commands = Find, Login, Help
Date format = %B %d, %Y
List menu commands = List,New,Find,Select,Import,Config,Logout,Last day,Help
; attributes
Attributes = Author, Author Email, Category, Klanten,Machine, OS ,Version,Archive, Subject
Options Archive = boolean
Options OS = UNIX{10} , AIX {100} , HP-UX{200}, Redhat ES{300} , Suze{400} , Debian{500}
{10} Options Version = ALL
{100} Options Version = 5.1,5.2,5.3,6.1,6.2,6.3
{200} Options Version = 11.10,11.20,11.23
{300} Options Version = 4.7,4.8,4.9,5.0,5.1
{400} Options Version = 10.1,10.2,10.3,11.0,11.1,
{500} Options Version = 6.0 (sqeeze),5.0 (lenny),4.0 (etch),3.1 (sarge),3.0 (woody),2.2 (potato),2.1 (slink),2.0 (hamm)
Options Klanten = Frieslandbank{AA} , Arag{BB}, Super de Boer{CC},NRE{DD}
{AA}Options Machine = rc1lphmc01,rc1lptr01,rc1upas02,rc1upas03,rc1upas04,rc1upas05,rc1upas06,rc1upas07,rc1upas08,rc1upas22,rc1upav1,rc1updb05,rc1updb21,rc2lphmc01,rc2lptr01,rc2upas02,rc2upas32,rc2updb31,rc2updw33,rc2uuav1
{BB}Options Machine = Arag-lin1,Arag-lin2,Arag-lin3,Arag-lin4,Arag-lin5,Arag-lin6
{CC}Options Machine = xai61032
{DD}Options Machine = server27,server32,server37,server38,server40
Extendable options = Category, Klanten
Required Attributes = Category, OS ,Subject
List Display = Subject, Category, Klanten,Machine, OS ,Version,Archive
Thread display = $Subject, entered by $author on $Entry time
Quick filter = Category, OS,Klanten
Display mode = threaded
; title as shown in the browser
Page Title = Accelerator Logbook - $subject
; preset author and email
Preset Author = $long_name
Preset Author Email = $user_email
; these attributes cannot be changed
Locked Attributes = Author, Author Email
; only author can change its own entry
; See restrict edit in the global section
; options for reply
Subst on reply subject = Re: $subject
;Remove on reply = Author, Author Email
Preset on reply Author = $long_name
Preset on reply Author Email = $user_email
; No Email notification
Suppress Email to users = 1 # 1 = do not send mail , 0 = send mail
##############################################################################################
Any help will be appreciated ..... |
Re: elog password , attributes and quoting username and password, posted by Arno Teunisse on Thu Nov 11 17:57:12 2010
|
Arno Teunisse wrote: |
Hello
When I want to submit an entrie with elog I have the following problem : ( elogd on windows 7 )
D:\MyProgramFiles (x86)\ELOG>elog -v -h localhost -p 8080 -l "Knowledge Base" -u "arnot 123abc" -a "Category=info" -a "OS=HP-UX" -a "Subject=Just testing"
Successfully connected to host localhost, port 8080
Request sent to host:
POST /Knowledge+Base/ HTTP/1.0
Content-Type: multipart/form-data; boundary=---------------------------517428C7722E
Host: NTB100744.simac.local
User-Agent: ELOG
Content-Length: 874
Content sent to host:
---------------------------517428C7722E
Content-Disposition: form-data; name="cmd"
Submit
---------------------------517428C7722E
Content-Disposition: form-data; name="unm"
arnot 123abc
---------------------------517428C7722E
Content-Disposition: form-data; name="upwd"
I9vh6COTmDFzlmSGZ9S1gIC.cUNR0fRSzZOYNzj1LK.
---------------------------517428C7722E
Content-Disposition: form-data; name="exp"
Knowledge Base
---------------------------517428C7722E
Content-Disposition: form-data; name="encoding"
ELCode
---------------------------517428C7722E
Content-Disposition: form-data; name="OS"
HP-UX
---------------------------517428C7722E
Content-Disposition: form-data; name="Subject"
Just testing
---------------------------517428C7722E
Content-Disposition: form-data; name="Text"
Category=info
---------------------------517428C7722E
Response received:
HTTP/1.1 404 Not Found
Server: ELOG HTTP 2.8.0-2331
Content-Type: text/html;charset=ISO-8859-1
Connection: Close
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<title>ELOG error</title>
<link rel="stylesheet" type="text/css" href="default.css">
</head>
<body><center>
<table class="dlgframe" width="50%" cellpadding="1" cellspacing="0"<tr><td class="errormsg"><i>Error: Attribute <b>Category</b> not supplied.</i><p>
Please go back and enter the <b>Category</b> field.
</td></tr>
<tr><td class="errormsg"><script language="javascript" type="text/javascript">
document.write("<button type=button onClick=history.back()>Back</button>");
</script>
<noscript>
Please use your browser's back button to go back
</noscript>
</td></tr>
</table>
</center></body></html>
Error: Missing required attribute "Category"
Please Notice that I've put quotes around : -u "username password" ( the documentation shows that this is not necessary) . But now it failes to see a required attribute.
When I leave out the quotes in the -u part , it just hangs despite the -vvv on the server console and the -v option used in the elog command line. Nothing happens. No output at the server debug screen.
I'm Not using SSL , nor have i used a certificate. It's just a good old plain html server. ( As far as i can see )
This is the main section in my config and the section I want to change :
[global]
port = 8080
;SSL = 1
;Resource dir = d:/elog.dir
;Logbook dir = d:/elogbooks.dir
CSS = simac1.css
;SMTP host = mailhost.chello.nl
SMTP host = vldexc1.simac.local
Title image URL = \\vldfps1\algemeen\FM&O\Klanten
Title image = <img border="0" width="25%" src="simac.jpg">
Use Lock = 1 ; When a message is edited an other user will be noticed.
; Please notice : Options Category is now global, and sorted
Options Category = Backup,Database,Filesysteem,Info,Monitoring,Mount,Other,Performance,Security,Upgrade, Add User, IP info, Known Issues, I-share OchtendControle
Self register = 1 # user can create an account
;Password file = passwd
Admin user = arnot
Logbook Tabs = 0
Protect Selection page = 1
Main Tab = MAIN
; Iedereen mag in het TEXT gedeelte aanpassingen uitvoeren.
Restrict edit = 0
[Knowledge Base]
Comment = <I>Knowledge base</I>
Help URL = help.html
Logfile = c:/Program files/elog/Knowledge_Base.log
; use user level password access
;Login expiration = 10
;Self register = 1 # user can create an account
; How is the time displayed :
Time format = %A, %B %d, %Y, %H:%M
; look and feel
Guest menu commands = List,Back, Find, Login, Help
Guest find menu commands = Find, Login, Help
Date format = %B %d, %Y
List menu commands = List,New,Find,Select,Import,Config,Logout,Last day,Help
; attributes
Attributes = Author, Author Email, Category, Klanten,Machine, OS ,Version,Archive, Subject
Options Archive = boolean
Options OS = UNIX{10} , AIX {100} , HP-UX{200}, Redhat ES{300} , Suze{400} , Debian{500}
{10} Options Version = ALL
{100} Options Version = 5.1,5.2,5.3,6.1,6.2,6.3
{200} Options Version = 11.10,11.20,11.23
{300} Options Version = 4.7,4.8,4.9,5.0,5.1
{400} Options Version = 10.1,10.2,10.3,11.0,11.1,
{500} Options Version = 6.0 (sqeeze),5.0 (lenny),4.0 (etch),3.1 (sarge),3.0 (woody),2.2 (potato),2.1 (slink),2.0 (hamm)
Options Klanten = Frieslandbank{AA} , Arag{BB}, Super de Boer{CC},NRE{DD}
{AA}Options Machine = rc1lphmc01,rc1lptr01,rc1upas02,rc1upas03,rc1upas04,rc1upas05,rc1upas06,rc1upas07,rc1upas08,rc1upas22,rc1upav1,rc1updb05,rc1updb21,rc2lphmc01,rc2lptr01,rc2upas02,rc2upas32,rc2updb31,rc2updw33,rc2uuav1
{BB}Options Machine = Arag-lin1,Arag-lin2,Arag-lin3,Arag-lin4,Arag-lin5,Arag-lin6
{CC}Options Machine = xai61032
{DD}Options Machine = server27,server32,server37,server38,server40
Extendable options = Category, Klanten
Required Attributes = Category, OS ,Subject
List Display = Subject, Category, Klanten,Machine, OS ,Version,Archive
Thread display = $Subject, entered by $author on $Entry time
Quick filter = Category, OS,Klanten
Display mode = threaded
; title as shown in the browser
Page Title = Accelerator Logbook - $subject
; preset author and email
Preset Author = $long_name
Preset Author Email = $user_email
; these attributes cannot be changed
Locked Attributes = Author, Author Email
; only author can change its own entry
; See restrict edit in the global section
; options for reply
Subst on reply subject = Re: $subject
;Remove on reply = Author, Author Email
Preset on reply Author = $long_name
Preset on reply Author Email = $user_email
; No Email notification
Suppress Email to users = 1 # 1 = do not send mail , 0 = send mail
##############################################################################################
Any help will be appreciated .....
|
When I leave out the quotes in the -u part , it just hangs despite the -vvv on the server console and the -v option used in the elog command line. Nothing happens. No output at the server debug screen.
I'm Not using SSL , nor have i used a certificate. It's just a good old plain html server. ( As far as i can see )
|
Re: elog password , attributes and quoting username and password, posted by Arno Teunisse on Thu Nov 11 22:25:18 2010
|
Yoshio Imai wrote: |
Arno Teunisse wrote: |
Please Notice that I've put quotes around : -u "username password" ( the documentation shows that this is not necessary) . But now it failes to see a required attribute.
|
Have you tried without the quotes? They may not be allowed!
|
Hello Yoshio
Thanks for the answer. Just solved the problem i was having. It seems that the -m option for elog.exe is a required commandline option. When skipping it elog just waits to get something.
Thanks for the time you took to answer this question.
Kind regards Arno Teunisse
|
|