2012-11-07 3 views
0

XAMPP 설정에 propel 설치가 있습니다. 다소 부드러운 코딩 프로세스를 수행했지만 PHP.ini 파일을 변경해야하므로 아파치가 다시 시작되었습니다. 나는 잠시 동안 종료되지에게 아파치 프로세스를했고, 내가 추진을 사용하려고하면 지금 오류가 발생합니다 :Propel이 PEAR 로그 파일에 액세스 할 수 없습니다.

Warning: fopen(/path/to/propel.log) [function.fopen]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/pear/share/pear/Log/file.php on line 216 

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1017 Can't find file: './ghir/intervention.frm' (errno: 13)' in /Applications/XAMPP/xamppfiles/htdocs/ghir-php/vendor/propel/runtime/lib/query/ModelCriteria.php:1321 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/ghir-php/vendor/propel/runtime/lib/query/ModelCriteria.php(1321): PDOStatement->execute() #1 /Applications/XAMPP/xamppfiles/htdocs/ghir-php/vendor/propel/runtime/lib/query/ModelCriteria.php(1164): ModelCriteria->doSelect(Object(PropelPDO)) #2 /Applications/XAMPP/xamppfiles/htdocs/ghir-php/model.php(41): ModelCriteria->find() #3 /Applications/XAMPP/xamppfiles/htdocs/ghir-php/js/globals.php(38): GHD->__construct('175') #4 /Applications/XAMPP/xamppfiles/htdocs/ghir-php/index.php(78): require_once('/Applications/X...') #5 {main} Next exception 'PropelException' with message 'Unable to execute SELECT statement [SELECT intervention.ID, intervention.NAME, intervention.ABBREVIATION, intervention.DESCRIPTION, intervention. in /Applications/XAMPP/xamppfiles/htdocs/ghir-php/vendor/propel/runtime/lib/query/ModelCriteria.php on line 1324 

xamppfiles/배/주/배/로그/file.php이 존재하고있다 읽고 쓸 수 있습니다.

아이디어가 있으십니까?

+0

답변을 사용하여 질문을 업데이트하는 대신 응답자를 게시하고 수락하십시오. – j0k

답변

0

알아 냈어. 최고의 오류는 오해의 소지가 아니고 실제로 문제는 아닙니다. 일부 테이블이 손상되어 MySQL 서버에서 .fmr 파일을 찾을 수 없습니다. DROP가 아닌 파일 시스템에서 테이블을 삭제 한 다음 이전 버전으로 복원했습니다. 그 후 잘 일했다.

관련 문제