배포 한 후 로깅 한 후 아래 오류가 발생합니다.Symfony, 원격 호스트 : 오류 500. "sfGuardUser"의 알 수없는 레코드 속성/관련 구성 요소 "알고리즘"
Sf 1.3, sfDoctrineGuardPlugin. 그리고 내가 설정/교리에서이 schema.yml 파일이 : 내 frontend_dev.log 또한이 여기
Usuario:
inheritance:
extends: sfGuardUser
type: simple
columns:
username:
type: string(128)
notnull: false
unique: true
nombre_apellidos: string(60)
sexo: string(5)
fecha_nac: date
provincia: string(60)
localidad: string(255)
email_address: string(255)
fotografia: string(255)
avatar: string(255)
avatar_mensajes: string(255)
relations:
Usuario:
local: user1_id
foreign: user2_id
refClass: AmigoUsuario
equal: true
500 | Internal Server Error | Doctrine_Record_UnknownPropertyException Unknown record property/related component "algorithm" on "sfGuardUser" stack trace
* at()
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record/Filter/Standard.php line 55 ...
52. */
53. public function filterGet(Doctrine_Record $record, $name)
54. {
55. throw new Doctrine_Record_UnknownPropertyException(sprintf('Unknown record property/related component "%s" on "%s"', $name, get_class($record)));
56. }
57. }
* at Doctrine_Record_Filter_Standard->filterGet(object('sfGuardUser'), 'algorithm')
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record.php line 1382 ...
1379. $success = false;
1380. foreach ($this->_table->getFilters() as $filter) {
1381. try {
1382. $value = $filter->filterGet($this, $fieldName);
1383. $success = true;
1384. } catch (Doctrine_Exception $e) {}
1385. }
* at Doctrine_Record->_get('algorithm', 1)
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record.php line 1337 ...
1334. return $this->$accessor($load);
1335. }
1336. }
1337. return $this->_get($fieldName, $load);
1338. }
1339.
1340. protected function _get($fieldName, $load = true)
* at Doctrine_Record->get('algorithm')
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/record/sfDoctrineRecord.class.php line 212 ...
209. return call_user_func_array(
210. array($this, $verb),
211. array_merge(array($entityName), $arguments)
212. );
213. } else {
214. $failed = true;
215. }
* at sfDoctrineRecord->__call(array(object('sfGuardUser'), 'get'), array('algorithm'))
in n/a line n/a ...
* at sfGuardUser->getAlgorithm('getAlgorithm', array())
in SF_ROOT_DIR/plugins/sfDoctrineGuardPlugin/lib/model/doctrine/PluginsfGuardUser.class.php line 96 ...
93. */
94. public function checkPasswordByGuard($password)
95. {
96. $algorithm = $this->getAlgorithm();
97. if (false !== $pos = strpos($algorithm, '::'))
98. {
99. $algorithm = array(substr($algorithm, 0, $pos), substr($algorithm, $pos + 2));
* at PluginsfGuardUser->checkPasswordByGuard()
in SF_ROOT_DIR/plugins/sfDoctrineGuardPlugin/lib/model/doctrine/PluginsfGuardUser.class.php line 83 ...
80. }
81. else
82. {
83. return $this->checkPasswordByGuard($password);
84. }
85. }
86.
* at PluginsfGuardUser->checkPassword('m')
in SF_ROOT_DIR/lib/sfGuardValidatorUserByEmail.class.php line 28 ...
25. {
26. // password is ok?
27.
28. if ($user->checkPassword($password))
29. {
30.
31. //die("entro");
* at sfGuardValidatorUserByEmail->doClean('m')
을
4월 15일 7시 15분 23초 심포니 [정보] {sfPatternRouting} 연결 sfRoute "sf_guard_signin"(/ 로그인) 사월 15 7시 15분 23초 심포니 [정보] {} sfPatternRouting 연결 sfRoute "sf_guard_signout"(/ 로그 아웃) 사월 15 7시 15분 23초 심포니 [정보] {} sfPatternRouting sfRoute를 연결하십시오 "sf_guard_ 패스워드 " (/ request_password) 사월 15 7시 15분 23초 심포니 [정보] {} sfPatternRouting 대전 경로"sf_guard_signin "(/ 로그인) 파라미터 어레이/로그인에 대한 ( '모듈'=> 'sfGuardAuth' 15 7시 15분 23초 심포니 [정보] sfFilterChain {}를 실행 필터 ABR 필터 "sfRenderingFilter"을 실행 15 7시 15분 23초 심포니 [정보] {} sfFilterChain ABR '액션' => '로그인의') "sfCommonFilter"[정보] sfGuardAuthActions {}는 "sfGuardAu 전화 15 7시 15분 23초 심포니 ABR 15 7시 15분 23초 심포니 [정보] {} sfFilterChain 실행 필터"sfExecutionFilter " ABR thActions-> executeSignin() " 15 7시 15분 23초 심포니 [정보] {Doctrine_Connection_Mysql} 간부 ABR : SET 명칭 'UTF8'- ABR() 15 7시 15분 23초 심포니 [정보] {Doctrine_Connection_Statement} 실행 : s__sexo, s__fecha_nac s.fecha_nac AS, AS s__provincia s.provincia, s.localidad만큼, AS s__id s__username s.username AS, AS s__nombre_apellidos s.nombre_apellidos, s.sexo을 s.id SELECT s__localidad, s.email_address AS s__email_address, s.fotografia AS 사진, s.avatar AS s__avatar, s.avatar_m 15 7시 15분 23초 심포니 [ERR] Doctrine_Record_UnknownPropertyException {} 알 기록 속성/요소 관련 ABR ([email protected]) - sf_guard_user FROM s__avatar_mensajes S (? = s.email_address) LIMIT 1 AS ensajes 15 7시 15분 23초 심포니 ABR "sfGuardUser" 의 "알고리즘"[정보] {sfWebResponse} 상태를 보내기 "HTTP/1.1 500 내부 서버 오류"ABR 15 7시 15분 23초 심포니 [정보] {sfWebResponse } 헤더 보내기 "Content-Type : text/html; 15 7시 15분 23초 심포니 ABR 캐릭터 = UTF-8 "ABR 15 7시 15분 23초 심포니 [정보] {} sfWebDebugLogger 구성 16.42 MS (8) 정보] {} sfWebDebugLogger 공장 123.17 MS (1) 15 7시 15분 23초 심포니 ABR [정보] 15 7시 15분 23초 심포니 ABR {sfWebDebugLogger} 액션 "sfGuardAuth/로그인했습니다"211.86 MS (1) [정보] {sfWebDebugLogger} 데이터베이스 (교리) 0.01 ms (2)
어떤 생각?
Javi
고맙지 만 이해할 수 없습니다. 변경하려는 필드 이름은 무엇입니까? 오류가 원격 호스트에만있는 이유는 무엇입니까? 방금 프론트 엔드 _dev.log를 내 질문 끝에 추가했습니다. – ziiweb
'location'과 (과) 비슷한 것들이'provincia'로 바뀌 었습니다. –
미안하지만 'location'은 어디에 있습니까? – ziiweb