XF 1.4 index.html?

Steve in HK

New member
Hi,

I have installed Xenforo which works no problem and have it installed in my root.
I click on www.mysite.com/index.php and it goes straight to forum home page.
How ever if I go to www.mysite.com I am presented with a blank page.
I am guessing its the index.html file which is drawing a blank.

How do I go about fixing so when someone goes to mysite.com it will take them straight to forum home page?
 
That didnt work.

I used to have a VB board installed as you can see by the current index.php file. Even with all this VB stuff there, it still goes to my xenforo board. I am a newbie at codes so please go easy. It might be something painfully obvious.

PHP:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v4.2.1 (vB 4.0 - 4.2) - 178726
// || � 2003-2014 vBadvanced.com - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 06:55, Wed Apr 23rd 2014
// || 910178726_403466073987
// ++ ========================================================================++

error_reporting(E_ALL & ~E_NOTICE & ~8192);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');

// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

$forumpath = '/home/quarkcom/public_html/forums';

// ============================================
// No Further Editing Necessary!
// ============================================

if ($forumpath)
{
    if (!is_dir($forumpath))
    {
        echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.';
        exit;
    }

    chdir($forumpath);
}

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();

require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');

print_portal_output($home);

?>
 
The problem (probably) is your HTTP server is serving index.html (which is empty) before index.php. If you have access to the config files for your HTTP server (Apache, nginx, LightSpeed, OpenLiteSpeed) you need to change the order so that the HTTP server looks for index.php first... or make sure that you have no index.html in your root folder.

Are you on a shared hosting environment or VPS? If VPS, what HTTP (web) server are you using?
 
I can see that this is an old thread, but for me it help copy the "index.php" file from the "full version" of XenForo download and not the "Upgrade" version and replace it with the "index.php" file inn the root of you'r web server. I recomend FileZilla for ths.

Hope this helps for some one! :)
 
Top Bottom