묻고답하기
관리자 로그인 방식이...
2012.01.20 16:05
처음에 이메일 방식이엿다가 지금 아이디형식으로 바꿨는데
로그인하려니까 이메일형식으로밖에 로긴이 안되서
관리자로그인이 되자않는 상태입니다.
"Restore.php"
파일을 받아보았지만 Email_Address 방식에서 User_id 방식으로 바꿔주는것 밖에 없더군요 ㅜ
이것은 뭐 따로 해결법이 없을까요?
댓글 2
-
snows96
2012.01.20 17:24
-
광오문주
2012.03.02 13:27
재설치후 해결했습니다 감사합니다^^ -
송동우
2012.01.20 18:36
도저히 방법을 못찾겠다 싶으면
4군데만 고쳐보세요
1.
DB에 가서
xe_module_config 테이블에서
module칼럼의 member 를 찾아서 수정을 누르고
config 값을
O:8:"stdClass":28:{s:11:"enable_join";s:1:"Y";s:13:"enable_openid";s:1:"N";s:16:"enable_auth_mail";s:1:"N";s:10:"image_name";s:1:"N";s:10:"image_mark";s:1:"N";s:13:"profile_image";s:1:"N";s:20:"image_name_max_width";N;s:21:"image_name_max_height";N;s:20:"image_mark_max_width";N;s:21:"image_mark_max_height";N;s:23:"profile_image_max_width";N;s:24:"profile_image_max_height";N;s:16:"group_image_mark";s:1:"N";s:10:"signupForm";a:13:{i:0;O:8:"stdClass":8:{s:12:"isIdentifier";b:1;s:13:"isDefaultForm";b:1;s:4:"name";s:13:"email_address";s:5:"title";s:13:"email_address";s:12:"mustRequired";b:1;s:9:"imageType";b:0;s:8:"required";b:1;s:5:"isUse";b:1;}i:1;O:8:"stdClass":8:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:7:"user_id";s:5:"title";s:7:"user_id";s:12:"mustRequired";b:0;s:9:"imageType";b:0;s:8:"required";b:0;s:5:"isUse";b:0;}i:2;O:8:"stdClass":8:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:8:"password";s:5:"title";s:8:"password";s:12:"mustRequired";b:1;s:9:"imageType";b:0;s:8:"required";b:1;s:5:"isUse";b:1;}i:3;O:8:"stdClass":8:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:9:"user_name";s:5:"title";s:9:"user_name";s:12:"mustRequired";b:0;s:9:"imageType";b:0;s:8:"required";b:0;s:5:"isUse";b:0;}i:4;O:8:"stdClass":8:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:9:"nick_name";s:5:"title";s:9:"nick_name";s:12:"mustRequired";b:1;s:9:"imageType";b:0;s:8:"required";b:1;s:5:"isUse";b:1;}i:5;O:8:"stdClass":8:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:21:"find_account_question";s:5:"title";s:21:"find_account_question";s:12:"mustRequired";b:1;s:9:"imageType";b:0;s:8:"required";b:1;s:5:"isUse";b:1;}i:6;O:8:"stdClass":8:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:8:"homepage";s:5:"title";s:8:"homepage";s:12:"mustRequired";b:0;s:9:"imageType";b:0;s:8:"required";b:0;s:5:"isUse";b:0;}i:7;O:8:"stdClass":8:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:4:"blog";s:5:"title";s:4:"blog";s:12:"mustRequired";b:0;s:9:"imageType";b:0;s:8:"required";b:0;s:5:"isUse";b:0;}i:8;O:8:"stdClass":8:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:8:"birthday";s:5:"title";s:8:"birthday";s:12:"mustRequired";b:0;s:9:"imageType";b:0;s:8:"required";b:0;s:5:"isUse";b:0;}i:9;O:8:"stdClass":8:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:9:"signature";s:5:"title";s:9:"signature";s:12:"mustRequired";b:0;s:9:"imageType";b:0;s:8:"required";b:0;s:5:"isUse";b:0;}i:10;O:8:"stdClass":10:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:13:"profile_image";s:5:"title";s:13:"profile_image";s:12:"mustRequired";b:0;s:9:"imageType";b:1;s:8:"required";b:0;s:5:"isUse";b:0;s:9:"max_width";N;s:10:"max_height";N;}i:11;O:8:"stdClass":10:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:10:"image_name";s:5:"title";s:10:"image_name";s:12:"mustRequired";b:0;s:9:"imageType";b:1;s:8:"required";b:0;s:5:"isUse";b:0;s:9:"max_width";N;s:10:"max_height";N;}i:12;O:8:"stdClass":10:{s:12:"isIdentifier";b:0;s:13:"isDefaultForm";b:1;s:4:"name";s:10:"image_mark";s:5:"title";s:10:"image_mark";s:12:"mustRequired";b:0;s:9:"imageType";b:1;s:8:"required";b:0;s:5:"isUse";b:0;s:9:"max_width";N;s:10:"max_height";N;}}s:10:"identifier";s:13:"email_address";s:14:"webmaster_name";s:9:"webmaster";s:4:"skin";s:7:"default";s:11:"editor_skin";s:12:"xpresseditor";s:14:"enable_confirm";s:1:"N";s:15:"webmaster_email";N;s:9:"limit_day";i:0;s:20:"change_password_date";i:0;s:9:"agreement";N;s:15:"after_login_url";N;s:16:"after_logout_url";N;s:12:"redirect_url";N;s:8:"colorset";s:5:"white";s:9:"signature";s:1:"N";}
이것으로 바꿔주고 실행(오른쪽 안보이는 부분은 드래그해서 복사해서 붙여넣기 하면 다 보입니다.)
2.
xe - files - ruleset - login.xml 열고
그 속의 내용을
<?xml version="1.0" encoding="utf-8"?><ruleset version="1.5.0"><customrules></customrules><fields><field name="user_id" required="true" rule="email"/><field name="password" required="true" /></fields></ruleset>
이것으로 바꾸고 저장3.
xe - files - ruleset - insertMember.xml 열고
그 속의 내용을
<?xml version="1.0" encoding="utf-8"?><ruleset version="1.5.0"><customrules></customrules><fields><field name="email_address" required="true" rule="email"/><field name="password"><if test="$act == 'procMemberInsert'" attr="required" value="true" /><if test="$act == 'procMemberInsert'" attr="length" value="3:20" /></field><field name="password2"><if test="$act == 'procMemberInsert'" attr="required" value="true" /><if test="$act == 'procMemberInsert'" attr="equalto" value="password" /></field><field name="nick_name" required="true" /><field name="find_account_question"><if test="$act != 'procMemberAdminInsert'" attr="required" value="true" /></field><field name="find_account_answer"><if test="$act != 'procMemberAdminInsert'" attr="required" value="true" /><if test="$act != 'procMemberAdminInsert'" attr="length" value=":250" /></field></fields></ruleset>
이것으로 바꾸고 저장4.
xe - files - ruleset - find_member_account_by_question.xml 열고
그 속의 내용을
<?xml version="1.0" encoding="utf-8"?><ruleset version="1.5.0"><customrules></customrules><fields><field name="email_address" required="true" rule="email" /><field name="find_account_question" required="true" /><field name="find_account_answer" required="true" length=":250"/></fields></ruleset>
이것으로 저장 -
광오문주
2012.03.02 13:27
재설치후 해결했습니다 감사합니다^^
상황에 따라 여러가지 이유가 있을 수 있겠지만...
우선 로그인을 http://도메인/index.php?module=admin 으로 두시고... 여기서 로그아웃한다음 로그인해보셔도 안되나요???
안된다면 관리자 ID가 제대로 등록되지 않았을 수도 있으니 D/B나 XE회원정보에서 ID부분 체크해보시고.....
오류메시지 스킨도 기본값으로 두시고 TEST해보세요....
저창에서 로그인은 되는데 다른데서 로그인이 안된다... 그러면... 회원모듈 스킨이나 레이아웃에서 제공하는 로그인 창 문제입니다...
잘 확인해보시고 해결해보시길 바랍니다 ^^