2017-05-17 7 views
1

프로덕션을위한 sugarcrm 파일의 복사본이 있습니다. 또한 localhost에서 설정을 시도하고 있습니다. htdocs 폴더에 파일을 복사하고 mysql 덤프를 만들었습니다. 구성 변경 사항을 수정했지만 localhost/sugar7810ent에 URL을 입력하면 "응용 프로그램을로드 할 수 없습니다."가 표시됩니다. 오류. 아래는 코드입니다. 제발 도와주세요? 아래 링크가 무너졌습니다. 내가 만난 http://support.sugarcrm.com/Knowledge_Base/Platform_Management/Migrating_From_On-Demand_to_On-Site/index.html응용 프로그램 sugarcrm을로드 할 수 없습니다.

Config.php에

'dbconfig' => 
    array (
    'db_host_name' => 'localhost', 
    'db_host_instance' => '', 
    'db_user_name' => 'sugarcrm', 
    'db_password' => 'root', 
    'db_name' => 'db_newparkmats', 
    'db_type' => 'mysql', 
    'db_port' => '', 
    'db_manager' => 'MysqliManager', 
), 

htaccess로

# BEGIN SUGARCRM RESTRICTIONS 
RedirectMatch 403 (?i).*\.log$ 
RedirectMatch 403 (?i)/+not_imported_.*\.txt 
RedirectMatch 403 (?i)/+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules)/+.*\.(php|tpl) 
RedirectMatch 403 (?i)/+emailmandelivery\.php 
RedirectMatch 403 (?i)/+upload 
RedirectMatch 403 (?i)/+custom/+blowfish 
RedirectMatch 403 (?i)/+cache/+diagnostic 
RedirectMatch 403 (?i)/+files\.md5$ 
# END SUGARCRM RESTRICTIONS 
<IfModule mod_rewrite.c> 
    Options +FollowSymLinks 
    RewriteEngine On 
    RewriteBase /sugar7810ent 
    RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&module=app_strings&lang=$1 [L,QSA] 
    RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&module=$1&lang=$2 [L,QSA] 
</IfModule> 
<FilesMatch "\.(jpg|png|gif|js|css|ico)$"> 
     <IfModule mod_headers.c> 
       Header set ETag "" 
       Header set Cache-Control "max-age=2592000" 
       Header set Expires "01 Jan 2112 00:00:00 GMT" 
     </IfModule> 
</FilesMatch> 
<IfModule mod_expires.c> 
     ExpiresByType text/css "access plus 1 month" 
     ExpiresByType text/javascript "access plus 1 month" 
     ExpiresByType application/x-javascript "access plus 1 month" 
     ExpiresByType image/gif "access plus 1 month" 
     ExpiresByType image/jpg "access plus 1 month" 
     ExpiresByType image/png "access plus 1 month" 
</IfModule> 
+2

sugarcrm.log 또는 PHP 오류 로그에 내용이 있습니까? – Reisclef

답변

3

일반적인 문제는

  • 권한을 포함한다. SugarCRM에 대한 잘못된 사용자 또는 권한, 특히 캐시 주변에서 너무 많은 문제가 해결됩니다.
  • 누락 cache dir. Sugar의 루트 디렉토리에 mkdir cache이 있으면 알맞은 사용자/권한을 할당하고 Sugar가 캐시를 생성하도록하십시오.
  • .htaccess RewriteBase은 잘못되었지만 여기에 해당하는 것으로 보입니다.
  • 마찬가지로, config.phpsite_url PARAM이 잘못
  • 아파치의 mod_rewrite를 사용할 수 없습니다 및/또는 아파치 config.php에서 지역의 .htaccess 파일을
  • 잘못된 dbconfig 설정을 존중하지 않는
  • - 단순히 있는지 mysql -h localhost -u sugarcrm -proot db_newparkmats 시도하여 config wor ks (Sugar 앱에서. 서버)
0

또 다른 문제는 캐시의 자바 스크립트 파일 (cache/javascript/base/components/_some_hash_here.js) 일 수 있습니다.

모든 것을 다른 디렉토리에 백업하고 캐시/javascript/base/components에서 모든 파일을 제거하십시오. 그런 다음 시크릿/비공개 창에서 앱을로드하십시오.

관련 문제