Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 712 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  67746   Mon Jan 12 23:26:18 2015 Question Eric Quinteroericq@caltech.eduBug reportMac OSX3.0.0Problem with embedded Iframes

We've upgraded our ELOG installation to v3, and we really like the new CKeditor. However, one of my users has noticed a problem when using Iframe HTML elements with CKeditor; namely that the HTML is not present when trying to edit the post, and saving the post erases the HTML. 
I was able to reproduce this fairly simply, by trying to embed a youtube video. I would create a new post, click the "Source" view in CKeditor, and paste something like the following:
<iframe width="420" height="315" src="//www.youtube.com/embed/RzZgFKoIfQI" frameborder="0" allowfullscreen></iframe>
Upon submission, this produces a totally normal .log file in the logbook directory, and the video is viewable on the ELOG page:

Date: Mon, 22 Dec 2014 15:52:20 -0800
Author: test
Type: General
Category: General
Subject: test
Attachment:
Encoding: HTML
========================================
<iframe width="420" height="315" src="//www.youtube.com/embed/RzZgFKoIfQI" frameborder="0" allowfullscreen></iframe>


Then, upon hitting "Edit," I am greeted by a totally empty CKeditor window, and hitting "Source" does not display the original HTML. 
Any help is greatly appreciated!

PS: Including the first line of the logfile in this very post would cause the submitted post to be truncated for some reason, although the preview looked fine. Pasting it here also caused the log to end abruptly. The string is "(dollar sign)(at symbol)MID(at symbol)(dollar sign): 9"

  67751   Tue Jan 13 10:10:56 2015 Reply Stefan Rittstefan.ritt@psi.chBug reportMac OSX3.0.0Re: Problem with embedded Iframes

This is an issue with CKEditor, not with ELOG. 

Maybe this helps:

http://drupal.stackexchange.com/questions/96069/ckeditor-removes-iframes-in-editor-after-update-to-6-x-1-14

 

Eric Quintero wrote:

We've upgraded our ELOG installation to v3, and we really like the new CKeditor. However, one of my users has noticed a problem when using Iframe HTML elements with CKeditor; namely that the HTML is not present when trying to edit the post, and saving the post erases the HTML. 
I was able to reproduce this fairly simply, by trying to embed a youtube video. I would create a new post, click the "Source" view in CKeditor, and paste something like the following:
<iframe width="420" height="315" src="//www.youtube.com/embed/RzZgFKoIfQI" frameborder="0" allowfullscreen></iframe>
Upon submission, this produces a totally normal .log file in the logbook directory, and the video is viewable on the ELOG page:

Date: Mon, 22 Dec 2014 15:52:20 -0800
Author: test
Type: General
Category: General
Subject: test
Attachment:
Encoding: HTML
========================================
<iframe width="420" height="315" src="//www.youtube.com/embed/RzZgFKoIfQI" frameborder="0" allowfullscreen></iframe>


Then, upon hitting "Edit," I am greeted by a totally empty CKeditor window, and hitting "Source" does not display the original HTML. 
Any help is greatly appreciated!

PS: Including the first line of the logfile in this very post would cause the submitted post to be truncated for some reason, although the preview looked fine. Pasting it here also caused the log to end abruptly. The string is "(dollar sign)(at symbol)MID(at symbol)(dollar sign): 9"

 

  67806   Fri Feb 13 16:43:00 2015 Question Alexalkaloge@cern.chBug reportMac OSX3.0.0Fail to install in mac

Hi

 

I am trying to install to mac 10.10.2 - everything works almost fine, but when I issue the sudo make install I get

 

Installing example logbook to /usr/local/elog/logbooks/demo
install: logbooks/demo/2001/011108a.log -> /usr/local/elog/logbooks/demo/2001/011108a.log
install: elogd.plist: No such file or directory
make: *** [install] Error 71

 

Any idea why ?

 

Thanks

 

Alex

 

  67807   Fri Feb 13 19:47:43 2015 Reply Stefan Rittstefan.ritt@psi.chBug reportMac OSX3.0.0Re: Fail to install in mac

Sorry I forgot to include the elogd.plist file in the distribution. I attached it to this entry, so just copy it into the elog root directory and run again "make install".

/Stefan

Alex wrote:

Hi

 

I am trying to install to mac 10.10.2 - everything works almost fine, but when I issue the sudo make install I get

 

Installing example logbook to /usr/local/elog/logbooks/demo
install: logbooks/demo/2001/011108a.log -> /usr/local/elog/logbooks/demo/2001/011108a.log
install: elogd.plist: No such file or directory
make: *** [install] Error 71

 

Any idea why ?

 

Thanks

 

Alex

 

 

Attachment 1: elogd.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>ch.psi.elogd</string>
	<key>ProgramArguments</key>
	<array>
		<string>/usr/local/sbin/elogd</string>
		<string>-c</string>
		<string>/usr/local/elog/elogd.cfg</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
</dict>
</plist>
  67808   Fri Feb 13 20:36:59 2015 Reply Alexalkaloge@cern.chBug reportMac OSX3.0.0Re: Fail to install in mac

Thanks! now install works fine - but I cannot find how to open and start writing- I do

 

/usr/local/sbin/elogd
elogd 3.0.0 built Feb 13 2015, 16:42:32 revision 21dc563
CKeditor detected
ImageMagick detected
Indexing logbooks ... done
Server listening on port 8080 ...


but nothing pops up...I mean it is not possible to run "offline" ie locally on my mac ?

  67809   Fri Feb 13 21:18:46 2015 Reply Stefan Rittstefan.ritt@psi.chBug reportMac OSX3.0.0Re: Fail to install in mac

Point your browser to http://localhost:8080 as written in the documentation

Alex wrote:

Thanks! now install works fine - but I cannot find how to open and start writing- I do

 

/usr/local/sbin/elogd
elogd 3.0.0 built Feb 13 2015, 16:42:32 revision 21dc563
CKeditor detected
ImageMagick detected
Indexing logbooks ... done
Server listening on port 8080 ...


but nothing pops up...I mean it is not possible to run "offline" ie locally on my mac ?

 

  67834   Mon Mar 23 17:02:03 2015 Warning Pedro Acostaacostacespedes@gmail.comBug reportWindows3.0.0Trouble to install ELOG V3.0.0-72a8401 in XP SP3

Hi,

It´s not possible to install the last version V3.0.0-72a8401 over XP SP3, the previous version works well.  For Windows Vista Home Basic SP2 work fine the last version. 

I´m not sure if this the correct site to post this.

 

Regards

Pedro Acosta

 

  67836   Tue Mar 24 19:08:34 2015 Reply Pedro Acostaacostacespedes@gmail.com thisBug reportWindows3.0.0Re: Trouble to install ELOG V3.0.0-72a8401 in XP SP3

Maybe, nobody uses XP SP3 but i get Win32 invalid aplication error.  Not work!

Pedro Acosta wrote:

Hi,

It´s not possible to install the last version V3.0.0-72a8401 over XP SP3, the previous version works well.  For Windows Vista Home Basic SP2 work fine the last version. 

I´m not sure if this the correct site to post this.

 

Regards

Pedro Acosta

 

 

ELOG V3.1.5-3fb85fa6