0
我已經在XAMPP設置上安裝了一個propel安裝。我一直有一個平穩的編碼過程,但需要對我的PHP.ini文件進行更改,然後重新啓動apache。我不關機的Apache進程一會兒,當我嘗試使用的Propel我現在得到一個錯誤: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確實存在,而且是可讀可寫。
任何想法?
而不是更新您的問題與您的答案,發佈答疑並接受它。 – j0k