Thanks Coffee4cr and kingkong954!
Changing from PHP4 to PHP5 worked for me.
I then deleted these lines from both wp- and bb-config.php files (earlier “fixes”)
define( 'COOKIEHASH', 'dsfasdfasdfasdfas' );
define( 'SITECOOKIEPATH', '/' )
and it still works.