I can't access the Ck-admin

7 views
Skip to first unread message

TxBoatTransporters

unread,
Jul 27, 2009, 11:35:16 AM7/27/09
to CK-ERP (English), t...@hotheadzmarine.com
Ok, Here is the deal.... I installed it according to installation
Guild and everything went as planned except for when you try to access
CK-admin .

I logged into Joomla's Front End with the admin username and password
and then typed in the browser http://mysite.com/modules/ck-admin and
it give me "You must be logged in to access CK-ERP*" I know I must be
doing something wrong but for the life of me can't figure it out.....
Can you help out?

jerre

unread,
Jul 27, 2009, 12:12:18 PM7/27/09
to CK-ERP (English)
Create a Joomla admin user "admin" (exactly that spelling).

This has to do with the PHP user controls in CK. I've not taken the
time to use them appropriately yet, but "admin" will get your started
so that you can access everything. CK has links to how the PHP
profiling works elsewhere in this group.


On Jul 27, 10:35 am, TxBoatTransporters <txboattransport...@gmail.com>
wrote:

C K Wu

unread,
Jul 27, 2009, 12:36:05 PM7/27/09
to CK-E...@googlegroups.com
Hi, TxBoatTransporters,

Thank you for your interest in CK-ERP.

The error message you got was written by CK-ERP, so you were almost there.

Joomla used to have a problem with its cookie being indexed by part of
the accessing webaddress link, confusing CK-ERP's ability to check if
the current user is joomla-logged-in or not. Moreover, this indexing
scheme had changed over time and CK-ERP had to be adjusted to keep up
with Joomla's change. So, my suggestion would be,

a. try out the latest working Joomla 1.5.10 + CK-ERP 0.29.1
combination (demo'ed at http://ck-erp.org/joomla/ )
b. try out a new install of (Joomla + CK-ERP) within a dedicated
subfolder beneath mysite.com . This is how the demo at
http://ck-erp.org/joomla/ is constructed.

If these two steps failed, I am afraid you may have to try out other
middlewares to host CK-ERP.

Best Regards,
CK

TxBoatTransporters

unread,
Jul 27, 2009, 12:38:04 PM7/27/09
to CK-ERP (English)

OK, I will try it out and let you know... Thanks


On Jul 27, 11:36 am, C K Wu <c...@ck-erp.net> wrote:
> Hi, TxBoatTransporters,
>
> Thank you for your interest in CK-ERP.
>
> The error message you got was written by CK-ERP, so you were almost there.
>
> Joomla used to have a problem with its cookie being indexed by part of
> the accessing webaddress link, confusing CK-ERP's ability to check if
> the current user is joomla-logged-in or not.  Moreover, this indexing
> scheme had changed over time and CK-ERP had to be adjusted to keep up
> with Joomla's change.  So, my suggestion would be,
>
> a.    try out the latest working Joomla 1.5.10 + CK-ERP 0.29.1
> combination (demo'ed athttp://ck-erp.org/joomla/)
> b.    try out a new install of (Joomla + CK-ERP) within a dedicated
> subfolder beneath mysite.com .  This is how the demo athttp://ck-erp.org/joomla/is constructed.

TxBoatTransporters

unread,
Jul 27, 2009, 12:24:40 PM7/27/09
to CK-ERP (English)
I have a username of "admin"

If you would like I can give you the username and Password so you can
try it your self?

jerre

unread,
Jul 27, 2009, 1:01:33 PM7/27/09
to CK-ERP (English)
No. My advice worked for Joomla version 1.5.2, CK 0.29.1

Joomla is currently at 1.5.13

Between CK's advice and mine, CK's prevails.

I expect my system is working due to a side-effect. If you're not up
to taking the Joomla code and CK code apart, you may need to stick
with e-groupware.



On Jul 27, 11:24 am, TxBoatTransporters <txboattransport...@gmail.com>
wrote:

CISA

unread,
Nov 24, 2009, 3:11:19 AM11/24/09
to CK-E...@googlegroups.com
Dear CK,

While I go to change the access right of the admin user to auditstaff in
Chinese language - I think this is the first thing we need to do while
using CK-ERP, the system come out with error 'Requestor name too long'.
I think it is because the name of Requester is '时机商计系统管理员'. But
if I change the name, the system do not allow me to login anymore!

Can you tell how to solve it?

Thanks and Regards,

SH



C K Wu

unread,
Nov 24, 2009, 9:02:19 AM11/24/09
to ck-e...@googlegroups.com, CK-ERP...@googlegroups.com
Hi, SH,

Thank you for your interest in CK-ERP.

The maximum allowed length of a requestor name is 15. I suspect your php
environment probably counts '时锟斤拷锟教硷拷系统锟斤拷锟斤拷员' as having a length of
18, the classic double byte character problem.

To check things out, I would suggest the following course of action,

a) (If you haven't already done so) Install a pure English CK-ERP environment, Repeat your action and see if the same error of 'Requestor name too long' recurs with the (English) default admin user name of [ck-erp-admin] .

b) If step a) is successful, then edit the file, ...../ck-admin/setup/ck-admin_zh-cn.lang,

change the line (circa line 243), ck-erp-admin [tab] ck-admin [tab] zh-cn [tab] 时锟斤拷锟教硷拷系统锟斤拷锟斤拷员
to, ck-erp-admin [tab] ck-admin [tab] zh-cn [tab] 系统锟斤拷锟斤拷员

(VERY VERY IMPORTANT - maintain the [tab] marks)

ie, shorten the Chinese translation of the default admin user name
[ck-erp-admin] to '系统锟斤拷锟斤拷员 '. This way, even with double byte
counting, the default Chinese admin user will have, at most, a length of 10.

c) Reinstall your Chinese CK-ERP environment and check if the 'Requestor
name too long' problem recurs.


If step c) is successful, that means your Chinese CK-ERP environment has
a fundamental double byte character counting problem. The problem will
re-surface frequently in your subsequent CK-ERP processing. I seem to
recall the mb_string php extension will help to alleviate this problem.
However, you would have to yahoo or google for the details.

Best Regards,
CK


On 11/24/2009 04:11 PM, CISA wrote:
> Dear CK,
>
> While I go to change the access right of the admin user to auditstaff in
> Chinese language - I think this is the first thing we need to do while
> using CK-ERP, the system come out with error 'Requestor name too long'.
> I think it is because the name of Requester is '时锟斤拷锟教硷拷系统锟斤拷锟斤拷员'. But
Reply all
Reply to author
Forward
0 new messages