so the link is fine then.
do you have display_errors on?
Is there any output at all?
try pinpointing where in the script it's dying by putting an echo or die at the top and slowly moving it down until you don't see the output and your error should be right before it.
Once you've got where it's misbehaving you can figure out why