If the code is working on one and not from other the problem does not look like to be with the code but it looks like your web server is not configured correctly. Refer to Service Unavailable error I once faced and found a solution to that problem.