Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 682 of 807  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  1478   Mon Oct 24 14:19:18 2005 Question Daniel Broersd.broers@amc.nlQuestionOther2.6.0 b4Login screen reappears after correct login
We are running elog perfectly on a solaris machine for some time now.
Except on some client pc's the login screen keeps reappearing after a succesfull login.
We upgraded to version 2.6.0 beta 4 but the problem persists.
Any suggestions?
  1480   Mon Oct 24 14:50:58 2005 Reply Daniel Broersd.broers@amc.nlQuestionOther2.6.0 b4Re: Login screen reappears after correct login

Stefan Ritt wrote:

Daniel Broers wrote:
We are running elog perfectly on a solaris machine for some time now.
Except on some client pc's the login screen keeps reappearing after a succesfull login.
We upgraded to version 2.6.0 beta 4 but the problem persists.
Any suggestions?


Do you have cookies disabled on these client pc's maybe?


No, cookies are enabled.
  1482   Mon Oct 24 16:20:37 2005 Reply Daniel Broersd.broers@amc.nlQuestionOther2.6.0 b4Re: Login screen reappears after correct login

Stefan Ritt wrote:

Can you
  • Delete all cookies on the client machine and try again
  • If the problem persists: Tell you how you access your elogd. Do you use Apache as proxy? Which URL statement do you have in your elogd.cfg? What are the URLs shown in the address bar of your browser?
  • Can you start elogd with the "-v" flag, and send me the output shown during an unsuccessful login


Attachment 1: output.txt
POST /Maldi/ HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://tara:8080/Maldi/
Accept-Language: en-us
Content-Type: multipart/form-data; boundary=---------------------------7d51968c015e
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: tara:8080
Content-Length: 340
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: urem=0

-----------------------------7d51968c015e
Content-Disposition: form-data; name="redir"


-----------------------------7d51968c015e
Content-Disposition: form-data; name="uname"

daniel
-----------------------------7d51968c015e
Content-Disposition: form-data; name="upassword"

pwd
-----------------------------7d51968c015e--

==== Return ================================
HTTP/1.1 302 Found
Server: ELOG HTTP 2.6.0-beta4
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Set-Cookie: unm=daniel; path=/Maldi; expires=Monday, 24-Oct-05 14:57:55 GMT;
Set-Cookie: upwd=bWlqZTE0; path=/Maldi; expires=Monday, 24-Oct-05 14:57:55 GMT;
Set-Cookie: urem=0; path=/Maldi; expires=Tuesday, 24-Oct-06 13:57:55 GMT;
Location: http://tara:8080/Maldi/
Content-Length: 20



<html>redir</html>




GET /Maldi/ HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://tara:8080/Maldi/
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: tara:8080
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: urem=0


==== Return ================================
HTTP/1.1 200 Document follows
Server: ELOG HTTP 2.6.0-beta4
Content-Type: text/html;charset=ISO-8859-1
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Pragma: no-cache
Expires: Fri, 01 Jan 1983 00:00:00 GMT
Content-Length: 1350



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>ELOG Login</title>
<link rel="stylesheet" type="text/css" href="http://tara:8080/Maldi/default.css">
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" href="favicon.png" type="image/png">
</head>
<body OnLoad="document.form1.uname.focus();">
<form name=form1 method="POST" action="./" enctype="multipart/form-data">

<input type=hidden name=redir value="">
<table class="dlgframe" cellspacing=0 align=center><tr><td colspan=2 class="dlgtitle">Please login</td></tr>
<tr><td align=right class="dlgform">Username:</td>
<td align=left class="dlgform"><input type=text name=uname value=""></td></tr>
<tr><td align=right class="dlgform">Password:</td>
<td align=left class="dlgform"><input type=password name=upassword></td></tr>
<tr><td align=center colspan=2 class="dlgform"><input type=checkbox name=remember value=1>
Remember me on this computer</td></tr>
<tr><td align=center colspan=2 class="dlgform"><a href="?cmd=Forgot">Forgot password?</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="?cmd=New+user">Register as new user</a></td></tr><tr><td align=center colspan=2 class="dlgform"><input type=submit value="Submit"></td></tr></table>
<center><a class="bottomlink" href="http://midas.psi.ch/elog/">ELOG V2.6.0-beta4</a></center></form></body></html>


  1484   Mon Oct 24 17:14:59 2005 Reply Daniel Broersd.broers@amc.nlQuestionOther2.6.0 b4Re: Login screen reappears after correct login

Stefan Ritt wrote:

Daniel Broers wrote:
Output in attachment


Your output shows:

Set-Cookie: unm=daniel; path=/Maldi; expires=Monday, 24-Oct-05 14:57:55 GMT;

Now I don't know when you made this entry, but it looks to me like either

- your time is set incorrectly on the server side
- your "login expiration" setting in elogd is set incorrectly

Can you check these two things?


Now it works!
- The time is (apparently) set incorect on the server side. But why would one client have problems while others don't?
- I changed the login expitation from 1 to 5 hours and now we can log in!
Thanks a lot for your quick support!
  68167   Tue Oct 27 15:41:57 2015 Question Danidroldan@cells.esQuestionLinux3.1.1 dynamic "preset text" option without remplace text if it has changed

Dear all,

Is it possible to have a dynamic "preset text" option without remplace text if it has changed?

I would like to switch the template file depending on the attribute value (Type). 

If user already started editing the text body, on change (Type) he could lose this data. 

I'm using this example code :
Attributes = Type, Subject
Options Type = One{1}, Two{2}, Three{3}
Show text = 0

{1} Preset text = text1
{2} Preset text = text2
{3} Preset text = text3
{1,2,3} Show text = 1


I the attribute type change the user lost the data, because the text has been replaced.

Any idea about how to solve it?

Thanks!
Cheers

  68169   Wed Oct 28 09:15:52 2015 Reply Danidroldan@cells.esQuestionLinux3.1.1Re: dynamic "preset text" option without remplace text if it has changed

thanks Andres for your response!

I was thinking that it cannot be possible, but , I had to try to ask in the forum.

for my question, I think that this could be left on user responsibility to take care about it, and add a comment the the text fied, explaining that will be erased the html text on change the text field.

Thanks four your time.

 

Andreas Luedeke wrote:

I don't think that this is possible.

And it is not clear to me, how you would like it to work: I often use HTML tables in preset text, where the user should fill out columns (e.g. for checklists). I wouldn't want the tables just to append when switching to another checklist. You could rather add a comment to the Type field, explaining that the text field will be overwritten when you change the type.

The Firefox addon Lazarus does store whatever you've typed in an HTML form: at least you could then recover what you've typed.

Cheers, Andreas

Dani wrote:

Dear all,

Is it possible to have a dynamic "preset text" option without remplace text if it has changed?

I would like to switch the template file depending on the attribute value (Type). 

If user already started editing the text body, on change (Type) he could lose this data. 

I'm using this example code :
Attributes = Type, Subject
Options Type = One{1}, Two{2}, Three{3}
Show text = 0

{1} Preset text = text1
{2} Preset text = text2
{3} Preset text = text3
{1,2,3} Show text = 1


I the attribute type change the user lost the data, because the text has been replaced.

Any idea about how to solve it?

Thanks!
Cheers

 

 

  69559   Fri Sep 23 01:32:15 2022 Entry Dan Wittemandrwitteman@physics.ucsd.eduQuestionLinux3.1.4-3Need help with permission

Hello,

I have just installed elog onto an ubuntu focal server using <sudo make install> and I am unable to create new entries.

When I access the log via a windows PC connected to the local network, I can see the demo logbook with the 1 test post, but I cannot create or edit anything.

Attempting to post throws the error:

New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

Please check that it exists and elogd has write access and disk is not full.

 

 

Please point me in the right direction to correctly set permissions and create aditional log books.

 

Thanks,

Dan

  69563   Mon Sep 26 19:21:33 2022 Reply Dan Wittemandrwitteman@physics.ucsd.eduQuestionLinux3.1.4-395Re: Need help with permission

I used "chown" to pass permissions from root to my deafult user, then restarted the service and now I can make posts. Thank you!

Stefan Ritt wrote:

Sometimes this can also be an SELinux issue, if you have that service running. Try "journalctl | grep denied" to see denied resources and consult the SELinux documentation on how to fix that.

Stefan Ritt wrote:

Permissions are handled by the operating system and have nothing to do with elog. Make sure you run elog under an account which has write access to the desired directories. Consult Ubuntu documentation how to do that. Sometimes it's helpful to start elog interactively with the -v flag to see some verbose output. Maybe you can spot something there.

Stefan

Mikkel D. Lund wrote:

Hi all,

I have the same problem on Ubuntu 22.04. I have compiled from the latest tarball and copied all our logbooks from our old Ubuntu 18.04 server to a new Ubuntu 22.04. The logbooks does however not appear when I log in, so I assume ELOG doesn't have read access either?
Any hints on how to set the permissions correctly would be greatly appreciated.

Thanks,
Mikkel

Dan Witteman wrote:

Hello,

I have just installed elog onto an ubuntu focal server using <sudo make install> and I am unable to create new entries.

When I access the log via a windows PC connected to the local network, I can see the demo logbook with the 1 test post, but I cannot create or edit anything.

Attempting to post throws the error:

New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

Please check that it exists and elogd has write access and disk is not full.

 

 

Please point me in the right direction to correctly set permissions and create aditional log books.

 

Thanks,

Dan

 

 

 

 

ELOG V3.1.5-3fb85fa6