You are describing what usually happens with an out-of-space or excessive filename situation. I am surprised it would happen on a new server unless you transferred some corrupted files. Anyway, read
this page and see if it could possible be the problem.
Look for files of zero (0) length in the Forumx and Members directories. Also, see if any of the variables files are zero.