what I am saying is try going from the forum and type photopost in the url
It jumps you to your domain without the url. You have any redirects in effect?
How are these filled out in your config-int.php?
// We need the URL path to your PhotoPost and
vb installation
$url_path = "/photopost";
$vb_urlpath = "/forum";