Problem with Javascript on Data Entry page (linux)

Dear all,

I built trunk code and run on Tomcat server.

I can be able to deploy and run well dhis.war on Windows,

But on linux

There’s an error on Javascripts as below (when I tried to access Data Entry page):

ReferenceError: maintenanceModulesNo is not defined
http://localhost:8080/dhis/main.js

if ( maintenanceModulesNo > 0 )
Line 65

So I could not see my Data Entry page on linux.

I don’t know what happened

Any of you have the same problem with me?

···


Thai Chuong

University of technology - Computer science and engineering Faculty

Website: http://thuytruc.net

YM : thaichuong159
Email: thaichuong159@gmail.com

Phone : 0918776134

Hi Chuong,

which version and build?

Did this happen while using the data entry module?

Try clearing your browser cache completely, including local storage.

Lars

···

On Wed, Jan 23, 2013 at 11:29 AM, Thái Chương thaichuong159@gmail.com wrote:

Dear all,

I built trunk code and run on Tomcat server.

I can be able to deploy and run well dhis.war on Windows,

But on linux

There’s an error on Javascripts as below (when I tried to access Data Entry page):

ReferenceError: maintenanceModulesNo is not defined
http://localhost:8080/dhis/main.js

if ( maintenanceModulesNo > 0 )
Line 65

So I could not see my Data Entry page on linux.

I don’t know what happened

Any of you have the same problem with me?


Thai Chuong

University of technology - Computer science and engineering Faculty

Website: http://thuytruc.net

YM : thaichuong159
Email: thaichuong159@gmail.com

Phone : 0918776134


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Thank you very much Lars,

I using 2.11-snapshot build 9581

Yes, it has happened while using data entry module.

I can be able to run now by cleaning every data of web browser.

I’ve deleted cache only, but seem it was not enough.

Can insert value, but Could not see it after reload, althought data has been saved in Database (I’ve checked)

Best regards,

···

2013/1/23 Lars Helge Øverland larshelge@gmail.com

Hi Chuong,

which version and build?

Did this happen while using the data entry module?

Try clearing your browser cache completely, including local storage.

Lars

On Wed, Jan 23, 2013 at 11:29 AM, Thái Chương thaichuong159@gmail.com wrote:

Dear all,

I built trunk code and run on Tomcat server.

I can be able to deploy and run well dhis.war on Windows,

But on linux

There’s an error on Javascripts as below (when I tried to access Data Entry page):

ReferenceError: maintenanceModulesNo is not defined
http://localhost:8080/dhis/main.js

if ( maintenanceModulesNo > 0 )
Line 65

So I could not see my Data Entry page on linux.

I don’t know what happened

Any of you have the same problem with me?


Thai Chuong

University of technology - Computer science and engineering Faculty

Website: http://thuytruc.net

YM : thaichuong159
Email: thaichuong159@gmail.com

Phone : 0918776134


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Thai Chuong

University of technology - Computer science and engineering Faculty

Website: http://thuytruc.net

YM : thaichuong159
Email: thaichuong159@gmail.com

Phone : 0918776134

Please try this:

use chrome browser

click F12, then “console”

go to data entry and enter some data

Then watch the console log and post any error messages.

Also monitor the tomcat log during data entry and post any error messages.

Lars

···

2013/1/23 Lars Helge Øverland larshelge@gmail.com

Hi Chuong,

which version and build?

Did this happen while using the data entry module?

Try clearing your browser cache completely, including local storage.

Lars

On Wed, Jan 23, 2013 at 11:29 AM, Thái Chương thaichuong159@gmail.com wrote:

Dear all,

I built trunk code and run on Tomcat server.

I can be able to deploy and run well dhis.war on Windows,

But on linux

There’s an error on Javascripts as below (when I tried to access Data Entry page):

ReferenceError: maintenanceModulesNo is not defined
http://localhost:8080/dhis/main.js

if ( maintenanceModulesNo > 0 )
Line 65

So I could not see my Data Entry page on linux.

I don’t know what happened

Any of you have the same problem with me?


Thai Chuong

University of technology - Computer science and engineering Faculty

Website: http://thuytruc.net

YM : thaichuong159
Email: thaichuong159@gmail.com

Phone : 0918776134


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Thai Chuong

University of technology - Computer science and engineering Faculty

Website: http://thuytruc.net

YM : thaichuong159
Email: thaichuong159@gmail.com

Phone : 0918776134