Closed Thread
Results 1 to 8 of 8

Thread: Blank Page Forum

  1. #1
    Hauzer's Avatar
    Hauzer is offline x10 Sophmore Hauzer is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    United Kingdom
    Posts
    188

    Blank Page Forum

    My forum is blank. It basicly loads a blank page. I've upgraded the PHP from V1 to V2 (Thanks) and it was working untill I added my previous database from a different host. Since my previous host used to load pop-up ads.

    The admin control panel of my forum still works very perfectly but it doesn't seem to load the main page, it's blank. Does this mean I need to upgrade to V3? I don't really want to upgrade to V3 since i've already upgraded and it seems as if I am greedy.

    Is it possible to make it work with out upgrading again, if needed i'll upgrade again (sorry).

    Thank you.
    ~ Hauzer.
    Last edited by Hauzer; 03-24-2008 at 12:54 PM.

  2. #2
    Fedlerner's Avatar
    Fedlerner is offline Retired Fedlerner is an unknown quantity at this point
    Join Date
    Aug 2006
    Location
    Buenos Aires, Argentina
    Posts
    12,923

    Re: Blank Page Forum

    Check the "Error Log", what is it showing?
    Federico Lerner
    Former x10Hosting Administrator - Staff Manager

  3. #3
    Hauzer's Avatar
    Hauzer is offline x10 Sophmore Hauzer is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    United Kingdom
    Posts
    188

    Re: Blank Page Forum

    It's too big to post. I'll attach the file.


    EDIT: I've fixed my forum, but I can't get the shoutbox to work. I'll try and work threw it.
    Attached Files
    Last edited by Hauzer; 03-24-2008 at 01:26 PM.

  4. #4
    Fedlerner's Avatar
    Fedlerner is offline Retired Fedlerner is an unknown quantity at this point
    Join Date
    Aug 2006
    Location
    Buenos Aires, Argentina
    Posts
    12,923

    Re: Blank Page Forum

    I see you just upgraded your PHP version.
    It may take some time for the version to take effect. Our script runs every 6 hours to add the PHP version privileges to your account.

    If in 6 hours you're still getting the white page, post back in this thread.
    Federico Lerner
    Former x10Hosting Administrator - Staff Manager

  5. #5
    Hauzer's Avatar
    Hauzer is offline x10 Sophmore Hauzer is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    United Kingdom
    Posts
    188

    Re: Blank Page Forum

    Everything works very perfectly, it's never worked any better.

    But, Once I add this php code to one of my pages, it displays as a blank page. Without it works fine.

    This is the code;

    //-----------------------------------------
    // ShoutOut
    //-----------------------------------------
    require_once(ROOT_PATH."sources/invm/shoutout/loader.php");
    $shoutout = new shoutout_loader;
    $shoutout->ipsclass =& $this->ipsclass;
    $this->ipsclass->skin['_wrapper'] = str_replace("<% SHOUTBOX %>", $shoutout->load_shoutout(), $this->ipsclass->skin['_wrapper']);
    //-----------------------------------------
    // ShoutOut
    //-----------------------------------------
    Does this mean I have to upgrade PHP versions? .. If so, then is there another way to make this work without upgrading?

  6. #6
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    Re: Blank Page Forum

    There is probably something in
    require_once(ROOT_PATH."sources/invm/shoutout/loader.php");
    the loader.php file that is causing the error(blank page).
    Corey Arbogast | CEO
    █ 888-X10-9668 - corey[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  7. #7
    Hauzer's Avatar
    Hauzer is offline x10 Sophmore Hauzer is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    United Kingdom
    Posts
    188

    Re: Blank Page Forum

    Yes, that's correct. I've re-uploaded the whole shoutbox several times, still the same problem.

    Without any of the files, the shoutbox won't work correctly or even showup.

    This is what's in the "loader.php" file.

    <?php

    if ( ! defined( 'IN_IPB' ) )
    {
    print "<h1>Incorrect access</h1>You cannot access this file directly.";
    exit();
    }



    class shoutout_loader
    {
    var $ipsclass;


    function load_shoutout()
    {

    if($this->ipsclass->vars['sb_sysonline'])
    {
    require_once(ROOT_PATH . 'sources/invm/shoutout/global.php');
    $global = new shoutout_glob($this->ipsclass);

    $global_shoutbox = $global->show_global();

    return $global_shoutbox;
    }
    else
    {
    return "<!--SHOUTOUT:OFFLINE-->";
    }
    }
    }
    And by the way, thanks for the support.

  8. #8
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    Re: Blank Page Forum

    Hmm,

    I think the easiest way would be to add the code so it shows the blank page, refresh it a few times then attach the new error_log
    Corey Arbogast | CEO
    █ 888-X10-9668 - corey[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

Closed Thread

Similar Threads

  1. Unexpected Wordpress page blank
    By crazywhite1989 in forum Free Hosting
    Replies: 2
    Last Post: 09-17-2007, 06:08 PM
  2. Replies: 2
    Last Post: 06-17-2007, 07:54 AM
  3. Replies: 2
    Last Post: 06-17-2007, 06:51 AM
  4. blank page...
    By ymca in forum Free Hosting
    Replies: 6
    Last Post: 04-11-2006, 09:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers