Getting Internal Server Error 500

The code is working fine in my localhost when I moved the code to the another system am getting error '500 Internal server error - undefined variable … '. But that variable is declared in an action in controller… The bad thing is its working fine in my system and not in the other one. Can anyone gone thru this issue help me in… :(

This error present in some of the pages where am using ajax + dropdownlist…

Thanks in advance…

Must be you just have different error_reporting level in different environments.

What is your full error message (with the stack) and the related piece of code?