Blank forum index page

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
User avatar

Topic author
MayBeatle
Active Member
Posts: 10
Joined: 23. January 2011 17:15
Location: Russia
Contact:

Blank forum index page

Post by MayBeatle »

Your Portal Version: 1.0.6
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Advanced Knowledge
Boardlink: http://newfclub.ru/forum/

PHP Version: 5.2.5
MySQL Version: 5.0.26

What have you done before the problem was there?
Installed the latest version of Board3 Portal — 1.0.6

What have you already tryed to solve the problem?
Everything I could have done. Searched through entire Board3.de website to find the solution. Read FAQ. Read some topics from this forum and done everything people suggested such as re-edition of all PHP-files and saving them without BOM, checking for blank lines in PHP-files, refreshing styles, themes and imagesets from ACP, manual clearing the cache of my forum — nothing helped.

Description and Message
I have just downloaded the latest version of Board3 Portal and installed it to my board just as it was described in INSTALL.XML file. The installation went fine, I have refreshed board`s style, theme and imageset, cleared board`s cache and tried to access my board.

The portal works great! It appeared and it lookes nice. However it should be configured lately.

But when I try to access the forum index the only thing I get is a blank page. No errors, no messages, no any HTML tags inside the generated page — nothing, just a blank page. The more interesting thing is that I can access my categories and topics from the portal, I can even access my gallery, my game page, my blog page and everything else except only the index page.

I`ve done everthing that people suggested here: manually cleared the cache, checked all PHP-files for blank lines, re-uploaded all installation files of Board3 Portal, I even switched on debug mode to find out what`s wrong. But i don`t get any error messages.

I`ve so many mods installed on my board, I can only suppose that some of those mods have some conflict with the portal.

So now I`m asking for help here: does anyone have any idea why the index page of my board can`t be seen? What else can I check or do to find out what`s the problem?

Thanks beforehand for all tries of helping.
User avatar

archivar
Portal Professional
Posts: 1960
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Blank forum index page

Post by archivar »

MayBeatle wrote: Boardlink: http://newfclub.ru/forum/
Hi,
you've already read that and tried?
Moving portal.php outside of your forums directory
V.G. archivar
sorry for my bad english
User avatar

Topic author
MayBeatle
Active Member
Posts: 10
Joined: 23. January 2011 17:15
Location: Russia
Contact:

Blank forum index page

Post by MayBeatle »

No, I didn`t. Do I have to? I`ve got a website based on e107 CMS. It is placed on newfclub.ru. The portal and the board should be kept in /forums/ directory.

Can I keep portal.php and index.php in my /forums/ directory and get the board working? Or do I have to move portal.php outside /forums/ anyway?
User avatar

archivar
Portal Professional
Posts: 1960
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Blank forum index page

Post by archivar »

MayBeatle wrote: What have you done before the problem was there?
Installed the latest version of Board3 Portal — 1.0.6
I can not see that you have installed the portal.
http://newfclub.ru/forum/styles/prosilv ... onfig.html
V.G. archivar
sorry for my bad english
User avatar

Topic author
MayBeatle
Active Member
Posts: 10
Joined: 23. January 2011 17:15
Location: Russia
Contact:

Blank forum index page

Post by MayBeatle »

Sorry. This is a working board. I had to temporarily uninstall Board3 Portal so that users could visit the board (let me remind that when I install the portal users can`t see the board index).

I`ve installed it once again. Check it out please.
User avatar

archivar
Portal Professional
Posts: 1960
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Blank forum index page

Post by archivar »

Make sure you edited .htaccess as instructed by install.xml. If that doesn't work, you will have to contact your hoster.
V.G. archivar
sorry for my bad english
User avatar

Topic author
MayBeatle
Active Member
Posts: 10
Joined: 23. January 2011 17:15
Location: Russia
Contact:

Blank forum index page

Post by MayBeatle »

Certainly I`ve edited that file as it should be edited. This is the exact full content of my .htaccess file.

Code: Select all

php_value post_max_size 28M
php_value upload_max_filesize 28M
php_value max_execution_time 600
php_value max_input_time 600

DirectoryIndex portal.php index.php index.html index.htm

<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

<IfModule mod_rewrite.c>
RewriteEngine on

Rewriterule ^blog/(.+)/(.+).html$		./blog/view/blog.php?page=$1&mode=$2 [NC]
Rewriterule ^blog/(.+).html$			./blog/blog.php?page=$1 [NC]
Rewriterule ^blog/(.+)/$				./blog/view/blog.php?page=$1 [NC]
Rewriterule ^blog/$						./blog/blog.php [NC]

RewriteCond %{REQUEST_FILENAME} !-f
Rewriterule ^blog/(.+)/(.+)$		./blog/view/blog.php?page=$1&mode=$2 [NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^blog/(.+)$ ./blog/blog.php?page=$1 [NC]
</IfModule>
User avatar

archivar
Portal Professional
Posts: 1960
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Blank forum index page

Post by archivar »

Show. htaccess which is in the forum directory.
V.G. archivar
sorry for my bad english
User avatar

Topic author
MayBeatle
Active Member
Posts: 10
Joined: 23. January 2011 17:15
Location: Russia
Contact:

Blank forum index page

Post by MayBeatle »

This was namely that file. I ain`t got .htaccess in website root. Only in board`s directory /forum/.

By the way, I`ve just tried to move portal.php outside the board`s /forum/ directory — it didn`t help to make index.php to work.
User avatar

archivar
Portal Professional
Posts: 1960
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Blank forum index page

Post by archivar »

If that doesn't work, you will have to contact your hoster.
V.G. archivar
sorry for my bad english
User avatar

Topic author
MayBeatle
Active Member
Posts: 10
Joined: 23. January 2011 17:15
Location: Russia
Contact:

Blank forum index page

Post by MayBeatle »

I`m trying to realize what do I have to tell my hoster. This is a professional hosting. Everything that should be switched on is switched on. All other mods are working fine, no any of them gives me blank pages but only the portal.

Is there any way to make the portal work without contacting my hoster?
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Blank forum index page

Post by Marc »

The portal does not change any files that only affect the board index. When does this happen exactly? If you have the files uploaded or after what step? Try uploading each edited file one by one. That way we might be able to find out what error you have. Did you try enabling debug in your config.php?
User avatar

Topic author
MayBeatle
Active Member
Posts: 10
Joined: 23. January 2011 17:15
Location: Russia
Contact:

Blank forum index page

Post by MayBeatle »

Actually, that`s the first thing I did when I got that blank page. But it didn`t help me `cause I didn`t get any error message from debugger.

Sorry, it`s too late already in Central Russia, so I have to go to sleep. Tomorrow morning I`ll try to follow your advice and upload each edited file one by one. We`ll see what happens.

I`ve got a thought that functions.php might work with error after editing but I`ll check that later.
User avatar

Topic author
MayBeatle
Active Member
Posts: 10
Joined: 23. January 2011 17:15
Location: Russia
Contact:

Blank forum index page

Post by MayBeatle »

Well here is the result.

I`ve installed the portal one more time and now I know exactly what part of the code makes the index page being invisible. The installation instruction tells me to open functions.php. All right, I open it and do exactly what instruction tells me.

Find:

Code: Select all

// The following assigns all _common_ variables that may be used at any point in a template.
And place before:

Code: Select all

	$user->add_lang(array('mods/lang_portal', 'mods/additional_blocks'));
	if (!function_exists('obtain_portal_config'))
	{
		include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
	}
	if(sql_table_exists(PORTAL_CONFIG_TABLE) == true)
	{
		$portal_config = obtain_portal_config();
	}
And that`s it! Now the index page of my board becomes invisible. All other steps of instruction are made also but nothing makes the index page become invisible. When I comment the code shown above then the index starts working as it should. When I uncomment that part of the code then the index page turns into white page.

Why does this part of the code makes my board`s index page become invisible?

Now you can visit my board again and see that the portal is working fine. But the part of the code shown above is still commented. And I wonder why do I need it at all?

Any ideas about that?
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Blank forum index page

Post by Marc »

Did you try uncommenting just parts of this code?
I.e. just uncomment the first line. If it works, then uncomment the first if-statement, etc.
Locked

Return to “board3 Portal 1.0.x - English Support”