Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Error Will not load php

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #145997

    hello I am getting a error when loading php my first attempt at php. I am not to sure if should use if file exist get.

    Warning: include(includes/header.php): failed to open stream: No such file or directory in – on line 21 Warning: include(): Failed opening ‘includes/header.php’ for inclusion (include_path=’.:’) in – on line 21 Warning: include(includes/footer.php): failed to open stream: No such file or directory in – on line 24 Warning: include(): Failed opening ‘includes/footer.php’ for inclusion (include_path=’.:’) in – on line 24

    <body>
    
    <?php include ('includes/header.php')?>
    
    
    <?php include ('includes/footer.php') ?>
    
    </body>
    
    <body>
    
    <? php
    if (file_exists(DIR_TEMPLATE . $this->config->get('includes/header.php')) {
        $this->template = $this->config->get 'includes/header.php';
    } else {
        $this->template = 'includes/header.php';
    }
    ?>
    
    </body>
    
Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.