| Author |
Message |
Metalp3n
Nuke Soldier


Joined: Dec 08, 2003
Posts: 17
|
Posted:
Mon Mar 07, 2005 8:20 pm |
  |
Ever since i upgraded to BBtoNuke 2.0.12 i am unable to acced the Forum admin page. Instead of any error message, all i recieve is a plain, blank, white page. Despite my various attempts to restore the original common.php file, and other failed attempts, i am unable to find the cause of this error, and thus unable to find a solution.
I am hoping someone here is familiar with this type of issue and can provide me with some assistance. Its getting really annoying to have to create new forums and everything through phpMyadmin.
I am running phpNuke 7.5 with PHP v4.3.10, just in case you need to know. |
|
|
    |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Mon Mar 07, 2005 8:28 pm |
  |
Did you clean up your local PC's cookie? If not, try it. I got the same problem when I upgraded security patch 2.9 + BB2Nuke 2.0.13 in PHP-Nuke 7.6. But I fixed it. Unfortunately, I've forgot how I fixed it. But, the most and first of what to do will be to clean up your local PC's cookie. |
_________________ •NukeKorea Dev. Network.
•NukeKorea Laboratories |
|
    |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Mon Mar 07, 2005 11:23 pm |
  |
Ok. I remembered what I did.
phpnuke new versions might have different session manager.
So, first of all, check include/session.php.
Then, if you find session.php files are different between versions,
open your nuke DB by phpmyadmin.
Clear nuke_session table. THIS DOES NOT MEAN 'DELETING THE TABLE.
login as an admin and try it. |
_________________ •NukeKorea Dev. Network.
•NukeKorea Laboratories |
|
    |
 |
Metalp3n
Nuke Soldier


Joined: Dec 08, 2003
Posts: 17
|
Posted:
Tue Mar 08, 2005 3:13 am |
  |
Not quite sure about the sessions.php file, but i cleared out the nuke_sessions table and am still unable to login. And yes i went ahead and did a "Clear All" in Firefox before posting on here because i suspected that may have been the culprit before, unfortunatly it wasnt. |
|
|
    |
 |
arnoldkrg
Major


Joined: Aug 03, 2003
Posts: 937
Location: United Kingdom
|
Posted:
Tue Mar 08, 2005 5:13 am |
  |
I beleive this may be a pagestart.php problem. In modules/Forums/admin/pagestart.php find:
| Code: |
if (!defined('IN_PHPBB'))
{
die("Hacking attempt");
}
define('IN_ADMIN', true); |
and after add:
| Code: |
| define('FORUM_ADMIN', true); |
I think that the bbtonuke2.0.12 upgrade assumes that chatservs 2.9 patches are installed and the patches include the line I told you to add. |
_________________
 |
|
     |
 |
Metalp3n
Nuke Soldier


Joined: Dec 08, 2003
Posts: 17
|
Posted:
Tue Mar 08, 2005 1:08 pm |
  |
That fixed the error, thank you very much arnoldkrg, a bit curious on one last thing, what exactly is the Chatserv 2.9 patches? |
_________________
 |
|
    |
 |
arnoldkrg
Major


Joined: Aug 03, 2003
Posts: 937
Location: United Kingdom
|
Posted:
Wed Mar 09, 2005 4:31 am |
  |
Chatserv is one of the heros of the PHP-Nuke community who invests a lot of his time to help make PHP-Nuke more secure. Among other places you can get his 2.9 security patches from nukeresources. I havent checked in the last 24 hrs but his latest patches include the bbtonuke2.0.13 updates. |
_________________
 |
|
     |
 |
anzac
Nuke Cadet


Joined: Jan 26, 2005
Posts: 9
|
Posted:
Mon Mar 28, 2005 3:04 am |
  |
| arnoldkrg wrote: |
I beleive this may be a pagestart.php problem. In modules/Forums/admin/pagestart.php find:
| Code: |
if (!defined('IN_PHPBB'))
{
die("Hacking attempt");
}
define('IN_ADMIN', true); |
and after add:
| Code: |
| define('FORUM_ADMIN', true); |
I think that the bbtonuke2.0.12 upgrade assumes that chatservs 2.9 patches are installed and the patches include the line I told you to add. |
hi there my friends
unfortunately for me this solution didnt work
i also did what its reported here :
http://www.nukecops.com/postp175763.html
but with the same result
i dont see the forum page in the admin.php
( .../modules/Forums/admin/index.php )
i have phpnuke 7.5 patched version
but i think not with the patched version you say
thanks |
|
|
   |
 |
anzac
Nuke Cadet


Joined: Jan 26, 2005
Posts: 9
|
Posted:
Tue Mar 29, 2005 10:17 pm |
  |
seems that the problem occures for users that use Nuke Sentinel ....
in mainfile.php sentinel users should have these lines in the top:
| Quote: |
<?php
if ($forum_admin == 1) {
include("../../../includes/sentinel.php");
} elseif ($inside_mod == 1) {
include("../../includes/sentinel.php");
} else {
include("includes/sentinel.php");
}
|
* if these lines dont exist, sentinel wont work in the admin.php
* if you remove these lines forum will work just fine in the admin.php
as you see one way or another you will have one section that dont work correctly and someone should comment and un-comment these lines to use each one of the two features.
can we have a permament solution for this bug?
ps1. this half-solution was given from "Jimmys444" in the phpnuke.gr forum
ps2. i tested with the latest chatserv patch |
|
|
   |
 |
VoodooDoll
Nuke Cadet


Joined: Apr 01, 2005
Posts: 1
|
Posted:
Fri Apr 01, 2005 2:32 pm |
  |
Hi, I'm using phpnuke 7.2 with chatserv 2.9 and i'm with the same problem.
I'm not using Sentinel. It's a plain nuke install. Before the chatserv 2.9 instalation the Forums admin page was ok.
Hope you guys can help me.
Thanks in advance |
|
|
   |
 |
ravelino
Nuke Cadet


Joined: Apr 08, 2005
Posts: 1
|
Posted:
Thu Apr 07, 2005 11:45 pm |
  |
hello,
i think you need to modify the file common.php inside /moduels/Forums folder. Find line 192 and you will get this:
// NOTE: If using Nuke Patched 2.9 comment out the next two lines and uncomment the third line
//global $forum_admin;
//if ($forum_admin == 1) {
if (defined('FORUM_ADMIN')) {
i copied you the part already corrected...
Please let me know if this solve the problem |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12368
|
Posted:
Fri Apr 08, 2005 10:34 pm |
  |
|
     |
 |
Bockman
Nuke Cadet


Joined: Apr 21, 2005
Posts: 3
|
Posted:
Thu Apr 21, 2005 9:01 am |
  |
| ravelino wrote: |
hello,
i think you need to modify the file common.php inside /moduels/Forums folder. Find line 192 and you will get this:
// NOTE: If using Nuke Patched 2.9 comment out the next two lines and uncomment the third line
//global $forum_admin;
//if ($forum_admin == 1) {
if (defined('FORUM_ADMIN')) {
i copied you the part already corrected...
Please let me know if this solve the problem |
Well, you got me to register ..
Went all around looking for a "patch" to solve my no admin page problem...
Ihad 7.5 "standard" and started updating.. so i patched 2.9 and then moved on to BBtoNuke updates.. after updating to 2.0.14 i realized that admin page wasn't showing... that fix did the trick (strange part is i downloaded a BBtoNuke update that said it was "only" for 2.9 patched versions.. and it didn't work.
Anyway, a HUGE thanks for that hint
Be Well  |
|
|
   |
 |
Zanthor
Nuke Cadet


Joined: May 25, 2005
Posts: 2
|
Posted:
Wed May 25, 2005 6:30 am |
  |
Nuke 7.6
Current version: 3.0b + BBtoNuke 2.0.15 - 05/13/05
I upgraded from 7.2 last night, everythings solid, didn't realize any problems existed til I went to add forums today and blank admin page...
I've tried everything posted in this thread and linked to from here... this is a live site
Any suggestions on what else to check? |
|
|
   |
 |
arnoldkrg
Major


Joined: Aug 03, 2003
Posts: 937
Location: United Kingdom
|
Posted:
Thu May 26, 2005 1:57 am |
  |
This isnt a solution.....but it may help you to find the solution. If you have the 3.0b patches installed, then error reporting is turned off by default. You can turn error reporting back on by editing config.php. Change
| Code: |
| $display_errors = 0; |
to
| Code: |
| $display_errors = 1; |
This may give an error report which might lead to the cause of the problem.
One more thing......you did run the upgrade script when you installed the patches didnt you? |
_________________
 |
|
     |
 |
|
|