My problem is this: The website cannot access the index.php script file. It will not access it by default. It will not access it if I type it explicitly. I can, however, access the login.php script file which is contained in a different directory. here is the contents of the .htaccess file
# Use PHP5.4 as default
AddHandler application/x-httpd-php54 .php
Here is the first 11 lines of the /public_html/index.php script file:
<?
session_start();
echo 'index start';
exit;
include $_SERVER['DOCUMENT_ROOT'] . 'library/library.php';
if($_SESSION['logged_in'] === 'TRUE'){
//nothing....
}else{
$_SESSION['logged_in'] = 'FALSE'
}
The support personnel at bluehost said that there is an error on line 11 with a }
. (forgive me, I forgot to copy the error exactly.)
I'm not a complete novice at PHP. I understand that the exit;
on line 4 should prevent this error from happening. I am at a complete loss.