There also looks to be a problem of your $headerfile

You are sending two headers.

Visit the "HTML Includes" tab at:
http://j30.us/ubbthreads/ubbthreads.php/forums/admin/gen_display.php

Update the "Header Insert For All Pages" section, to correct the page declaration information from the "Header Insert" section.

This stuff should not be in that grouping

Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head>

There are some examples in 7.6, where there were no examples for the 7.5 series.
Attachments
20151119 - HTML Includes - Example.png

Last edited by id242; 02/27/2017 2:12 AM. Reason: attached a screenshot sample

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com