Upgrade from 1.8.19 to 1.9.7 gets issue "You must update your .htaccess file so that the path is injected into the GET parameter __elgg_uri...."

Hi all,

I am upgrading elgg-1.8.19 to elgg-1.9.7
on a webserver Apache.

I have the elg files under directory:
     elgg-1.8.19
in root directory of web sewrver.

By version "elgg-1.8.19" all work fine, in file ".htaccess" I have the rewrite command:
    RewriteEngine on
    RewriteBase /elgg-1.8.19/
but after replacing files under directory "elgg-1.8.19", with 1.9.7, and
updated/merged the files:
     .htaccess
     engine/settings.php
connecting to:
     http://your-elgg-site.com/upgrade.php
I get this message in the browser:
     "You must update your .htaccess file so that the path is injected into the GET parameter __elgg_uri (you can use htaccess_dist as a guide)."

I have read a couple of posts, but there wasn't the solution to this issue.

Thanks for reply and best regards