页面配置不正确?

I moved my files from my Xampp server over to a live server and now the PHP doesn't seem to be working correctly. This file is the problem

<?php

require ("../Android/connect.php");
require ("../Android/queries.php");

if ($query_run = mysql_query($questions_query)) {
    if (mysql_num_rows($query_run) == NULL) {       
        $response["success"] = 0;         
        echo json_encode($response);

    } else {            
        $response ['questions'] = array();      
        while ($row = mysql_fetch_assoc($query_run)) {
            $info = array();
            $info ['display_name'] = $row['display_name'];
            $info ['field_type'] = $row['field_type'];
            $info ['option_value'] = $row['option_value'];          

            array_push($response["questions"], $info);          
        }
        // success
        $response["success"] = 1; 
        // echoing JSON response
        echo json_encode($response);
    }
}
?>

My Android app that was getting JSON from this file now gets null JSONObjects. When I open it in my browser it gives me this error:

"Server error
The website encountered an error while retrieving http://mysite.com/Android/myfile.php. It may be down for maintenance or configured incorrectly."

My first thought was my connect.php or queries.php that are included were at fault. However they work fine. I can get them to display in my browser or echo out messages to me. The file above however will not work. Anyone know what the problem is?

if ($query_run = mysql_query($questions_query)) {

Be sure to define $questions_query- looks like that's your problem right there