how to rectify undefined variable in line 35 of campus recruitment system project

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • naveengowda7070
    New Member
    • Jan 2018
    • 1

    how to rectify undefined variable in line 35 of campus recruitment system project

    Code:
    <?php
    /*
     
     +------------------------------------------------------------------------------+
     | Mamook(R) Software                                                           |
     +------------------------------------------------------------------------------+
     | Copyright (c) 2000-2005 University of Victoria.  All rights reserved.        |
     +------------------------------------------------------------------------------+
     | THE LICENSED WORK IS PROVIDED UNDER THE TERMS OF THE ADAPTIVE PUBLIC LICENSE |
     | ("LICENSE") AS FIRST COMPLETED BY: The University of Victoria. ANY USE,      |
     | PUBLIC DISPLAY, PUBLIC PERFORMANCE, REPRODUCTION OR DISTRIBUTION OF, OR      |
     | PREPARATION OF DERIVATIVE WORKS BASED ON, THE LICENSED WORK CONSTITUTES      |
     | RECIPIENT'S ACCEPTANCE OF THIS LICENSE AND ITS TERMS, WHETHER OR NOT SUCH    |
     | RECIPIENT READS THE TERMS OF THE LICENSE. "LICENSED WORK" AND "RECIPIENT"    |
     | ARE DEFINED IN THE LICENSE. A COPY OF THE LICENSE IS LOCATED IN THE TEXT     |
     | FILE ENTITLED "LICENSE.TXT" ACCOMPANYING THE CONTENTS OF THIS FILE. IF A     |
     | COPY OF THE LICENSE DOES NOT ACCOMPANY THIS FILE, A COPY OF THE LICENSE MAY  |
     | ALSO BE OBTAINED AT THE FOLLOWING WEB SITE: http://www.mamook.net            |  
     |                                                                              |
     | Software distributed under the License is distributed on an "AS IS" basis,   |
     | WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for |
     | the specific language governing rights and limitations under the License.    | 
     +------------------------------------------------------------------------------+
     | Filename: mamook.php                                                        |
     +------------------------------------------------------------------------------+
     | Description:                                                                 |
     +------------------------------------------------------------------------------+
     
    */
    //set_error_handler('myHandlerForMinorErrors', E_NOTICE | E_STRICT);
     
     
    ob_start('ob_gzhandler', 2048);
    // stupid IE workaround, PDFs don't save over SSL for stupid IE
    if ($PDF) {
        session_cache_limiter("must-revalidate");
    }
    session_start();
    define("DEBUG", false);  // do a `tail -f logs/test.txt` to watch the debugging output
    define("DEBUG_QUERY_TRACE", false);
    if (DEBUG) { include("misc/debug_functions.inc"); }
     
    if (DEBUG)
    {  // *** DEBUG CODE BELOW ***
        dumpToLog("*** BEGIN mamook.php at " . date("Y-m-d H:i:s") . " ***\n");
        dumpToLog("INITIAL COOKIE VALUES {\n");
        dumpCookies();
        dumpToLog("}\n");
    }  // *** DEBUG CODE ABOVE ***
    Last edited by RonB; Jan 30 '18, 05:07 PM. Reason: Added code tags
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    If this is for a campus, then it should not be so hard to find someone who can create a good working system for you, because solving the 'error' on line 35 will not stop you from getting other errors, especially when looking at line 34.
    There's also the fact that this code is more than 12 years old!

    Comment

    Working...