1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Blank webpage :( help!

Discussion in 'Troubleshooting and Problems' started by sydneyh, Oct 1, 2012.

  1. sydneyh

    sydneyh Member

    Hi guys.

    I recently started my own forum up and have unfortunatly less than no skills or knowledge about webpages/forums etc.
    Mostly i dont ask and prefer to search and learn how to create and add new content to my forum.

    Unfortunately my webpage just shows up white.
    I haven;t done any editing at all and i called my host to check if there is something wrong which there wasn't.

    I'm out of my wits and desperate :(.
    Anyone got any tips or advice,

    I'm even willing to pay if someone could look at it and fix this problem since this forum means alot to me.

    Regards Sydney.
    Blank page website.jpg
  2. sydneyh

    sydneyh Member

    P.s. I renamed the index.php to index1.php and made a new index.php called test.
    And the word test shows up.

    Index im using
    $startTime = microtime(true);
    $fileDir = dirname(__FILE__);
    require($fileDir . '/library/XenForo/Autoloader.php');
    XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library');
    XenForo_Application::initialize($fileDir . '/library', $fileDir);
    XenForo_Application::set('page_start_time', $startTime);
    $fc = new XenForo_FrontController(new XenForo_Dependencies_Public());
    Anything wrong with the code ?
  3. Chris D

    Chris D XenForo Developer Staff Member

    A blank page is often a suppressed error... but sometimes it can be even more simple.

    Have you recently tried to do anything with Friendly URLs? Or URL Rewriting? Or .htaccess?
  4. Chris D

    Chris D XenForo Developer Staff Member

    This file seems ok... so maybe it is a suppressed error after all.

    Try adding this line to your config.php file. You will find that in the "library" directory.

    ini_set('display_errors', true);
    Jake Bunce likes this.
  5. sydneyh

    sydneyh Member

    Around a week ago i changed domainname with a friendly redirect url from wow-regain.com -> my website www.torchlightme.com. But other than that i haven't done any changes.

    And alright I will add what you suggested!
  6. Chris D

    Chris D XenForo Developer Staff Member

    Ok put your index.php file back and try my advice in my previous post by adding that line to your config file. If there's an error hopefully it will display.

    Can you get in your Admin CP?

    Is there any errors in Tools > Server Error Log?
  7. sydneyh

    sydneyh Member

    ini_set('display_errors', true);
    $config['db']['host'] = 'secret';
    $config['db']['port'] = 'secret';
    $config['db']['username'] = 'secret';
    $config['db']['password'] = 'secret';
    $config['db']['dbname'] = 'secret';
    $config['superAdmins'] = 'secret';
    This is how i put it in and unfortunately no results when i refrshed the paged and yes returned the normal index as well.
    I'm not able to get into the Admin CP :( either.
  8. Russ

    Russ Well-Known Member

    I think I've had this problem when I had a bad .htaccess file, I would try re uploading the default .htaccess file, just a thought
  9. sydneyh

    sydneyh Member

    I tried it but didn't work unfortunately :(
    Its very stupid of me not to backup the servers atleast 2x a day.. Lesson learned i guess D:

    I did a rollback by loading my backup.
    Website is up but problem unknown.
    Thanks tho guys for trying i appreciate it!

Share This Page