3
localhost에 내 사이트를 다시 설치 한 후 다음 오류가 발생합니다.치명적인 오류 : 모듈 .install 파일을 사용하는 require_once(), drupal 7
Fatal error: require_once() [function.require]: Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/sites/all/modules/custom/redirect/redirect.install'
.install 파일이 존재하고, 아래와 같습니다 않습니다 :
1 <?php
2 /**
3 * @file
4 *
5 */
6
7 /**
8 * Implementation of hook_install().
9 */
10 function redirect_install() {
11
12 }
13
14 /**
15 * Implementation of hook_uninstall().
16 */
17 function redirect_uninstall() {
18 variable_del('desktop_site_home');
19 variable_del('mobile_site_home');
20 }
모듈은 더 필요한 또는 모두에서 문을 포함 없습니다.
여기에 어떤 문제가 발생할 수 있습니다.
미리 감사드립니다.
가 XAMPP가 파일을 읽을 수있는 권한이 없음을 수 있을까? 오류는 파일이 존재하지 않는다고 특별히 말하지 않으며, 파일을 열지 못했습니다. – Clive