PHP Warning: require_once(DIR_FS_SITE_CONTROL_INCLUDEScontrol_header.php)
<p>I am setting up an existing site for some integration work written in PHP however whenever I try and launch the admin console I get this:</p>

<blockquote>
  <p>Warning:
  require_once(DIR_FS_SITE_CONTROL_INCLUDEScontrol_header.php)
  [function.require-once]: failed to
  open stream: No such file or directory
  in
  C:\wamp\www\reflex-nutrition\website_control\index.php
  on line 21</p>
</blockquote>

<p>Can any one point me in the right direction to fix this issue?</p>

<p>Cheers</p>

<p>Justin</p>

<p><em><strong></em>*EDIT*<em>*</em>**</strong></p>

<p>This is my index.php can you tell me where i should put this definition?</p>

<pre><code>    &lt;? require_once("../includes/configure.php");
  set_time_limit(1800);
require_once(DIR_FS_SITE_CONTROL."includes/admin_configure.php");


    if($Page !="")
    {
        if(file_exists(DIR_FS_SITE_CONTROL_ADMINSCRIPT.$Page.".php"))
        {
            if(in_array($Page,$PagePermissionArray) || in_array("*",$PagePermissionArray))
                require_once(DIR_FS_SITE_CONTROL_ADMINSCRIPT.$Page.".php");                     
        }
    }

    if(@$_REQUEST['Meta'] !="false")
        require_once(DIR_FS_SITE_CONTROL_INCLUDES."control_meta.php");
    ?&gt;
&lt;body leftmargin="0" rightmargin="0" marginwidth="0" topmargin="3" marginheight="3"&gt;    
&lt;?php 
if(@$_REQUEST['Popup'] !="true")
    require_once(DIR_FS_SITE_CONTROL_INCLUDES."control_header.php");
    ?&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
    &lt;tr&gt;
        &lt;td bgcolor="" align="center" valign="top"&gt;
            &lt;table border="0" cellpadding="0" cellspacing="0" width="98%"&gt;
                &lt;tr&gt;
                    &lt;td valign="top" align="center" style="padding-top:6px;"&gt;
                    &lt;?
                        if(session_is_registered("InfoMessage") &amp;&amp; $_SESSION['InfoMessage'] !="")
                        {
                    ?&gt;      &lt;table cellpadding="3" cellspacing="2" border="0" align="center" class="InsideTable"&gt;
                                &lt;tr&gt;
                                    &lt;td valign="middle" width="20"&gt;&lt;img src="&lt;?=DIR_WS_SITE_CONTROL_IMAGES?&gt;info.png"&gt;&lt;/td&gt;
                                    &lt;td&gt;&lt;font color="Red"&gt;&lt;b&gt;&lt;?=$_SESSION['InfoMessage']?&gt;&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
                                &lt;/tr&gt;
                            &lt;/table&gt;
                            &lt;br&gt;
                    &lt;?      $_SESSION['InfoMessage']="";
                        }
                        elseif(session_is_registered("ErrorMessage") &amp;&amp; $_SESSION['ErrorMessage'] !="")
                        {
                    ?&gt;      &lt;table cellpadding="3" cellspacing="2" border="0" align="center" class="InsideTable"&gt;
                                &lt;tr&gt;
                                    &lt;td valign="middle" width="20"&gt;&lt;img src="&lt;?=DIR_WS_SITE_CONTROL_IMAGES?&gt;error.png"&gt;&lt;/td&gt;
                                    &lt;td&gt;&lt;font color="Red"&gt;&lt;b&gt;&lt;?=$_SESSION['ErrorMessage']?&gt;&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
                                &lt;/tr&gt;
                            &lt;/table&gt;
                            &lt;br&gt;
                    &lt;?      $_SESSION['ErrorMessage']="";
                        }

                    ?&gt;
                    &lt;!-------Start Here ---------&gt;
                    &lt;? if($Page !="") 
                        {                       
                            if(file_exists(DIR_FS_SITE_CONTROL_FORMS.$Page.".php"))
                            {
                                if(in_array($Page,$PagePermissionArray) || in_array("*",$PagePermissionArray))
                                    require_once(DIR_FS_SITE_CONTROL_FORMS.$Page.".php");
                                else    
                                    echo"&lt;b&gt;You do not have permission to access the page.&lt;/b&gt;";

                            }
                            else 
                            {
                                echo"&lt;b&gt;Page is under construction.&lt;/b&gt;";
                            }
                        }
                        else 
                        {
                            echo "&amp;nbsp;";
                        } ?&gt;
                        &lt;!-------End Here---------&gt;
                    &lt;/td&gt;
                 &lt;/tr&gt;
            &lt;/table&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
&lt;? 
if(@$_REQUEST['Popup'] !="true")
    require_once(DIR_FS_SITE_CONTROL_INCLUDES."control_footer.php");?&gt;
    &lt;script type="text/javascript"&gt;
    function InitCall()
    {
        $.ajax({
               type: "GET",
               url: "index.php",
               data: "",
               success: function(msg){
               }
             });

        setTimeout('InitCall()', 600000);
    }
    InitCall();
    &lt;/script&gt;
    &lt;?
$sk_timeend = explode(' ', microtime() );
$sk_timeend = $sk_timeend[1] + $sk_timeend[0];
echo "&lt;!--".number_format($sk_timeend-$sk_timestart,3)."--&gt;";   
?&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;? //@mysql_close();
   ob_end_flush();
?&gt;
</code></pre>

<p>THanks</p>
