You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 57 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Blank Forums fix [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12350


PostPosted: Thu Mar 17, 2005 10:48 pm Reply with quoteBack to top

Does your site run perfectly fine, but can't get your Forums to load at all?
Try this fix:
Code:


in modules/Forums/config.php

DELETE OR COMMENT OUT

@include("../../mainfile.php");


_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12350


PostPosted: Wed Apr 20, 2005 6:29 pm Reply with quoteBack to top

Another tip:

Make sure GZip Compression is disabled in your Forums configuration. phpNuke already tries to enable it. It seems that Firefox is especially affected by this, resulting in a blank page.

If you cannot access your Forums admin panel, change it manually. Use phpMyAdmin and go to your _bbconfig table. Browse and find the field 'config_name' that is 'gzip_compress' - edit and set the 'config_value' to '0'

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Wishmaster22
Nuke Soldier
Nuke Soldier


Joined: Mar 20, 2005
Posts: 34


PostPosted: Mon May 09, 2005 4:06 am Reply with quoteBack to top

Evaders99 wrote:
Does your site run perfectly fine, but can't get your Forums to load at all?
Try this fix:
Code:


in modules/Forums/config.php

DELETE OR COMMENT OUT

@include("../../mainfile.php");



My forum site is working fine, but registered users cannot see forum, but visitors can. Do I need to implement your solution?

Is there a setting that allows both all visitors , and registered users access to my forums. I changed the module setting to all registered users and then logged in as a user and no forum categories are showing. If I set it to all visitors , you can see the forum topics and post as a guest.

Here is the site url to look at

http://www.cliknsav.com/bridger/modules.php?name=Forums

Thanks
Find all posts by Wishmaster22View user's profileSend private messageSend e-mailVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12350


PostPosted: Mon May 09, 2005 7:08 pm Reply with quoteBack to top

I'm really not sure at the moment. Other problems may include addons such as Sentinel, or if you've updated to BBToNuke 2.0.15, I'm hearing reports of problems with that as well

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
McKooter
Sergeant
Sergeant


Joined: Nov 22, 2003
Posts: 101


PostPosted: Thu Jun 02, 2005 7:14 pm Reply with quoteBack to top

have we heard anything about a fix for 2.0.15, after that upgrade i lost the admin panel and doing everything manually through the database is getting harder
Find all posts by McKooterView user's profileSend private message
McKooter
Sergeant
Sergeant


Joined: Nov 22, 2003
Posts: 101


PostPosted: Thu Jun 02, 2005 7:28 pm Reply with quoteBack to top

Evaders99 wrote:
Another tip:

Make sure GZip Compression is disabled in your Forums configuration. phpNuke already tries to enable it. It seems that Firefox is especially affected by this, resulting in a blank page.

If you cannot access your Forums admin panel, change it manually. Use phpMyAdmin and go to your _bbconfig table. Browse and find the field 'config_name' that is 'gzip_compress' - edit and set the 'config_value' to '0'


also i cannot find this in my database, not sure where it is, i went to nuke_bbconfig and its unfound
Find all posts by McKooterView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12350


PostPosted: Fri Jun 03, 2005 6:52 am Reply with quoteBack to top

BBToNuke 2.0.15 - this maybe a problem when not using the Patched files. Make sure your systems are Patched - http://www.nukefixes.com

Other possible solutions:

One with Sentinel - make sure you are using the latest Patched files and latest Sentinel version

If you are trying to use a false config.php
(code such as)
Code:

<? include('../config.php')' ?>

this will break your forums. You can try using the full path to the file
Code:

<? include('/path_to_file/config.php'); ?>

Talk to your host to figure out the full path

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
sting
Site Admin
Site Admin


Joined: Jul 24, 2003
Posts: 1985

Location: Apparently ALWAYS Online. . .

PostPosted: Fri Jun 03, 2005 8:16 pm Reply with quoteBack to top

The best fix I have seen for this common topic - and believe me it took some searching to find this - can be found here:

http://ravenphpscripts.com/postp37556.html#37556

BUT - keep in mind that this bug has A LOT to do with the version of NUKE, BBTONUKE (PHPBB), and SENTINEL you are using - as well as the latest patches from Chat and the gang.

It all boils down to making sure that the files mentioned by Chatserv in the above post
Quote:
mainfile.php, db.php, pagestart.php, common.php and sentinel.php


match up with regards to the newer coding changes implemented in patch 2.9.

IF you are using a sentinel version greater than 2.1 (I think), then the name of the last file has been changed to nukesentinel.php.

Once I made the appropriate changes - in my case the files pagestart, common, and db were the ONLY ones that had an issue, everything came back as it should.

Quote:

This means the files have a mix of $forum_admin and FORUM_ADMIN which is the correct one to use, these have to be edited in mainfile.php, db.php, pagestart.php, common.php and sentinel.php, they all must match, in essence:
if ($forum_admin == 1) {
is incorrect, it should be:
if (defined('FORUM_ADMIN')) {
in the listed files, same with:
$forum_admin = 1;
which should be:
define('FORUM_ADMIN', true);


Thanks to Chatserv for this clarification...

-sting

_________________
Is it paranoia if they are really out to get you?

-------------------------------------------------------
sting usually hangs out at nukehaven.net
Find all posts by stingView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Sun Jun 26, 2005 6:47 pm Reply with quoteBack to top

McKooter wrote:
have we heard anything about a fix for 2.0.15, after that upgrade i lost the admin panel and doing everything manually through the database is getting harder

Here's how I got the forum admin panel in BB2Nuke 2.0.15 to work with PHP-Nuke 6.5 +2.8...

In 'modules/Forums/admin/pagestart.php' I changed:

Code:
[snip]

if (!defined('IN_PHPBB'))
{
        die("Hacking attempt");
}

define('IN_ADMIN', true);
define('FORUM_ADMIN', true);
define("PHPBB_ROOT_PATH", $phpbb_root_path);
define("PHPBB_PHPEX", $phpEx);
include("../../../mainfile.php");
$phpbb_root_path = PHPBB_ROOT_PATH;
$phpEx = PHPBB_PHPEX;
include($phpbb_root_path.'common.'.$phpEx);
//
// Do a check to see if the nuke user is still valid.
//

[snip]


To:

Code:
[snip]

if (!defined('IN_PHPBB'))
{
        die("Hacking attempt");
}

define('IN_ADMIN', true);
if (defined('FORUM_ADMIN')) {
    define('FORUM_ADMIN', true); // PHP-Nuke 7.7+ and/or PHP-Nuke Patched 2.9+
} else {
    $forum_admin = 1; // PHP-Nuke 7.6- and/or PHP-Nuke Patched 2.8-
}
define("PHPBB_ROOT_PATH", $phpbb_root_path);
define("PHPBB_PHPEX", $phpEx);
include("../../../mainfile.php");
$phpbb_root_path = PHPBB_ROOT_PATH;
$phpEx = PHPBB_PHPEX;
include($phpbb_root_path.'common.'.$phpEx);
//
// Do a check to see if the nuke user is still valid.
//

[snip]


If you look around, you'll find multiple causes/cures, but this hack fixed my problem... Wink

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
XDakotaX
Lieutenant
Lieutenant


Joined: Apr 30, 2004
Posts: 157


PostPosted: Tue Jul 26, 2005 3:19 am Reply with quoteBack to top

Quote:
in modules/Forums/config.php

DELETE OR COMMENT OUT

@include("../../mainfile.php");



PHPNuke 7.7 (fresh install) I belive includes PHPBB built in?

I have this problem with members list and forums showing blank.

I tried this fix and something showed, the forum layout with forum information with all the links like "Search" etc but when clicking these they just load the same page over and over again.

Also the forum infortmation is showing under members list as well.

I suppose it is better than nothing but unfortunately for me still not workable.

:S
Find all posts by XDakotaXView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12350


PostPosted: Tue Jul 26, 2005 4:29 am Reply with quoteBack to top

Tried upgrading your BBToNuke? http://www.nukeresources.com

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
XDakotaX
Lieutenant
Lieutenant


Joined: Apr 30, 2004
Posts: 157


PostPosted: Tue Jul 26, 2005 10:09 am Reply with quoteBack to top

Hi Evaders,

Yes I have uploaded all new files for:
Current version: 3.0b + BBtoNuke 2.0.15 (nuke 7.7)
and loaded the altered .sql dump. In the hope it would fix the problem.

But unfortunately no change, same problem in both IE6 and Firefox.

Have deleted cookies and temp internet files just incase but that was a shot in the dark.

Very strange, maybe a problem that I havent installed in the root directory, but really scraping the barrel now.

Any other ideas would be greatly appreciated!
Find all posts by XDakotaXView user's profileSend private message
pmlabrier
Nuke Soldier
Nuke Soldier


Joined: Apr 18, 2005
Posts: 19


PostPosted: Wed Jul 27, 2005 9:36 pm Reply with quoteBack to top

I am having either the same or a similar problem. Users, both registered and unregistered, can see and interact with the forums just fine. When I log in as administrator and try to go to the forums the main window is blank. Member List is also blank. Everything else seems to be ok, even the phpBB administration. Not sure how long its been like this but it did not used to and I just noticed it yesterday.

I am running a plain install of 7.6. I was about to install the 3.0 patches and FNA 3.0 when I discovered this. I would like to resolve it before I go any further.

Paul
Find all posts by pmlabrierView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12350


PostPosted: Thu Jul 28, 2005 8:29 am Reply with quoteBack to top

If the Patched files don't resolve this, than tell us and we'll work on it

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
pmlabrier
Nuke Soldier
Nuke Soldier


Joined: Apr 18, 2005
Posts: 19


PostPosted: Thu Jul 28, 2005 7:04 pm Reply with quoteBack to top

I cleared my cache in firefox and all is working fine now?!

Paul
Find all posts by pmlabrierView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.240 Seconds - 428 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::