Jump to content
Larry Ullman's Book Forums

avante

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by avante

  1. My problem was in chapter 2 project which is:  in main.in.php 
     

    //Redirect if this page was successed directly:
    // if (!defined("BASE_URL")) {
     
    // // Need the BASE_URL, defined in the config file:
    // require('./includes/config.inc.php');
     
    // // Redirect to the index page:
    // $url = BASE_URL . 'index.php';
    // header ("Location: $url");
    // exit;
     
    // } // End of defined() IF

    I had to comment these lines off cause the error was this: Fatal error: Cannot redeclare my_error_handler() (previously declared 
    So i fixed it thanks a lot its amazing book im learning. :)
     
×
×
  • Create New...