Calem Community Forum

General => Setup => Topic started by: Sai on May 23, 2007, 07:48:09 am

Title: installation completed but with errors
Post by: Sai on May 23, 2007, 07:48:09 am
After successful istallation,when i opened http://localhost/calemEAM it is showing a blankpage with some scripting error: "calemeamDebug is undefined"
Title: installation completed but with errors(small change)
Post by: sai on May 23, 2007, 08:07:21 am
After successful istallation,when i opened http://localhost/calemEAM it is showing a blankpage with some scripting error: "calemDebug is undefined"
Title: installation completed but with errors
Post by: calemadmin on May 23, 2007, 09:25:01 am
jsmin.exe in releases r1.0.1 and r1.0.1ac is a dos version which does not run in some new laptops (root cause not explored). This can be verified by looking at CalemEAM/client/launchpad/resource all the .min and .gz files should be 0 bytes long.

Download r1.0.1x which has a jsmin.exe for windows.
Title: Jsmin site?
Post by: yin_74133 on June 05, 2007, 03:03:47 pm
:oops: I ran into the problem again and got blank screen after deploy. I got the jsmin.exe from http://www.crockford.com/javascript/jsmin.html but it still doesn't work. Is there another link to get the latest version of jsmin?

Quote from: "calemadmin"
jsmin.exe in releases r1.0.1 and r1.0.1ac is a dos version which does not run in some new laptops (root cause not explored). This can be verified by looking at CalemEAM/client/launchpad/resource all the .min and .gz files should be 0 bytes long.

Download r1.0.1x which has a jsmin.exe for windows.
Title: Minimize js without jsmin.exe
Post by: calemadmin on June 05, 2007, 05:04:34 pm
Modify configuration to use PHP to minify js library.
Modify CalemEAM/server/conf/custom.php

$_CALEM_dist['jsminClass']=array('path'=>'build', 'class'=>'CalemJsMinPhp');

A php version of jsmin is used instead of jsmin.exe
Watch out the log for memory usage, on Linux with CalemJsMinPhp, a significant amount of RAM (about 250MB) has to be set in php.ini to have it run while on Windows this does not seem an issue. Just in case, this is the php.ini for command line, at \wamp\php\php.ini. If you received memory size exceeded issue, extend memory (memory_limit = 8M) from 8M to say 128M for it to run.

We plan to remove the dependency on jsmin for next release:
http://www.calemeam.com/apps/mantis/view.php?id=12
Title: installation completed but with errors
Post by: yin_74133 on June 06, 2007, 01:36:24 pm
I got pass the jsmin issue after use the php version. I had to use 256K memory.

However, I still got blank screen. Don't see any error in Apache, PHP, MySQL and CalmEAM logs. But I see "AjaxCore is not defined" error in Firefox's Error Console. :roll:
Title: installation completed but with errors
Post by: calemadmin on June 06, 2007, 02:22:59 pm
Take a look at paths defined in CalemEAM/server/conf/custom.php:

$_CALEM_dist['calem_root_uri']='/CalemEAM';
$_CALEM_dist['calem_request_uri']='/CalemEAM/index.php';
$_CALEM_dist['calem_soap_uri']='/CalemEAM/CalemSoapService.php';

Do they match the installation and the URL you use to launch the app?
Title: installation completed but with errors
Post by: calemadmin on June 20, 2007, 09:40:41 am
The root cause is access rights in Windows XP. The login user does not have access rights to the CalemEAM directories. Grant access rights from Windows resolved the issue.