| Author |
Message |
SPJeff69 Regular


Joined: Oct 25, 2004 Posts: 53
|
Posted:
Tue Jul 26, 2005 11:48 am |
|
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? |
|
|
|
 |
chatserv The Mouse Is Extension Of Arm

Joined: May 02, 2003 Posts: 1393
|
Posted:
Tue Jul 26, 2005 1:37 pm |
|
Open modules/Forums/admin/pagestart.php and add under the file credits:
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. |
|
|
|
 |
tracey Hangin' Around

Joined: Oct 03, 2004 Posts: 25
|
Posted:
Fri Aug 12, 2005 7:29 pm |
|
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 |
|
|
|
 |
chatserv The Mouse Is Extension Of Arm

Joined: May 02, 2003 Posts: 1393
|
Posted:
Sat Aug 13, 2005 1:09 am |
|
|
|
 |
tracey Hangin' Around

Joined: Oct 03, 2004 Posts: 25
|
Posted:
Sat Aug 13, 2005 6:59 am |
|
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 |
|
|
|
 |
arif2k New Member


Joined: Oct 07, 2006 Posts: 2
|
Posted:
Sat Oct 07, 2006 8:03 am |
|
Sorry, this Module isn't active! shows the link |
|
|
|
 |
evaders99 Moderator

Joined: Apr 30, 2004 Posts: 2856
|
Posted:
Mon Oct 09, 2006 10:21 am |
|
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:
Change to:
| Code: | | define('FORUM_ADMIN', true); |
|
|
|
|
 |
thebishop Worker


Joined: Aug 30, 2005 Posts: 176 Location: CA
|
Posted:
Wed Nov 22, 2006 9:03 am |
|
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.  |
|
|
|
 |
thebishop Worker


Joined: Aug 30, 2005 Posts: 176 Location: CA
|
Posted:
Wed Nov 22, 2006 10:30 am |
|
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. |
|
|
|
 |
evaders99 Moderator

Joined: Apr 30, 2004 Posts: 2856
|
Posted:
Thu Nov 23, 2006 8:30 pm |
|
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 |
|
|
|
 |
thebishop Worker


Joined: Aug 30, 2005 Posts: 176 Location: CA
|
Posted:
Thu Nov 23, 2006 11:05 pm |
|
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 |
|
|
|
 |
thebishop Worker


Joined: Aug 30, 2005 Posts: 176 Location: CA
|
Posted:
Sat Nov 25, 2006 1:40 pm |
|
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. |
|
|
|
 |
thebishop Worker


Joined: Aug 30, 2005 Posts: 176 Location: CA
|
Posted:
Sat Nov 25, 2006 5:27 pm |
|
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?)"
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
Forum Admin Blank
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.  |
|
|
|
 |
evaders99 Moderator

Joined: Apr 30, 2004 Posts: 2856
|
Posted:
Sat Nov 25, 2006 6:28 pm |
|
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 |
|
|
|
 |
thebishop Worker


Joined: Aug 30, 2005 Posts: 176 Location: CA
|
Posted:
Sat Nov 25, 2006 7:58 pm |
|
| 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.  |
|
|
|
 |
|
|
|
|