Author |
Message |
southern
Client

Joined: Jan 29, 2004
Posts: 624
|
Posted:
Sat Feb 28, 2004 6:47 pm |
|
OK, I knew there'd be "something" after upgrading to 6.9! I clicked on Forums in my admin panel and only a blank white page came up with <? in the top left corner. Have I forgotten to upload something? Other than this the forums look and act normal although a <? can be seen on the forums pages in the top left. |
|
|
|
 |
Nukeum66
Life Cycles Becoming CPU Cycles

Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA
|
Posted:
Sun Feb 29, 2004 8:08 am |
|
Have a look at this  > Only registered users can see links on this board! Get registered or login! |
_________________ Scott Johnson MIS Ubuntu/Linux 11.10 |
|
|
 |
southern

|
Posted:
Sun Feb 29, 2004 11:57 am |
|
Thanks Nukeum. I checked my config.php in modules/Forums and found:
Code:
<?php
@include("../../config.php");
define('PHPBB_INSTALLED', true);
?>
?>
|
I removed the last ?> and looked at my Forums admin, and it loads now. Thanks for the lead to the other thread... I owe you some beers! |
|
|
|
 |
Nukeum66

|
Posted:
Sun Feb 29, 2004 2:27 pm |
|
I'll settle for a Pepsi  |
|
|
|
 |
chatserv
Member Emeritus

Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Sun Feb 29, 2004 2:45 pm |
|
I'll take the beer and send you a pepsi N66  |
|
|
|
 |
Nukeum66

|
Posted:
Sun Feb 29, 2004 3:51 pm |
|
|
|
 |
southern

|
Posted:
Sun Feb 29, 2004 6:06 pm |
|
If I have it straight it's beers for chatserv and Pepsi for Nukeum. OK, I'll stand for both! Anyway I just checked my fresh 6.9 files that I used to upgrade and I found that config.php in modules/Forums has:
Code:
<?php
@include("../../mainfile.php");
define('PHPBB_INSTALLED', true);
?>
|
I wonder why on my site the config.php calls the root config.php but the config on my computer calls mainfile.php? Seems to me that after uploading files would have the same calls to other files as before uploading. |
|
|
|
 |
chatserv

|
Posted:
Sun Feb 29, 2004 6:21 pm |
|
I had changed it to mainfile.php in one of the sec-fix patches as a workaround for those that moved config.php from the root directory, in the sites i used it like that i had no problems but if you do you can change it to config.php |
|
|
|
 |
southern

|
Posted:
Sun Feb 29, 2004 7:07 pm |
|
It was changed to config.php and it wasn't me who changed it. All I did was upload the 6.9 files, run the upgrade script and run the upgrade forums script, so I assume one of these put the config.php call in and removed the mainfile.php call... and put in an extra ?> which caused the blank page in Forums admin. No, I'm not gonna change it back to mainfile- I like your security fixes.  |
|
|
|
 |
|