Did you install everything that was on your old site straight over to your DreamHost site? If you did, did you adjust your database settings in your php script to use the DreamHost hostname way of connecting your database?
How did you upload the data to your new home? Perhaps some data was corrupted by a wrong data setting during ftp?
How long ago did you do the transfer? Sometimes it takes a while for everything to mesh.