Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   ELCode, posted by Alexandre Lindote on Wed Oct 25 18:00:24 2006 
    icon2.gif   Re: ELCode, posted by Stefan Ritt on Wed Oct 25 19:44:11 2006 
       icon2.gif   Re: ELCode, posted by Alexandre Lindote on Wed Oct 25 21:52:13 2006 
    icon2.gif   Re: ELCode, posted by Alexandre Lindote on Fri Oct 27 13:02:50 2006 
       icon2.gif   Re: ELCode, posted by Stefan Ritt on Thu Nov 9 21:03:03 2006 
Message ID: 2057     Entry time: Thu Nov 9 21:03:03 2006     In reply to: 2022
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.6.2-1699 
Subject: Re: ELCode 

Alexandre Lindote wrote:

Alexandre Lindote wrote:
Hi,

can you think of any obvious reason why the ELCode would not work in the logbooks I set up?


Ok, I think I found the problem... For some reason the elcode.js file was only in /usr/local/elog/scripts, but it was supposed to be in
/usr/local/elog/themes/default/ as well.
Creating a symlink between the two solved that problem. I can now do most things with the ELCode, but inserting images is still failing. I get this message from the firefox javascript console:

text.value has no properties (line 32 of elcode.js)

Any thoughts?

Alex


That's really strange. In the forum (http://midas.psi.ch/elogs/Forum), I have the elcode.js only in /usr/local/elog/scripts, and it works as you can try out yourself. Getting your javascript error might indicate that you have an old version of elcode.js combined with a newer executable of elogd. Try to update it.
ELOG V3.1.5-fe60aaf