Blank Page Forum

Status
Not open for further replies.

Hauzer

New Member
Messages
189
Reaction score
0
Points
0
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:

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
Check the "Error Log", what is it showing?
 

Hauzer

New Member
Messages
189
Reaction score
0
Points
0
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.
 

Attachments

  • errorlog.txt
    78.1 KB · Views: 82
Last edited:

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
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.
 

Hauzer

New Member
Messages
189
Reaction score
0
Points
0
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?
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
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).
 

Hauzer

New Member
Messages
189
Reaction score
0
Points
0
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.
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
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
 
Status
Not open for further replies.
Top