If this is vbulletin two things to check. Make sure in Admin => Forum Settings in photopost admin the url to your forum is correct. In your
vb admin global settings make sure you have the correct url to your forum set there.
So what is the path it is looking for things?