Author Topic: I cann\'t see anything when I login as admin  (Read 3400 times)

yvmu

  • Newbie
  • *
  • Posts: 6
I cann\'t see anything when I login as admin
« on: July 30, 2007, 01:02:42 am »
It\'s my first time to use this product, and I had installed it. But I cann\'t see anything when I login as admin.

My platform is Linux (kernel 2.6), Apache (version 2.2.4), PHP (version 5.2.1), MySQL (version 5.0).

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
I cann\'t see anything when I login as admin
« Reply #1 on: July 30, 2007, 01:10:27 am »
Take a look at logs. It might tell you more.
- php error logs
- calem logs (under CalemEAM/logs/calem.log)
Calem Community Forum Admin

yvmu

  • Newbie
  • *
  • Posts: 6
I cann\'t see anything when I login as admin
« Reply #2 on: July 30, 2007, 02:00:19 am »
Quote from: "calemadmin"
Take a look at logs. It might tell you more.
- php error logs
- calem logs (under CalemEAM/logs/calem.log)



The pictures:



calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
I cann\'t see anything when I login as admin
« Reply #3 on: July 30, 2007, 02:48:14 am »
The screen shots are not helpful. Take a look at log files which should provide more specific info.
Calem Community Forum Admin

yvmu

  • Newbie
  • *
  • Posts: 6
calem's log
« Reply #4 on: July 30, 2007, 03:01:09 am »
Quote from: "calemadmin"
The screen shots are not helpful. Take a look at log files which should provide more specific info.


Code: [Select]
2007-07-30 16:59:23,151 DEBUG main - sid=; Post data=
2007-07-30 16:59:23,151 DEBUG main - CALEM_SID passed in: array (
  'sid' => '72019fca-db6f-e764-a99e-8d9e477f4788',
  'gid' => 'CUSTOM_SYSTEM',
  'uid' => '1000000',
  'uname' => 'admin',
  'full_name' => 'Administrator',
  'admin_type_id' => 'search_admin_none',
  'locale' => '',
  'team_id' => '',
)
2007-07-30 16:59:23,151 INFO  main - Received request to launch: client/launchpad/CalemLoginLite.php
2007-07-30 16:59:32,277 DEBUG main - sid=; Post data=username=admin&password=admin_password&calemAction=LoginAction
2007-07-30 16:59:32,277 INFO  MysqlHandler - calem db connection: user=calemeam, password=***, , connection=mysql:host=localhost;dbname=calemeam, persistent connection=Array
2007-07-30 16:59:32,277 DEBUG CalemDbo - fetchBySqlParam: select * from users where username=?, param='admin'
2007-07-30 16:59:32,277 DEBUG CalemPDOStatement - Query time:0.0006, the query=select * from users where username=?, params=array (
  1 => 'admin',
)
2007-07-30 16:59:32,277 INFO  main - Found the correct session: CalemSession: {sessionId=d62db8f2-d8a1-7fa4-2d40-19fb2df3bb6e, data=array (
  'sid' => 'd62db8f2-d8a1-7fa4-2d40-19fb2df3bb6e',
  'user' =>
  array (
    'id' => '1000000',
    'username' => 'admin',
    'status_id' => NULL,
    'password' => 'dc3565645d8002becb5fd7977aeef3e1',
    'user_type_id' => NULL,
    'emp_no' => NULL,
    'contractor_id' => NULL,
    'job_role_id' => NULL,
    'login_allowed' => '1',
    'full_name' => 'Administrator',
    'job_title' => NULL,
    'note' => NULL,
    'acl_group_id' => 'CUSTOM_SYSTEM',
    'admin_type_id' => 'search_admin_none',
    'team_id' => NULL,
    'supervisor_id' => NULL,
    'dept_id' => NULL,
    'costcode_id' => NULL,
    'req_approval_id' => NULL,
    'po_approval_id' => NULL,
    'craft_id' => NULL,
    'phone_work' => NULL,
    'phone_home' => NULL,
    'phone_mobile' => NULL,
    'email_work' => NULL,
    'email_other' => NULL,
    'im1_type_id' => NULL,
    'im1_id' => NULL,
    'im2_type_id' => NULL,
    'im2_id' => NULL,
    'fax' => NULL,
    'company' => NULL,
    'street1' => NULL,
    'street2' => NULL,
    'city' => NULL,
    'state' => NULL,
    'zip' => NULL,
    'country' => NULL,
    'modified_time' => '2007-07-24 08:58:08',
    'modified_id' => '1000000',
    'created_time' => '2007-07-24 08:58:08',
    'created_id' => '1000000',
  ),
)}
2007-07-30 16:59:32,277 INFO  main - Received request to launch: client/launchpad/CalemStart.php
2007-07-30 16:59:32,277 DEBUG main - theme=calem, loadMode=gzip, lang=
2007-07-30 16:59:32,744 DEBUG CalemIncludeJsPkg - adding file for download: /usr/local/apache2/htdocs/CalemEAM/client/launchpad/resource/Metadata.js.gz
2007-07-30 16:59:32,744 DEBUG CalemIncludeJsPkg - Downloading JS by query: zip=1, mode=.gz, fileCount=1
2007-07-30 16:59:33,094 DEBUG CalemIncludeJsPkg - adding file for download: /usr/local/apache2/htdocs/CalemEAM/client/launchpad/resource/CalemMsg.js.gz
2007-07-30 16:59:33,094 DEBUG CalemIncludeJsPkg - Downloading JS by query: zip=1, mode=.gz, fileCount=1
2007-07-30 16:59:33,198 DEBUG CalemIncludeJsPkg - adding file for download: /usr/local/apache2/htdocs/CalemEAM/client/launchpad/resource/Ajax.js.gz
2007-07-30 16:59:33,198 DEBUG CalemIncludeJsPkg - Downloading JS by query: zip=1, mode=.gz, fileCount=1
2007-07-30 16:59:33,976 DEBUG CalemIncludeJsPkg - adding file for download: /usr/local/apache2/htdocs/CalemEAM/client/launchpad/resource/Calem.js.gz
2007-07-30 16:59:33,976 DEBUG CalemIncludeJsPkg - Downloading JS by query: zip=1, mode=.gz, fileCount=1
2007-07-30 16:59:36,113 INFO  JsPkgCustom - Found the correct session: CalemSession: {sessionId=d62db8f2-d8a1-7fa4-2d40-19fb2df3bb6e, data=array (
  'sid' => 'd62db8f2-d8a1-7fa4-2d40-19fb2df3bb6e',
  'user' =>
  array (
    'id' => '1000000',
    'username' => 'admin',
    'status_id' => NULL,
    'password' => 'dc3565645d8002becb5fd7977aeef3e1',
    'user_type_id' => NULL,
    'emp_no' => NULL,
    'contractor_id' => NULL,
    'job_role_id' => NULL,
    'login_allowed' => '1',
    'full_name' => 'Administrator',
    'job_title' => NULL,
    'note' => NULL,
    'acl_group_id' => 'CUSTOM_SYSTEM',
    'admin_type_id' => 'search_admin_none',
    'team_id' => NULL,
    'supervisor_id' => NULL,
    'dept_id' => NULL,
    'costcode_id' => NULL,
    'req_approval_id' => NULL,
    'po_approval_id' => NULL,
    'craft_id' => NULL,
    'phone_work' => NULL,
    'phone_home' => NULL,
    'phone_mobile' => NULL,
    'email_work' => NULL,
    'email_other' => NULL,
    'im1_type_id' => NULL,
    'im1_id' => NULL,
    'im2_type_id' => NULL,
    'im2_id' => NULL,
    'fax' => NULL,
    'company' => NULL,
    'street1' => NULL,
    'street2' => NULL,
    'city' => NULL,
    'state' => NULL,
    'zip' => NULL,
    'country' => NULL,
    'modified_time' => '2007-07-24 08:58:08',
    'modified_id' => '1000000',
    'created_time' => '2007-07-24 08:58:08',
    'created_id' => '1000000',
  ),
  'setting' =>
  array (
    'lang' => '',
    'theme' => 'calem',
  ),
)}
2007-07-30 16:59:36,113 DEBUG CalemIncludeJsPkg - adding file for download: /usr/local/apache2/htdocs/CalemEAM/custom/group/CALEM_OOB.view.js.min
2007-07-30 16:59:36,113 DEBUG CalemIncludeJsPkg - adding file for download: /usr/local/apache2/htdocs/CalemEAM/custom/group/CALEM_OOB.form.js.min
2007-07-30 16:59:36,113 DEBUG CalemIncludeJsPkg - adding jsDef for download: CalemData['acl_group']={"data":[["CUSTOM_SYSTEM","Custom system",null,"Customization\/configuration shared by all other groups","2007-07-24 08:58:08","1000000","2007-07-24 08:58:08","1000000"],["10000","ADMIN","CUSTOM_SYSTEM","Root group to use for all admin groups","2007-07-24 08:58:18","1000000","2007-07-24 08:58:18","1000000"],["10001","USERS","CUSTOM_SYSTEM","Root group to use for all non-admin users","2007-07-24 08:58:18","1000000","2007-07-24 08:58:18","1000000"]],"parentMap":{"CUSTOM_SYSTEM":["CALEM_OOB"],"10000":["CUSTOM_SYSTEM","CALEM_OOB"],"10001":["CUSTOM_SYSTEM","CALEM_OOB"]}}

yvmu

  • Newbie
  • *
  • Posts: 6
php's log
« Reply #5 on: July 30, 2007, 03:10:19 am »
[30-Jul-2007 17:09:07] PHP Fatal error:  Call to undefined function gzencode() in /usr/local/apache2/htdocs/CalemEAM/client/launchpad/CalemIncludeJsPkg.php on line 95

The php have error.

yvmu

  • Newbie
  • *
  • Posts: 6
That 's OK!
« Reply #6 on: July 30, 2007, 03:24:28 am »
the configure command is "./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql/ --with-pdo-mysql=/usr/local/mysql/ --enable-zip --with-zlib-dir"

That's OK, now!

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
I cann\'t see anything when I login as admin
« Reply #7 on: July 30, 2007, 03:29:57 am »
So the issue is gzencode(), and you get CalemEAM working now?
Calem Community Forum Admin

yvmu

  • Newbie
  • *
  • Posts: 6
I cann\'t see anything when I login as admin
« Reply #8 on: July 30, 2007, 07:19:36 pm »
Yes, thank you!