Version:2.22Build revision: 21878 I'm now encountering a similar issue to this original post.
We have a program A with one program stage assigned to every facility in the instance. It works properly. We just now added a new program B with a new program stage and assigned it to every facility in the instance. Data elements have been assigned to the stage and a tracked entity with 2 attributes (the same ones used for Program A) have been assigned to program B. When I go to do data entry using Tracker Capture and pick a facility, the only program available in the pull down is Program A... although Program B is set up the same way. I have cleared the cache per the method outlined here <https://www.dhis2.org/tutorials/how-to-really-clear-browser-cache>, logged in to the instance in Incognito mode to no avail. I've even run Analytics and cleared the Cache through the Data Administration app. I cannot access Program B. Any ideas please? *Laura E. Lincks* Database Manager/Developer ICAP - Columbia University Mailman School of Public Health 60 Haven Ave, Floor B1 New York, NY 10032 Tel: 212 304 7132 On Fri, Oct 30, 2015 at 3:07 PM, Iuri Fanti <[email protected]> wrote: > Hi Abyot, thanks for your reply. > > I just installed the 2.21 version (on Tomcat), and I cleared the > browser cache and cookies so many times, but still no luck. Just to be > sure, I created a brand new database: only one option set, only one > data element, only one program (without registration), only one > organization unit; I assigned the option set to the data element, the > data element to the program stage, and the program to the orgunit. > When I click on the drop down menu of the data element "DA gender", > what I get is in the picture attached.. :( Obviously I checked a > hundred times the option management (also attached). I attach a dump > of my db (MySQL) as well. > > Thanks in advance, > > Iuri > > > 2015-10-29 19:03 GMT+01:00 Abyot Gizaw <[email protected]>: > > Hi Iuri, > > > > That shouldn't really stop you from proceeding. Which version of dhis2 > are > > you using? Also make sure you have cleared your browser cache. > > > > > > --- > > Thank you, > > Abyot. > > > > On Thu, Oct 29, 2015 at 2:49 PM, Iuri Fanti <[email protected]> > wrote: > >> > >> Sure. When I click on "Event Capture", the console shows me these > >> messages: > >> > >> Creating Application Cache with manifest > >> http://localhost:8080/dhis/dhis-web-event-capture/cacheManifest.action > >> index.html:1 Application Cache Checking event > >> index.html:1 Application Cache Error event: Failed to parse manifest > >> http://localhost:8080/dhis/dhis-web-event-capture/cacheManifest.action > >> angular.js:87 GET > >> http://localhost:8080/dhis/api/userSettings/currentStyle 404 (Not > >> Found)(anonymous function) @ angular.js:87n @ angular.js:82f @ > >> angular.js:80(anonymous function) @ angular.js:112n.$eval @ > >> angular.js:126n.$digest @ angular.js:123n.$apply @ angular.js:126l @ > >> angular.js:81M @ angular.js:85F.onload @ angular.js:86 > >> dhis2.menu.ui.js:1114 Unable to load usersettings, falling back to > >> systemSettings > >> directives.js:12 Finished loading orgunit tree > >> event-capture.js:142 Loading required meta-data > >> dhis2.angular.directives.js:71 Finished loading orgunit tree > >> event-capture.js:142 Loading required meta-data > >> jquery.min.js:2 GET > >> > >> > http://localhost:8080/dhis/api/programRules.json?paging=false&fields=id,program[id]&_=1446126435971 > >> 500 (Internal Server Error)send @ jquery.min.js:2p.extend.ajax @ > >> jquery.min.js:2getD2MetaObject @ > >> event-capture.js:509getMetaProgramRules @ > >> event-capture.js:476(anonymous function) @ jquery.min.js:2k @ > >> jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @ jquery.min.js:2k @ > >> jquery.min.js:2l.add @ jquery.min.js:2(anonymous function) @ > >> jquery.min.js:2k @ jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @ > >> jquery.min.js:2k @ jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @ > >> jquery.min.js:2(anonymous function) @ event-capture.js:527k @ > >> jquery.min.js:2l.fireWith @ jquery.min.js:2y @ jquery.min.js:2d @ > >> jquery.min.js:2 > >> event-capture.js:168 Finished loading meta-data > >> event-capture.js:170 Started availability check > >> jquery.min.js:2 GET > >> > >> > http://localhost:8080/dhis/api/programRules.json?paging=false&fields=id,program[id]&_=1446126435981 > >> 500 (Internal Server Error)send @ jquery.min.js:2p.extend.ajax @ > >> jquery.min.js:2getD2MetaObject @ > >> event-capture.js:509getMetaProgramRules @ > >> event-capture.js:476(anonymous function) @ jquery.min.js:2k @ > >> jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @ jquery.min.js:2k @ > >> jquery.min.js:2l.add @ jquery.min.js:2(anonymous function) @ > >> jquery.min.js:2k @ jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @ > >> jquery.min.js:2k @ jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @ > >> jquery.min.js:2(anonymous function) @ event-capture.js:527k @ > >> jquery.min.js:2l.fireWith @ jquery.min.js:2y @ jquery.min.js:2d @ > >> jquery.min.js:2 > >> event-capture.js:168 Finished loading meta-data > >> event-capture.js:170 Started availability check > >> > >> Is it useful? > >> > >> Iuri > >> > >> 2015-10-28 12:57 GMT+01:00 Abyot Gizaw <[email protected]>: > >> > Hi Iuri, > >> > > >> > Do you have any log to share from your browser console? > >> > > >> > > >> > --- > >> > Thank you, > >> > Abyot. > >> > > >> > On Tue, Oct 27, 2015 at 8:32 PM, Iuri Fanti <[email protected]> > >> > wrote: > >> >> > >> >> Hi all, > >> >> > >> >> the "second problem" is still there: > >> >> > >> >> "I can't see any options for the Option sets in the program stage > >> >> during data entry. Clicking on the drop down menu, all I get is a > text > >> >> field with a lens and the caption "Select or search from the list". > >> >> > >> >> All the best, > >> >> > >> >> Iuri > >> >> > >> >> 2015-10-26 13:41 GMT+01:00 Iuri Fanti <[email protected]>: > >> >> > I solved the problem with the non-existent programs: I deleted the > >> >> > cookies related to "localhost". They were described as "local > >> >> > storage". So, it's something that DHIS should do by itself, > someway. > >> >> > > >> >> > 2015-10-26 13:22 GMT+01:00 Iuri Fanti <[email protected]>: > >> >> >> With private/incognito mode the non-existent programs disappeared > >> >> >> from > >> >> >> the drop down menu. I guess it's a useful info to solve the > problem > >> >> >> in > >> >> >> the real-life DHIS. Anyway, the problem with the option sets is > >> >> >> still > >> >> >> there: no options in the drop down menus. > >> >> >> > >> >> >> 2015-10-23 22:57 GMT+02:00 Knut Staring <[email protected]>: > >> >> >>> Whenever you clear the browser cache, try restarting the browser > >> >> >>> also. > >> >> >>> Did > >> >> >>> you try private/incognito mode? > >> >> >>> > >> >> >>> Knut > >> >> >>> > >> >> >>> On Fri, Oct 23, 2015 at 10:03 PM, Iuri Fanti < > [email protected]> > >> >> >>> wrote: > >> >> >>>> > >> >> >>>> Hi all, > >> >> >>>> > >> >> >>>> I have a couple of problems with the Event Capture app (single > >> >> >>>> event > >> >> >>>> without registration). > >> >> >>>> > >> >> >>>> If I click on the drop down menu for the available programs, it > >> >> >>>> shows > >> >> >>>> programs that I deleted. Even after cleaning the browser cache > and > >> >> >>>> the > >> >> >>>> app cache (from Data Administration --> Cache statistics --> > Clean > >> >> >>>> cache) it keeps showing those entries. I looked for them > directly > >> >> >>>> in > >> >> >>>> the database as well, but I couldn't find them. > >> >> >>>> > >> >> >>>> The second problem is that I can't see any options for the > Option > >> >> >>>> sets > >> >> >>>> in the program stage during data entry. Clicking on the drop > down > >> >> >>>> menu, all I get is a text field with a lens and the caption > >> >> >>>> "Select > >> >> >>>> or > >> >> >>>> search from the list". > >> >> >>>> > >> >> >>>> All the best, > >> >> >>>> > >> >> >>>> Iuri > >> >> >>>> > >> >> >>>> -- > >> >> >>>> @-`-,-- > >> >> >>>> > >> >> >>>> _______________________________________________ > >> >> >>>> Mailing list: https://launchpad.net/~dhis2-users > >> >> >>>> Post to : [email protected] > >> >> >>>> Unsubscribe : https://launchpad.net/~dhis2-users > >> >> >>>> More help : https://help.launchpad.net/ListHelp > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> -- > >> >> >>> Knut Staring > >> >> >>> Dept. of Informatics, University of Oslo > >> >> >>> Norway: +4791880522 > >> >> >>> Skype: knutstar > >> >> >>> http://dhis2.org > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> @-`-,-- > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > @-`-,-- > >> >> > >> >> > >> >> > >> >> -- > >> >> @-`-,-- > >> >> > >> >> _______________________________________________ > >> >> Mailing list: https://launchpad.net/~dhis2-users > >> >> Post to : [email protected] > >> >> Unsubscribe : https://launchpad.net/~dhis2-users > >> >> More help : https://help.launchpad.net/ListHelp > >> > > >> > > >> > >> > >> > >> -- > >> "The best argument against democracy is a five-minute conversation > >> with the average voter." - Winston Churchill > >> @-`-,-- > > > > > > > > -- > "The best argument against democracy is a five-minute conversation > with the average voter." - Winston Churchill > @-`-,-- > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

