I would try two things first.
See if you can use bcrypt to assign a value to a var, then output it to the browser or write it to a file. Pretty much just test bcrypt out on its own by trying to produce a value from it. If you can do that then bcrypt is ok on your server.
The other thing I would try is to run it with sha1 instead of bcrypt. Again just another test to see if the problem is directly related to bcrypt or not.