yadamz
(Yani Adamz)
October 29, 2016, 1:20am
1
I have followed the recommendations here:
https://wiki.openmrs.org/pages/viewpage.action?pageId=36668565
I created a new image handler concept and a form (form name: image).
The concept and the form were created here:
http://uat01.openmrs.org:8080/openmrs/login.htm
I added the form for patient name: tade tare
However, the form worked but the image didnt show
Am I missing any thing?
I appreciate your help
dkayiwa
(Daniel Kayiwa)
October 29, 2016, 5:26pm
2
Do you have any errors in the server log files or browser JavaScript console window?
yadamz
(Yani Adamz)
October 29, 2016, 6:28pm
3
Thanks Daniel,
We are using only one production server. So I avoid testing anything new on it . I use demo servers for testing. This is the server I have used:
http://uat01.openmrs.org:8080/openmrs/login.htm
The form name is image. the patient name is tade tare. There is only one visit and one encounter for this patient. this encounter is visit note. the form used in it is my form.
I always appreciate your help
dkayiwa
(Daniel Kayiwa)
October 29, 2016, 6:40pm
4
Have you ever tried out the openmrs standalone version for testing?
yadamz
(Yani Adamz)
October 29, 2016, 6:45pm
5
sounds like a good idea. where does it save the logs though
yadamz
(Yani Adamz)
October 29, 2016, 6:52pm
6
OK… I got it from the browser console
here it is
http://pastebin.com/t3vyk2Ef
dkayiwa
(Daniel Kayiwa)
October 29, 2016, 6:53pm
7
In the logs folder under tomcat.
yadamz
(Yani Adamz)
October 29, 2016, 6:54pm
8
is the one I just posted good enough?
here it is
http://pastebin.com/t3vyk2Ef
dkayiwa
(Daniel Kayiwa)
October 29, 2016, 7:00pm
9
No. This is just the html source. Not an error log.
yadamz
(Yani Adamz)
October 29, 2016, 11:22pm
10
I finally got the server logs : here it is
this is the pictures. it shows the form and the encounter after uploading a file
Thanks Daniel
dkayiwa
(Daniel Kayiwa)
October 30, 2016, 12:18am
11
Is this the entire log? Or have you just copied only parts of it?
yadamz
(Yani Adamz)
October 30, 2016, 4:56am
12
parts of it … I just followed the time I encountered the error… below are link for erros and attached is the log file .
Thanks again
others are too big to attach. logs.txt (1.7 MB)
dkayiwa
(Daniel Kayiwa)
October 30, 2016, 8:05am
13
This log file has a lot to follow. I recommend that you reproduce this using the OpenMRS standalone version. After you are sure that you can reproduce, delete the log file under tomcat/logs. Then repeat the steps to reproduce. This time you will have a new log file automatically created, that will have information to do with these steps.
yadamz
(Yani Adamz)
November 12, 2016, 3:37am
14
Hello Daniel,
I deleted all logs file and restarted tomcat. I tried to use the form and upload an image. Here are the logs:
http://pastebin.com/jvQcKsYh
http://pastebin.com/CYZTHWU3
http://pastebin.com/tTuk4nMz
http://pastebin.com/iz7urwDn
Thanks very much again
yadamz
(Yani Adamz)
November 12, 2016, 9:20pm
15
Any luck in finding the problem?
dkayiwa
(Daniel Kayiwa)
November 14, 2016, 4:47pm
16
Are you able to reproduce this after you have just logged in?
yadamz
(Yani Adamz)
November 26, 2016, 6:15pm
17
Yes. I cleared all logs. log in and tries to upload images
dkayiwa
(Daniel Kayiwa)
November 26, 2016, 6:41pm
18
Can you share the log after doing so.