Author Topic: installation completed but with errors  (Read 7986 times)

Sai

  • Guest
installation completed but with errors
« 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"

sai

  • Guest
installation completed but with errors(small change)
« Reply #1 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"

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
installation completed but with errors
« Reply #2 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.
Calem Community Forum Admin

yin_74133

  • Newbie
  • *
  • Posts: 2
Jsmin site?
« Reply #3 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.

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Minimize js without jsmin.exe
« Reply #4 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
Calem Community Forum Admin

yin_74133

  • Newbie
  • *
  • Posts: 2
installation completed but with errors
« Reply #5 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:

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
installation completed but with errors
« Reply #6 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?
Calem Community Forum Admin

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
installation completed but with errors
« Reply #7 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.
Calem Community Forum Admin