Re: Image source url missing, posted by Antonio Bulgheroni on Thu Sep 1 09:03:51 2016
|
The conflicting option is "Preview attachments". When this is turned off (set to 0), images are not properly uploaded. Could you please confirm it also on your side?
Antonio Bulgheroni wrote: |
This is another piece of information to help in the debugging. To my standards logbooks, I have added the "demo". On the demo I can upload pictures while I can't on the other logbooks.
This is indicating that the bug has something to do with the logbook configuration other than with the editor or the image upload plugin.
Thanks for your help,
Antonio
Andreas Luedeke wrote: |
Yes, I can confirm that the image button upload does work in the Linux Demo logbook (Windows 10 client host, Firefox 47.0 client) and it still does not work in this Forum.
Antonio Bulgheroni wrote: |
Andreas, there is something strange. It looks the problem is "configuration dependent" because I tried to upload a picture on the Linux Demo logbook and there it works. Can you confirm this too?
Andreas Luedeke wrote: |
Okay, I can confirm this bug: with Windows 10 using Firefox 47.0 the dialog hangs as soon as I press "Send it to the server". When it returns, it did not upload anything. That is why it asks for URL after pressing OK.
Quick fix: just attach the image and use the URL of the attachment.
I did it here: 
Cheers
Andreas
Antonio Bulgheroni wrote: |
Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10.
Which OS & Browser are you using?
thanks,
Antonio
Antonio Bulgheroni wrote: |
Dear Stefan, thanks for your answer.
I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome.
For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server.
(I'm on Windows 7)
Thanks for your help,
Antonio
Stefan Ritt wrote: |

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?
Stefan
Antonio Bulgheroni wrote: |
Can anyone help me? I'm really clueless 
Thanks in advance,
Antonio
Antonio Bulgheroni wrote: |
Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.
This is what I do:
- Click on the insert "Image" button in the editor toolbar
- In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
- I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.
I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.
What am I doing wrong? With 2.9.2 it was working normally.
Thanks again and best regards
Antonio
|
|
|
|
|
|
|
|
|
|
Re: Image attachments null in e-mails. Error log?, posted by Andreas Luedeke on Wed Jun 26 10:10:45 2013
|
Daniel Campora wrote: |
Hi there :)
I'm having a problem with the e-mail notification on my installation of elog. I'm testing the attachment upload with images, and it seems to work seamlessly. However upon posting, the e-mail notification sends a null attachment, instead of the image I would expect.
Is there an error log I can check for this? I started the elog process without the daemon option, but I can't see any error coming up.
Cheers,
|
This is one of the few exceptional cases where reading the documentation can actually help: https://midas.psi.ch/elog/config.html#global
⇄
Detect language » English
https://midas.psi.ch/elog/config.html#global
You can turn on logging using the "Logfile=<filename>" command in the elogd.cfg configuration. With "Logging level=3" you see all elog access, but sending email is in the log anyway. |
Re: Image attachments null in e-mails. Error log?, posted by Stefan Ritt on Wed Jun 26 13:41:47 2013
|
Daniel Campora wrote: |
Hi there :)
I'm having a problem with the e-mail notification on my installation of elog. I'm testing the attachment upload with images, and it seems to work seamlessly. However upon posting, the e-mail notification sends a null attachment, instead of the image I would expect.
Is there an error log I can check for this? I started the elog process without the daemon option, but I can't see any error coming up.
Cheers,
|
Some people reported that there is a problem if you don't have ImageMagick installed. So please install that package and try again.
Cheers,
Stefan |
Re: Image attachments null in e-mails. Error log?, posted by Stefan Ritt on Wed Nov 6 17:06:40 2013
|
Daniel Campora wrote: |
Hi there :)
I'm having a problem with the e-mail notification on my installation of elog. I'm testing the attachment upload with images, and it seems to work seamlessly. However upon posting, the e-mail notification sends a null attachment, instead of the image I would expect.
Is there an error log I can check for this? I started the elog process without the daemon option, but I can't see any error coming up.
Cheers,
|
This problem has been fixed in the current version. Please get it from bitbucket.org. |
Re: If a Required Attribute starts with a number – No CKEditor, posted by Andreas Luedeke on Fri Dec 11 14:30:10 2015
|
Hi David,
I can confirm a bug: changing the encoding does not work if you have a required attribute starting with a digit. The following minimal config reproduces the bug:
[global]
Default encoding = 1
[test]
Attributes = 7SWM
Options 7SWM = Name
Required Attributes = 7SWM
Whatever you choose as a default encoding you'll be stuck with. If you remove the "Required Attributes" it works again.
The workaround is very simple: do not use any attributes that do start with a digit :-)
Cheers, Andreas
David Dunne wrote: |
Hello, Is the below an issue or am I doing something incorrectly? Creating an attribute starting with a number and then including that attribute in the Required Attribute list prevents access to the CKEditior. This appears to be the case at least with FreeBSD (10.2 Rel) using Elog V3.1.0 and Windows 7 with Elog V3.1.1-3f311c5. The problem can be recreated using the Elog supplied sample config and adding the necessary attribute, sample config showing below. While attribute 7SWM is part of the Required Attributes the CKEditor fails to appear, remove 7SWM from the Required Attributes list and the CKEditor returns. [global] port = 8080 [demo] Theme = default Comment = General Linux Tips & Tricks Attributes = Author, Type, Category, Subject, 7SWM Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other Options Category = General, Hardware, Software, Network, Other Options 7SWM = Name-1, Name-2, Name-3 Extendable Options = Category Required Attributes = Author, Type, 7SWM Page Title = ELOG - $subject Reverse sort = 1 Quick filter = Date, Type Thank you, David Dunne |
|
Re: Idea/Suggestion, posted by Stefan Ritt on Thu Feb 26 11:00:00 2009
|
> In the past I have requested the "mark whole thread" feature, not yet implimented.
That's not correct, it is implemented. Just add an attribute for that. Assume you have problem reports, so you
add
Attributes = ..., Fixed
Options Fixed = boolean
Quick filter = Fixed
If you add a new entry, "Fixed" is false by default. All replies to that entry will contain then the same flag.
Now if you want to mark the whole thread as fixed, do the following:
- go into list display
- display all entries in threaded mode
- click on "Select"
- select the thread you want to mark as fixed and click "Edit"
- now keep all attributes, but check the "Fixed" check box
and voila, the whole thread will contain "Fixed = 1". Using the quick filter, you can now show all fixed threads
with one click. |
Re: Idea/Suggestion, posted by David Pilgram on Mon Mar 2 22:00:33 2009
|
Hi Stefan,
Must have missed it when the fixed/not fixed thread marking got implimented.
Anyhow, my main point would still apply for where the thread is not yet fixed, but is in one of a number of possible
states (waiting, panic, work-in-progress....). Clearly you can label the latest entry in a thread with the latest
status, and icon, but when in collapsed mode, you only see the initial entry. If the latest entry were shown
(optionally), then one can tell at a glance in the collapsed listings which entry may need direct attention.
> > In the past I have requested the "mark whole thread" feature, not yet implimented.
>
> That's not correct, it is implemented. Just add an attribute for that. Assume you have problem reports, so you
> add
>
> Attributes = ..., Fixed
> Options Fixed = boolean
> Quick filter = Fixed
>
> If you add a new entry, "Fixed" is false by default. All replies to that entry will contain then the same flag.
> Now if you want to mark the whole thread as fixed, do the following:
>
> - go into list display
> - display all entries in threaded mode
> - click on "Select"
> - select the thread you want to mark as fixed and click "Edit"
> - now keep all attributes, but check the "Fixed" check box
>
> and voila, the whole thread will contain "Fixed = 1". Using the quick filter, you can now show all fixed threads
> with one click. |
Re: Idea/Suggestion, posted by Stefan Ritt on Tue Mar 3 12:38:07 2009
|
> Hi Stefan,
>
> Must have missed it when the fixed/not fixed thread marking got implimented.
>
> Anyhow, my main point would still apply for where the thread is not yet fixed, but is in one of a number of possible
> states (waiting, panic, work-in-progress....). Clearly you can label the latest entry in a thread with the latest
> status, and icon, but when in collapsed mode, you only see the initial entry. If the latest entry were shown
> (optionally), then one can tell at a glance in the collapsed listings which entry may need direct attention.
If you always mark the whole thread with states (waiting, panic, work-in-progress,...) as described in my last posting,
then you will see this from the thread initial entry as well. If you use icons, then even more. The only disadvantage
is that you have to discipline yourself always modifying the whole thread and not only one entry in that thread. |
|