PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
SPJeff69
Regular
Regular


Joined: Oct 25, 2004
Posts: 53

PostPosted: Tue Jul 26, 2005 11:48 am Reply with quote Back to top

I updated bbtonuke 2.0.12 to nuke 2.0.17 today. I downloaded each update of bbtonuke, uploaded the files, then ran the upgrade script. I repeated this until I'd upgraded ot 2.0.17.

Everything is fine except I can't access my forum administration page, it comes up blank

any ideas?
View user's profile Send private message
chatserv
The Mouse Is Extension Of Arm


Joined: May 02, 2003
Posts: 1393

PostPosted: Tue Jul 26, 2005 1:37 pm Reply with quote Back to top

Open modules/Forums/admin/pagestart.php and add under the file credits:
Code:
$forum_admin = 1;

then try going to the forum's admin section, if it becomes visible you are running a vulnerable Nuke site in which case you can do a search for $forum_admin or FORUM_ADMIN in these forums for the fix.
View user's profile Send private message Visit poster's website
tracey
Hangin' Around


Joined: Oct 03, 2004
Posts: 25

PostPosted: Fri Aug 12, 2005 7:29 pm Reply with quote Back to top

chatserv ... help! i did a search for both $forum-admin and FORUM_ADMIN and it came back with so many results which didn't really seem to apply.

i have the same problem described above .. nuke 7.6 .. bbtonuke upgrade .. on a few sites .. and can't do forum admin .. added the line you said, and it works .. so what's my vulnerability?? help!

thank you kindly!!
tracer
View user's profile Send private message
chatserv
The Mouse Is Extension Of Arm


Joined: May 02, 2003
Posts: 1393

PostPosted: Sat Aug 13, 2005 1:09 am Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
tracey
Hangin' Around


Joined: Oct 03, 2004
Posts: 25

PostPosted: Sat Aug 13, 2005 6:59 am Reply with quote Back to top

THANK YOU!! that was it .. I had 2 of the 5 mentioned files referecning $forum_admin instead of the required 'FORUM_ADMIN' ... WAHOO!!

Thanks chatserv .. you rock.

tracer
View user's profile Send private message
arif2k
New Member
New Member


Joined: Oct 07, 2006
Posts: 2

PostPosted: Sat Oct 07, 2006 8:03 am Reply with quote Back to top

Sorry, this Module isn't active! shows the link
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2856

PostPosted: Mon Oct 09, 2006 10:21 am Reply with quote Back to top

Looks like chatserv activated it again

Just for reference, this post from the thread



Here are the changes that were applied to the patch:

File: mainfile.php - db/db.php - includes/prune.php - modules/Forums/common.php
Find:
Code:
if ($forum_admin == 1) {

Change to:
Code:
if (defined('FORUM_ADMIN')) {


Delete File: modules/Forums/admin/common.php

File: modules/Forums/admin/pagestart.php
Find:
Code:
$forum_admin = 1;

Change to:
Code:
define('FORUM_ADMIN', true);
View user's profile Send private message Visit poster's website
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 176
Location: CA

PostPosted: Wed Nov 22, 2006 9:03 am Reply with quote Back to top

ok i had my Forums/admin/index.php working fine and had already created some forums/posts, then i went to create another catagory and im now getting a blank page at "http://www.mysite.com/modules/Forums/admin/index.php" .

i did a search and found some posts dealing with this but the fixes were for after an upgrade, my forums had already been working.
running Nuke7.6-3.3/ bbtonuke 2.0.21NP with full NS.
Ill keep searching. Sad
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 176
Location: CA

PostPosted: Wed Nov 22, 2006 10:30 am Reply with quote Back to top

evaders99, I do not have "if ($forum_admin == 1) {" in either my mainfile.php or the pagestart.php.

if i add "if (defined('FORUM_ADMIN')) {" at the start of my mainfile.php, my sites home page is then blank.

at this point it's time to get out a very large hammer...


BTW, why are many parts of chatservs site not available.
i go there and it a ghost town.
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2856

PostPosted: Thu Nov 23, 2006 8:30 pm Reply with quote Back to top

Well if your site is using 7.6 with the Patched 3.3 files, it should be fine. Any error messages?

Yea I noticed chatserv's sites being down randomly too. Weird
View user's profile Send private message Visit poster's website
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 176
Location: CA

PostPosted: Thu Nov 23, 2006 11:05 pm Reply with quote Back to top

Nope there were no error messages at all just a blank forums/admin page.
I'm thinking this had something to do with the 'YourAccount/index.php' because its one of the core file edits for Nuke Sentinel's latest version.
The problem is i had just installed Arnolds Approve membership module which overwrites the 'YourAccount/index.php' therefore all my NS edits were set back to default. LOL.

i just made sure to do the NS core edits to the YourAccount/index.php which came with the approve membership module and everything seems to be good now.


[edit] now im thinking this also may be related to the "your forums are not up to date, there are updates for your forums" notice.

i was doing some testing and before i ran the newinstall61.php for the approve membership module, i tried to access the forums/admin and it took forever for the forums admin panel to appear and when it did it said,
"phpbb was not able to connect to the server". In other words it could not tell what version of phpbb i was running.

now im assuming it was trying to connect to the server to confirm what version of phpbb i had installed but couldn't and therefore it didn't load the forums/admin panel. I had always wondered how phpbb knew my forums were not up to date.

i then ran the newinstall61.php file and bingo, the forums/admin page loaded completely. I hope this makes sense to somebody. hehe
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 176
Location: CA

PostPosted: Sat Nov 25, 2006 1:40 pm Reply with quote Back to top

Ok this is really starting to drive me crazy.

this bug has popped up yet again i am getting a blank forums admin.php page. I have searched and searched these forums and cannot find and answer to whatever is causing this. I mean im hear all day everyday searching. rofl.

my site has been running very well for the past 48 hours, so today i thought i would make some additions to the site and make a few posts ect.
I added the nuke_howto & nuke_tools modules and also Vin_dsl's bandwidth module.

then i made a few posts and i needed to create another forum so i went to the admin.php and clicked on Forums and nothing but ablank page came up. I then uninstalled everything i had installed backtracking to see if i could access the forums/admin. no luck.

Raven or evaders99 if and when you have a moment, will you take a look at this for me. thanks.
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 176
Location: CA

PostPosted: Sat Nov 25, 2006 5:27 pm Reply with quote Back to top

Ok i found the answer to my problem, it was the fact that i had the config.php outside the root directory and was calling it from within the root directory with another config.php. here is the post i found my fix at.

"Forum Admin page is blank... (new issue?)"
Only registered users can see links on this board!
Get registered or login to the forums!


Here are two other links that deal with the same problem but didn't fix my issue.
maybe they will help fix someone elses problem.

Forum Admin Section Blank
Only registered users can see links on this board!
Get registered or login to the forums!


Forum Admin Blank
Only registered users can see links on this board!
Get registered or login to the forums!


in this last post i link, raven talks about having the config.php file in the root our outside of the root. so i guess having my config.php outside of the root was somehow making the mainfile.php get called too many times which in turn created the blank Forums/admin page thingamajigger to happen. LOL. Very Happy
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2856

PostPosted: Sat Nov 25, 2006 6:28 pm Reply with quote Back to top

I recommend not moving the config.php
It gives a false sense of security. Really the only thing it protects is if PHP goes down and your .php scripts are revealed as plain text.

The other option is to put the full path
/path/to/config.php
View user's profile Send private message Visit poster's website
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 176
Location: CA

PostPosted: Sat Nov 25, 2006 7:58 pm Reply with quote Back to top

evaders99 wrote:
I recommend not moving the config.php
It gives a false sense of security. Really the only thing it protects is if PHP goes down and your .php scripts are revealed as plain text.

The other option is to put the full path
/path/to/config.php


You mean put the full path to the real config in the fake config.php, right.

i first did it because i had all of my nuke files in the root folder but the site was not active and if a person visited my sites url they could see my config.php. so i moved it one folder up. for safe keeping.
then i thought i would just leave it there. little did i know i would have this problem. live and learn. Wink
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum