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