Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Unwanted characters showing when using Bottom Text Login to a html file, posted by Hung Dao on Wed Nov 13 23:46:38 2013 bottomtextlogin.jpgexample.htm
    icon2.gif   Re: Unwanted characters showing when using Bottom Text Login to a html file, posted by Andreas Luedeke on Thu Nov 14 11:31:23 2013 
       icon2.gif   Re: Unwanted characters showing when using Bottom Text Login to a html file, posted by Hung Dao on Thu Nov 14 20:06:44 2013 
          icon2.gif   Re: Unwanted characters showing when using Bottom Text Login to a html file, posted by Andreas Luedeke on Fri Nov 15 08:34:05 2013 
             icon2.gif   Re: Unwanted characters showing when using Bottom Text Login to a html file, posted by Hung Dao on Fri Nov 15 23:02:03 2013 
Message ID: 67615     Entry time: Thu Nov 14 11:31:23 2013     In reply to: 67613     Reply to this: 67616
Icon: Reply  Author: Andreas Luedeke  Author Email: andreas.luedeke@psi.ch 
Category: Question  OS: Windows  ELOG Version: 2.9.2 
Subject: Re: Unwanted characters showing when using Bottom Text Login to a html file 

Hung Dao wrote:
When using Bottom Text Login to a html file showing some unwanted characters. Also, the ELOG Version is longer displayed. Bottom Text Login = example.htm Attached are bottomtextlogin.jpg which shows the characters on the left and example.htm which I used.

 I have a possible explanation for this problem, but it is just guess work. If I'm right, then just download the latest ELOG version and it will work properly again.

  • You've downloaded an elog version from git, which still contained the line 12 in elogd.c: char svn_revision[] = "$Id$";
  • Since you did checkout from git, the $Id$ was not substituted.  
  • ELOG trys to extract the version by this:      rsprintf
              ("<center><a class=\"bottomlink\" title=\"%s\" href=\"https://midas.psi.ch/elog/\">ELOG V%s-%d</a></center>",
               loc("Goto ELOG home page"), VERSION, atoi(svn_revision + 13));
  • svn_revision + 13 is pointing into the void. Still I would have expected that you get a number as a result.

My advice: download again and retry.
 

 
English (auto-detected) » English
 
ELOG V3.1.5-fe60aaf