• 21-01-2020, 12:14:29
    #1
    Merhabalar
    opencart sitemi baska sunucuya taşıdım, taşıma sonrasında Admin panel'ine giriyor ama Anasayfada 500 Internal Server Error Hatası almaktayım Hata loglarında herhangi birşey göstermemektedir.
    Neden olabilir ? ( Birçok sitemi tasıdım sadece 1 Sitemde bu sorun oldu )
  • 21-01-2020, 12:28:00
    #2
    Mr.Jemns adlı üyeden alıntı: mesajı görüntüle
    htaccess kontrolü yapınız veya buraya ekleyiniz.
    # 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
    
    # 2. In your opencart directory rename htaccess.txt to .htaccess.
    
    # For any support issues please visit: http://www.opencart.com
    
    # Options +FollowSymlinks
    
    # Prevent Directoy listing
    # Options -Indexes
    
    
    # Prevent Direct Access to files
    <FilesMatch "\.(tpl|ini|log)">
    Order deny,allow
    Deny from all
    </FilesMatch>
    
    # SEO URL Settings
    RewriteEngine On
    # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
    
    RewriteBase /
    RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
    RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
    
    ### Additional Settings that may need to be enabled for some servers
    ### Uncomment the commands by removing the # sign in front of it.
    ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.
    
    # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
    # php_flag register_globals off
    
    # 2. If your cart has magic quotes enabled, This may work to disable it:
    # php_flag magic_quotes_gpc Off
    
    # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
    # php_value upload_max_filesize 999M
    
    # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value post_max_size 999M
    
    # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value max_execution_time 200
    
    # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value max_input_time 200
    
    
    <IfModule mod_headers.c>
    
    
    
    # Turn on Expires and set default expires to 3 days
    ExpiresActive On
    ExpiresDefault A259200
    
    # Set up caching on media files for 1 month
    <filesMatch "\.(ico|gif|jpg|jpeg|png|flv|pdf|swf|mov|mp3|wmv|ppt)$">
    ExpiresDefault A2419200
    Header append Cache-Control "public"
    </filesMatch>
    
    # Set up 2 Hour caching on commonly updated files
    <filesMatch "\.(xml|txt|js|css)$">
    ExpiresDefault A2419200
    Header append Cache-Control "public, must-revalidate"
    </filesMatch>
    
    # Force no caching for dynamic files
    <filesMatch "\.(php|cgi|pl|html)$">
    ExpiresDefault A0
    Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
    Header set Pragma "no-cache"
    </filesMatch>
    
    
    
    </IfModule>
    
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault A1209600
    ExpiresByType image/gif A2419200
    ExpiresByType image/png A2419200
    ExpiresByType image/jpeg A2419200
    ExpiresByType image/x-icon A2419200
    ExpiresByType application/x-javascript A2419200
    ExpiresByType application/x-shockwave-flash A604800
    ExpiresByType text/css A2419200
    ExpiresByType text/plain A1209600
    ExpiresByType image/x-icon A2592000
    ExpiresByType text/html A10
    </IfModule>
    
    
    <IfModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_dechunk Yes
    mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
    mod_gzip_item_include handler ^cgi-script$
    mod_gzip_item_include mime ^text/.*
    mod_gzip_item_include mime ^application/x-javascript.*
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
    </IfModule>
    
    <IfModule mod_deflate.c>
    SetOutputFilter DEFLATE
    # Don't compress
    SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
    SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
    #Dealing with proxy servers
    <IfModule mod_headers.c>
    Header append Vary User-Agent
    </IfModule>
    </IfModule>

    Buyrun
  • 21-01-2020, 12:29:57
    #3
    Eksik taşınmıştır eksik dosya oldu mu bu hatayı veriyor
  • 21-01-2020, 12:34:02
    #4
    Mr.Jemns adlı üyeden alıntı: mesajı görüntüle
    Problem de görünmüyor bunu
    <IfModule mod_headers.c>
    siler misiniz
    Maalesef çalışmadı yine
  • 21-01-2020, 13:10:27
    #5
    Taşıdığın adreste sertifika kurulumu? https: - https: farkından olmasın?
  • 21-01-2020, 18:00:56
    #6
    php versiyonu ile alakalı olabilir eski yerdeki php sürümünüz ile yeni yerdeki php sürümünüzü kontrol edin birde harici depolama yeri var ise storage klasörü onuda taşımanız lazım. opencart 3.x sürümlerinde bu durum yaşanıyor
  • 21-01-2020, 18:23:12
    #7
    @Feryat; sorun devam ediyorsa ücretsiz şekilde yardımcı olalım hocam.
  • 21-01-2020, 18:27:45
    #8
    Pablo61 adlı üyeden alıntı: mesajı görüntüle
    Taşıdığın adreste sertifika kurulumu? https: - https: farkından olmasın?
    Merhaba ikisindede ssl kurulu https



    halilesen adlı üyeden alıntı: mesajı görüntüle
    php versiyonu ile alakalı olabilir eski yerdeki php sürümünüz ile yeni yerdeki php sürümünüzü kontrol edin birde harici depolama yeri var ise storage klasörü onuda taşımanız lazım. opencart 3.x sürümlerinde bu durum yaşanıyor
    merhaba
    Php sürümleri aynı direk olarak Plesk migratör ile tasıdım eksiksiz hata vermedi hiç



    consteqcom adlı üyeden alıntı: mesajı görüntüle
    @Feryat; sorun devam ediyorsa ücretsiz şekilde yardımcı olalım hocam.
    Çoook mutlu olurum bir saat sürmez bilgisayar başında olacağım size yazacağım
    teşekkür ederim.