Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 321 of 808  Not logged in ELOG logo
    icon2.gif   Re: Adding attachment to an existing entry, posted by Stefan Ritt on Fri Dec 3 16:48:26 2010 

Mariusz Stakowski wrote:

Hello,

I have a problem when I try to edit an existing entry. I want to add an attachment. I can upload an attachment to the existing entry, but submitting it does not seem to work. The  added attachment is not visible. But it exists in logbook directory. The only way I found to add it, is to use "Resubmit as new entry" which is not quite what I want. Is it a design feature or perhaps I'm doing something wrong ?

I need to reproduce this problem in order to fix it. Do you see the same problem on the "Demo" forum?

https://midas.psi.ch/elogs/Linux+Demo/

    icon2.gif   Re: Adding attachment to an existing entry, posted by Mariusz Stakowski on Mon Dec 6 10:06:54 2010 

Stefan Ritt wrote:

Mariusz Stakowski wrote:

Hello,

I have a problem when I try to edit an existing entry. I want to add an attachment. I can upload an attachment to the existing entry, but submitting it does not seem to work. The  added attachment is not visible. But it exists in logbook directory. The only way I found to add it, is to use "Resubmit as new entry" which is not quite what I want. Is it a design feature or perhaps I'm doing something wrong ?

I need to reproduce this problem in order to fix it. Do you see the same problem on the "Demo" forum?

https://midas.psi.ch/elogs/Linux+Demo/

 

 

Stefan,

 

I'm sorry for the false alert :(. I was trying to submit edited entry using "upper submit" (just under the logbook name strip). I have tried "lower submit" (under Attachment 2) and it works with no problem.

Best regards

 

Mariusz Stakowski

 

 

 

    icon2.gif   Re: Adding attachment to an existing entry, posted by Stefan Ritt on Mon Dec 6 12:40:31 2010 

Mariusz Stakowski wrote:

Stefan Ritt wrote:

Mariusz Stakowski wrote:

Hello,

I have a problem when I try to edit an existing entry. I want to add an attachment. I can upload an attachment to the existing entry, but submitting it does not seem to work. The  added attachment is not visible. But it exists in logbook directory. The only way I found to add it, is to use "Resubmit as new entry" which is not quite what I want. Is it a design feature or perhaps I'm doing something wrong ?

I need to reproduce this problem in order to fix it. Do you see the same problem on the "Demo" forum?

https://midas.psi.ch/elogs/Linux+Demo/

I'm sorry for the false alert :(. I was trying to submit edited entry using "upper submit" (just under the logbook name strip). I have tried "lower submit" (under Attachment 2) and it works with no problem. 

Well, also the "upper submit" button should work. I just tried at the demo logbook, and it worked fine (there is however now the problem that one has to click Submit twice to make it work). Can you check yourself? 

    icon2.gif   Re: How can Elog start automatically on Windows Server 2008 on startup ?, posted by Stefan Ritt on Tue Dec 7 09:38:56 2010 

Philipp W. wrote:

 Hi all,

i have a question... How can i manage it that elog starts automatically on windows startup ? I  always need to type "elogd -p 85" in the console that it starts ...

Can anyone help me ? =)

 

Thanks

 

SenoX

If you install elog with the installer from the distribution, it installs elog as a windows service, which is started automatically when windows starts. 

    icon2.gif   Re: Adding attachment to an existing entry, posted by Stefan Ritt on Tue Dec 7 09:40:19 2010 

Stefan Ritt wrote:

 

there is however now the problem that one has to click Submit twice to make it work

I fixed this problem in the current SVN revision, so now a single click to the Submit button is enough again. 

    icon2.gif   Re: how to retrieve attachment on execute new, posted by Zbigniew Reszela on Tue Dec 14 18:43:38 2010 

Zbigniew Reszela wrote:

Hello all,

I have a problem with retrieving attachments of an entry on "Execute new" command. In the syntax of elodg.cfg it is: In addition the list of all attachments can be referred to via $<attachment>. Could anyone explain it a little bit more explicit, or attach an example?

Thank you in advance.

 

Hello again,

I have managed with problem by using $attachments. This provides me a list o paths to attachments. If it's the correct way to use it please change elogd.cfg syntax page.

Thanks a lot.

    icon2.gif   Re: How can Elog start automatically on Windows Server 2008 on startup ?, posted by Arno Teunisse on Tue Dec 14 20:16:46 2010 

Stefan Ritt wrote:

Philipp W. wrote:

 Hi all,

i have a question... How can i manage it that elog starts automatically on windows startup ? I  always need to type "elogd -p 85" in the console that it starts ...

Can anyone help me ? =)

 

Thanks

 

SenoX

If you install elog with the installer from the distribution, it installs elog as a windows service, which is started automatically when windows starts. 

 Hello
When the install did not work properly  ( I've never had that problem ) you can start the elog service with the SC.EXE command like this :

sc.exe create Elog binpath= "\"c:\program files\elog\elogd.exe\" -D -c \"c:\program files\elog\elogd.cfg\"" displayname= "Elogbook services" start= auto type= own

Please notice the spaces after the ( they are required )

You can now use :
net start elog
and
net stop elog

to start the service without a reboot.

Maybe this helps.

 

    icon2.gif   Re: how to retrieve attachment on execute new, posted by Stefan Ritt on Wed Dec 15 08:49:30 2010 

Zbigniew Reszela wrote:

Zbigniew Reszela wrote:

Hello all,

I have a problem with retrieving attachments of an entry on "Execute new" command. In the syntax of elodg.cfg it is: In addition the list of all attachments can be referred to via $<attachment>. Could anyone explain it a little bit more explicit, or attach an example?

Thank you in advance.

 

Hello again,

I have managed with problem by using $attachments. This provides me a list o paths to attachments. If it's the correct way to use it please change elogd.cfg syntax page.

Thanks a lot.

Yes, indeed there was a typo in the documentation, $attachments is the correct one. I changed that in the syntax page.

ELOG V3.1.5-3fb85fa6