21 lines
708 B
PHP
21 lines
708 B
PHP
<?php
|
|
error_reporting(E_ALL);
|
|
ini_set('display_errors', 1);
|
|
|
|
echo "Step 1: Starting script<br>";
|
|
$rootPath = dirname(dirname(dirname(__DIR__)));
|
|
echo "Step 2: Root path = " . $rootPath . "<br>";
|
|
echo "Step 3: Header path = " . $rootPath . '/header.php' . "<br>";
|
|
echo "Step 4: File exists? " . (file_exists($rootPath . '/header.php') ? 'YES' : 'NO') . "<br>";
|
|
|
|
$headerStyle = 'light';
|
|
echo "Step 5: About to include header<br>";
|
|
include_once($rootPath . '/header.php');
|
|
echo "Step 6: Header included successfully<br>";
|
|
?>
|
|
<h1>Test Page Content</h1>
|
|
<?php
|
|
echo "Step 7: About to include footer<br>";
|
|
include_once($rootPath . '/components/insta_footer.php');
|
|
echo "Step 8: Footer included successfully<br>";
|
|
?>
|