Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 778 of 808  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  1379   Fri Aug 5 02:27:15 2005 Angy Chris Greengreenc@fnal.govBug reportLinux2.6.0-CVSTop Groups, Show Top Groups, password file and Protect Selection page have nasty interaction
Hi,

Just as our ELOG went into production, I tripped over a couple of related (I think) bugs.

First, the easy one: line 21368 of src/elogd.c has a compile warning which looks non-benign. I fixed it in my local copy with:

Index: elogd.c
===================================================================
RCS file: /usr/local/cvsroot/elog/src/elogd.c,v
retrieving revision 1.739
diff -r1.739 elogd.c
21368,21369c21368
< sprintf(str, "?fail=1", user);
< redirect(lbs, str);
---
> redirect(lbs, "?fail=1");

Regardless (ie if I use the original CVS code or the patched version), a hard-to trace problem occurs with my configuration whereby users are denied access after password entry at the logbook selection page (even when details are verifiably correct), and users are dropped through to the next (non-protected) Top Group page. This problem goes away if "Protect Selection Page" is turned off.

A kind of "shadow" of this problem occurs if you create a new logbook from the Change Config File page, whereby after creating the new logbook one is dropped through to the next Top Group's selection page after saving the configuration (and the url has ?fail=1 added to it, althoguh line 21368 above is hardly the only place where this could have occurred).

I think all these things are linked. I'd be grateful if you could review this section of this code for possible causes of these problems. While we can operate for now with non-logged-in users able to see our list of logbooks, that is not something we want for the long term.

Thanks for your help,
Chris.
  1421   Fri Sep 23 19:23:26 2005 Angy Dan Chitwooddchitwoo@uiuc.eduBug reportLinux | Windows2.6.0-b4Post appearing twice
We are having trouble on our logbook with posts appearing twice. Both posts contain the same ID number, time, etc. This most often occurs when the e-log entry is being written for an extended period of time (ie. more than 30 minutes), but I don't know if that is the root cause of the problem. It may also be related to posts that are edited after an initial posting. Could this be due to an improper setting in our config file?
  1434   Sun Oct 9 20:39:50 2005 Angy Exaos LeeExaos.Lee@gmail.comBug reportLinux | Mac OSX2.6.0beta5"Error: Cannot find hostname"
I usually access hosts in LAN with their IPs. But elogd seems to prefer hostnames to IPs. I cannot ask each one to add the hostname to their system config file while they visit my host. I encounter several problems which seems to be related to the hostname resolution:
  • I can visit remote elog service through IP and port, but cannot submit entry and cannot open the config page remotely. For example, my powerbook's name is "exaos-pb-12" and its IP is 10.10.2.96. I run elogd on my PB and try to access it through URL http://10.10.2.96:8080/ on host 10.10.2.99. While I submit a new entry or open the config page, my firefox alway blames: "exaos-pb-12.local could not be found. Please check the name and try again."
  • Sometimes, all the images, colors are missing. It looks like that my firefox cannot find the correct URL of these images or CSS files. It might be the same problem of "cannot find hostname".
  1435   Sun Oct 9 20:43:31 2005 Angy Exaos LeeExaos.Lee@gmail.comBug reportLinux | Mac OSX2.6.0beta5Cannot submit admin password while logbook is named in Chinese
As the title.
  1598   Tue Jan 17 16:04:28 2006 Angy Mark Coudrietmarkcoudriet@yahoo.comBug report  In version 2.6 the themes do not work right on Windows.
In version 2.6 the themes do not work right on Windows. 
The URL is fixed at whichever logbook that is selected (e.g. ELOG 2.5.9-4 is <link rel="stylesheet" type="text/css" href="default.css"> & ELOG 2.6.0-1 is <link rel="stylesheet" type="text/css" href="http://localhost:8080/demo/default.css">).
  1831   Fri May 19 12:10:54 2006 Angy Fergus Lynchflynch@alternativenetworks.comRequestWindowsELOG V2.6.$datetime display
Apologies for being so dense but try as I might I cannot get the $datetime display to show only Day, Month , Year,hour and minutes, NOT seconds.

I dont nee the seconds display!

Could you please clarify the systax for me.

Many Thanks
Fergus
  2067   Thu Nov 9 23:52:26 2006 Angy An Thaithaithan@gmx.deInfoWindowsV2.6.2-175Outlook, Outlook Express and Free Webmail have problem with <br />
If users reply an entry, the notification email cannot be displayed correctly in Outlook, Outlook Express and Webmail.
I look at the source code and see <br />. It could be the reason.
Attachment 1: Reply.PNG
Reply.PNG
  2115   Wed Jan 17 09:20:17 2007 Angy deletoillexavier.deletoille@synchrotron-soleil.frQuestionLinux | Windows2.6.3-1762Two different attributes with the same list
In this picture of my project, All the attributes included in the red circle are the same except the names of the attribute “Equipement Incriminé” and “Equipement impacté”.
“Equipement Incriminé” and “Equipement impacté” have the same list.

The displayed list for the both attributes is the multiple conditions result coming from the choice of “groupe incriminé or impacté, sous ensemble, selection, and localisation”.

So if I have to program the list twice, it will be twice bigger.


Do I need to program the same list twice for the two attributes or is there a simple command to say that the two precedent attributes are equal?

Thanks in advance

Xavier Deletoille
Attachment 1: fiche_panne2.JPG
fiche_panne2.JPG
ELOG V3.1.5-3fb85fa6