Elgg new Installation with existing mysql

I follow this tutorial: https://www.marcus-povey.co.uk/2014/02/06/moving-or-copying-an-elgg-site-database/ to create a new installation of elgg 1.8 with an existing mysql database.

  • I have  the mod_rewrite enabled
  • The data directory remains the same
  • I have changed all the permission to 777 to /var/www/elgg
  • I have change the engine/settings.php to the correct values

The problem is that the home page is shown in the browser but nothing else. The error.log always says:

File does not exist: /var/www/elgg-mit/css,
File does not exist: /var/www/elgg-mit/js/elgg.1421842861.js,
File does not exist: /var/www/elgg-mit/js/developers,

I'm using ubuntu 12.04