2016-09-14 6 views
1

tail -n 20 /Applications/MAMP/logs/php_error.log을 확인했습니다. 로그에 오류가 없습니다. 나는 MAMP를 사용하고있다.WSUP가 drupal 7 프로젝트의 첫 번째 페이지를 엽니 다.

또한 나는 index.php

error_reporting(E_ALL); 
ini_set('display_errors', TRUE); 
ini_set('display_startup_errors', TRUE); 

을 추가했습니다.

php.ini에 내 메모리 제한이

memory_limit = 512M 

어떤 제안이?

답변

0
  1. 오류 로그오고되지

  2. drush의 WS, 그것은 끝에 추가되어 있어야합니다 settings.php 파일의 내용 :

    error_reporting (E_ALL); ini_set ('display_errors', TRUE); ini_set ('display_startup_errors', TRUE);

  3. 로그를 확인한 후 정상적인 경고가있었습니다. 그 후 내가 활성화 된 drush & 그것은 데이터베이스가 연결되었지만 매개 변수가 잘못된 것으로 나타났습니다. settings.php 파일에서 $ database array를 제거한 다음 신선한 바닐라 인스턴스처럼 설치하면 문제가 해결됩니다.

0

클린 URL을 사용해야합니까? .htaccess 파일에 다음을 추가하십시오.

<IfModule mod_rewrite.c> 
Options +FollowSymLinks 
RewriteEngine on 
RewriteBase/
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] 
</IfModule> 
0

drupal의 로그를보십시오. drush와 :

  • drush 엔 dblog 내가 index.php에 코드를 추가했기 때문에