• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

AAC Blank Page on my website once I moved everything to dedicated.

Sync

Ø,ø
Joined
May 26, 2009
Messages
1,901
Reaction score
26
Location
Canada
Im not sure why im encountering this, Hoping someone has dealt with this before and can help me.

I've recently finished my server and purchased a dedicated host, transferred everything over, properly set the new directories in config and so on. Everything is set properly but yet all that shows up is a blank page. I tried re-installing xampp and the generic main xampp dashboard page loaded but wont load my htdocs. Someone please help me fix this as it is the last thing holding me back from launching my server!

I checked DocumentRoot "C:/xampp/htdocs" < its proper.

Thanks.
 

Attachments

Last edited:
Any errors in xampp/apache/logs/error.log?

(also check access.log).
 
Still nothing when I view the page source

and also Slawkens, I pmed Znote with the answers to his question, there is nothing in the apache error file or access file aswell just so you know.
 

Attachments

Yes, Windows with xampp aswell, Different versions of windows if that would make any difference? Windows (Windows Server 2016 Datacenter is the OS on the dedicated.
And gesiors unfortunately, Version 1.0.3 for TFS 0.4 revision 3703+.
 
Try renaming index.php to index2.php.

And create new index.php with following content:
Code:
<?php
phpinfo();

Then refresh page, you should see php environment.
 
You have this error on any subtopic? Or only on latestnews? try add in browster [yourip]/?subtopic=characters if its work, then you have problem with latestnews.php.
 
Code:
<?php
// comment to show E_NOTICE [undefinied variable etc.], comment if you want make script and see all errors
error_reporting(0);

// true = show sent queries and SQL queries status/status code/error message
define('DEBUG_DATABASE', false);

define('INITIALIZED', true);

// if not defined before, set 'false' to load all normal
if(!defined('ONLY_PAGE'))
    define('ONLY_PAGE', false);
    
// check if site is disabled/requires installation
include_once('./system/load.loadCheck.php');

// fix user data, load config, enable class auto loader
include_once('./system/load.init.php');

// DATABASE
include_once('./system/load.database.php');
if(DEBUG_DATABASE)
    Website::getDBHandle()->setPrintQueries(true);
// DATABASE END

// LOGIN
if(!ONLY_PAGE)
    include_once('./system/load.login.php');
// LOGIN END

// COMPAT
// some parts in that file can be blocked because of ONLY_PAGE constant
include_once('./system/load.compat.php');
// COMPAT END

// LOAD PAGE
include_once('./system/load.page.php');
// LOAD PAGE END

// LAYOUT
// with ONLY_PAGE we return only page text, not layout
if(!ONLY_PAGE)
    include_once('./system/load.layout.php');
else
    echo $main_content;
// LAYOUT END
 
Yup.

Code:
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\xampp\htdocs\config\config.php on line 4

This is line 1-6 in config.php
Code:
<?PHP
# Account Maker Config
$config['site']['serverPath'] = "C:\Users\Sync\Desktop\Server\";
$config['site']['useServerConfigCache'] = false;
$config['site']['worlds'] = array(0 => 'Server');
$towns_list[0] = array(1 => 'Edron');
 
You have error in your server_path

It should look like this
Code:
$config['site']['serverPath'] = "C:\Users\Sync\Desktop\Server/";

or like this:
Code:
$config['site']['serverPath'] = "C:\Users\Sync\Desktop\Server\\";

Both version should work.

That's because PHP threats backslask (\) as escaping character, thus it was escaping the quotation marks.
 
Back
Top