title: Prestashop 1.7.6.4 500 server error after migration from localhost
body: <p>After migration from localhost to hosting provider I receive error 500  in Prestashop. First of all I thought that the problem is version of PHP. But after change PHP version on hosting error is still displayed. Before migration I changed 'ps_configuration' table in database also 'ps_shop_url' and SEO&amp;URL settings in Prestashop panel. Nothing works. Where can I look for a solution to my problem? I also attach the htaccess file for review. </p>
  
  <p><a href="https://i.stack.imgur.com/Z6CAc.png" rel="nofollow noreferrer">First screen from database</a>
  <a href="https://i.stack.imgur.com/38hVo.png" rel="nofollow noreferrer">Second screen from database</a></p>
  
  <p>.htaccess file below</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  &lt;IfModule mod_env.c&gt;
  SetEnv HTTP_MOD_REWRITE On
  &lt;/IfModule&gt;
  
  RewriteEngine on
  
  
  #Domain: spawber.com.pl
  RewriteRule . - [E=REWRITEBASE:/spawber/]
  RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
  
  # Images
  RewriteCond %{HTTP_HOST} ^spawber.com.pl$
  RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
  RewriteCond %{HTTP_HOST} ^spawber.com.pl$
  RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
  RewriteCond %{HTTP_HOST} ^spawber.com.pl$
  RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
  RewriteCond %{HTTP_HOST} ^spawber.com.pl$
  RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
  RewriteCond %{HTTP_HOST} ^spawber.com.pl$
  RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
  RewriteCond %{HTTP_HOST} ^spawber.com.pl$
  RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
  RewriteCond %{HTTP_HOST} ^spawber.com.pl$
  RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
  RewriteCond %{HTTP_HOST} ^spawber.com.pl$
  RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
  RewriteCond %{HTTP_HOST} ^spawber.com.pl$
  RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
  RewriteCond %{HTTP_HOST} ^spawber.com.pl$
  RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
  # AlphaImageLoader for IE and fancybox
  RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
  
  # Dispatcher
  RewriteCond %{REQUEST_FILENAME} -s [OR]
  RewriteCond %{REQUEST_FILENAME} -l [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^.*$ - [NC,L]
  RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
  &lt;/IfModule&gt;
  
  AddType application/vnd.ms-fontobject .eot
  AddType font/ttf .ttf
  AddType font/otf .otf
  AddType application/font-woff .woff
  AddType font/woff2 .woff2
  &lt;IfModule mod_headers.c&gt;
      &lt;FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$"&gt;
          Header set Access-Control-Allow-Origin "*"
      &lt;/FilesMatch&gt;
  &lt;/IfModule&gt;
  
  #If rewrite mod isn't enabled
  ErrorDocument 404 /spawber/index.php?controller=404
  
  # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
  </code></pre>