Page 1 of 1

1.2 on Ubuntu

PostPosted: April 16th, 2012, 2:15 am
by chrisblessing
Greetings,

I've installed version 1.2 on a Ubuntu 11.10 server. I currently have 1.1 running as well, on the same server, without issues. However, 1.2 is having database issues. Whenever I attempt to add, for example, a school, grade or department, I get an "undefined" error. The pop-up screen that should open to allow input does not appear, instead simply opening a new window. Attempts to add anything results in nothing.

I have replicated this several times. I have created a fresh, empty database, tried importing our current database, and so on, but this error persists.

I appreciate any insights.

Regards,

Chris

Re: 1.2 on Ubuntu

PostPosted: April 16th, 2012, 4:20 am
by David Tong
1. Please make sure your 1.1 database is upgraded to 1.2 by using the "DB Upgrade" tool from TODCM's admin panel. If this was not done then the application would have errors in various pages. Please refer to the "TODCM Upgrade" document from the "Doc" link/button.

2. Turn on error display by modifying system/application/config/cms.php:
Change this line: error_reporting(0);
to
error_reporting(E_ALL);

This should print the error message for what ever is causing the problem. Make sure to put it back to the original after you are done.

3. Try doing a fresh install of 1.2 and see if the same pages are still having the same problem. This should be done without the existing 1.1 database.

Re: 1.2 on Ubuntu

PostPosted: April 16th, 2012, 5:11 am
by chrisblessing
Thanks David. Actually, this turned out to be an issue with my Firefox browser. Tried from Chrome and no issue. I haven't debugged but can if you need the issue. Thanks so much for your quick reply.

Say, are you in Bangkok?

Thanks,

Chris

Re: 1.2 on Ubuntu

PostPosted: April 16th, 2012, 6:04 am
by David Tong
Chris, I suspect your Firefox browser has the older version of Javascripts from 1.1, clearing the browser cache should fix this. We are aware of this issue so we suggest to upgrade a site during non-business hours in the upgrade document and the old cached Javascripts should expire before users start to access the upgraded site. Somehow, we never experienced this issue in our development environment so we didn't suggest the admin user to refresh his/her browser. I think I and my programmers always do a browser refresh or clear the browser cache after an upgrade. Our hosting environment and managed customer servers have a special setup to prevent similar issues.

Yes, our office is located right in the heart of Bangkok. I believe your timezone is only few hours apart from ours.

Cheers,
David

Re: 1.2 on Ubuntu

PostPosted: April 16th, 2012, 7:42 am
by chrisblessing
Hi David,

Thanks for the info. This site isn't yet public so I'll expire my cache and try again tomorrow, although I'm happy to use Chrome.

I was just in Bangkok for the EARCOS conference. You might want to consider setting up a vendor booth with them sometime. Schools really struggle with this curriculum mapping business.

Cheers,

Chris