Nothing wrong with your header.inc.php file.
Other then just profiles, you need to also test ALL other areas of your site. Specifically the modules. I believe you will find that the profiles are not the only thing that are resulting in 404 errors.
404 errors in dolphin are usually the result of a missing .htaccess file in the root of the dolphin site. The file was either not uploaded or was removed. This is the most common problem.
The other possibility is the server is not configured properly to allow .htaccess overrides. Either apache is missing mod_rewrite or apache not configured to allow overrides. These last two possibilities are a hosting issue with the server not meeting dolphins hosting requirements and you would have to talk to your host on that. Hosting requirements are listed here. http://www.boonex.com/trac/dolphin/wiki/DolTech
However. You should FULLY test ALL areas of your site. Not just profiles. Thats if you even installed any of the modules that come with dolphin.
I would test, but it appears you have disabled pretty much everything on the menu.