Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 698 of 807  Not logged in ELOG logo
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  Draft   Thu Oct 21 14:57:14 2021  Chris Körnerchris.koerner@physik.uni-halle.deBug reportLinux3.14wrong server HTTP status code when login failed

Hi,

I am trying to access elog through a python client (https://github.com/paulscherrerinstitute/py_elog) and found a strage strange behavior which may be related server side problem. The python script generates get/post messages via the python requests library. This works fine so far and I can view and post messages. However, if a wrong user/password is provided, the server still returns HTTP status code "200 OK", although login failed. Instead, it should return something like "401 Unauthorized". This behavior later causes problems since the python client thinks login was successful. After experimenting around I think this could be caused by a server side misconfiguration. Any ideas?

I am not sure if this imformation is important: We use LDAP as user/password provider for elog.

  67317   Thu Aug 23 14:30:56 2012 Question Chris Jenningscjennings@cosma.comQuestionWindows2.9.2Where do I find information on setting up the text area as a template?

I would like to set up the text are as a template. The documentation indicates this can be done however I am unable to find reference to how it is accomplished.

  67703   Tue Sep 16 17:59:27 2014 Question Chris Jenningscjennings@cosma.comBug reportWindows V2.9.2-24Sort by date prior to 2002

I have an attribute formatted as a date (but not labeled as date) and is sorted as second priority. The sort works fine until I enter a date older than Jan 1st 2002. When I do this it is sorted as the latest. Is this a bug or simply not designed to use dates this old?

Thanks in advance,

Chris

  67704   Tue Sep 16 18:05:41 2014 Reply Chris Jenningscjennings@cosma.comBug reportWindows V2.9.2-24Re: Sort by date prior to 2002

Chris Jennings wrote:

I have an attribute formatted as a date (but not labeled as date) and is sorted as second priority. The sort works fine until I enter a date older than Jan 1st 2002. When I do this it is sorted as the latest. Is this a bug or simply not designed to use dates this old?

Thanks in advance,

Chris

 Sorry, my mistake. The cutoff date is anything before September 9th 2001 does not sort.

  1358   Thu Jul 28 15:33:21 2005 Question Chris Howec.j.howe@rl.ac.ukBug reportWindows2.6.0Creating logbook by copying an existing one crashes elog
Hi,

Trying to create a new logbook from an existing one causes elog to crash.

output from DrMingw:
elogd.exe caused an Access Violation at location 00448c6e in module elogd.exe
Writing to location 6e206c65.

Registers:
eax=00240798 ebx=00000020 ecx=6e206c61 edx=00250088 esi=00000000 edi=69726500
eip=00448c6e esp=01c1a1d0 ebp=01c1a1f0 iopl=0 nv up ei ng nz ac po cy
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000297

Call stack:
00448C6E elogd.exe:00448C6E
00445F17 elogd.exe:00445F17

as the service restarts elog the browser then displays:

"Cannot open file elog.pwd: No such file or directory
Please use your browser's back button to go back"

If you try and create a new logbook from scratch (i.e. not a copy) then the browser displays:

"Cannot open file elog.pwd: No such file or directory
Please use your browser's back button to go back"

In both cases the new logbook is created.

any ideas?

Chris
  1311   Mon Jul 25 19:24:47 2005 Question Chris Greengreenc@fnal.govQuestionLinux2.6.0bLiteral comma in elogd.conf entries where "," is an item separator?
Hi,

Could you tell me if there is a way to escape characters in elogd.conf? Particularly, I want to have a drop-down "Keyword" attribute where one of the options is "Spelling, grammar and typos.". This invariably gets split into "Spelling" and "grammar and typos". I've tried "\,", ",,", "%," and "%27", to no avail.

Can I get there from here, or do I have to go someplace else?

Thanks,
Chris.
  1315   Mon Jul 25 21:41:00 2005 Reply Chris Greengreenc@fnal.govQuestionLinux2.6.0bRe: Literal comma in elogd.conf entries where "," is an item separator?
Sorry for being dense. Thanks for this,

Chris.
  1318   Mon Jul 25 23:39:16 2005 Entry Chris Greengreenc@fnal.govQuestionLinux2.6.0bCan't set Author attribute properly in reply?
Hi,

I have two problems:

1) With the configuration below, I can't set the Author attribute to be the author of the reply. As written, it gives the Author field as blank. If the Remove on Reply line is removed, it is set to the parent's author. What am I doing wrong?

2) With the Page Title line set as shown, $logbook gets expanded as "Charged+Current+Pi+Plus". If the line is left blank, the correct "Charged Current Pi Plus" gets put in the title line.

Thanks for any help,
Chris.

[global]
Top Group MiniBooNE Papers = Charged Current Pi Plus, Neutral Current Coherent Pions
<snip>

[global MiniBooNE Papers]
Password file = papers.pwd
Self register = 3
Menu commands = List, New, Last day, Download, Reply, Duplicate, Find, Config, Delete, Help
Admin user = admin1, admin2
Allow Delete = admin1, admin2
Restrict edit time = 0
Attributes = Author, Subject, Keywords
MOptions Keywords = Structure, Physics, "Spelling, grammar and typos.", Plots
Required Attributes = Subject, Keywords
Subst on reply subject = Re: $subject
Thread display = $subject, posted by $author on $Entry
Remove on reply = Author
Preset Author = $long_name
Locked Attributes = Author
Omit Email To = 1
Reverse sort = 1
Page Title = MiniBooNE papers comments page: $logbook

[Charged Current Pi Plus]
Comment = Charged current pi plus paper.
Theme = default

[Neutral Current Coherent Pions]
ELOG V3.1.5-3fb85fa6