Calem Community Forum
General => Setup => Topic started 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"
-
After successful istallation,when i opened http://localhost/calemEAM it is showing a blankpage with some scripting error: "calemDebug is undefined"
-
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.
-
: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?
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.
-
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
-
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:
-
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?
-
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.