Hi all,
I have tried to upgrade my install from 7.3 to 7.6 (I then plan to migrate to RavenNuke)
Anyhow - All I get is a blank page now. Nothing at all.
I have tried index.php and admin.php and it's the same.
I uploaded all the 7.6 files, modified my config.php and ran:
7.3->7.4 Upgrade (No problems)
7.4->7.5 Upgrade (No problems)
7.5->7.6 Upgrade (No problems)
But like I said - totally blank pages !
After a little debugging (a few extra ECHO statements) the problem is here, in header.php:
Code:
if (eregi("header.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
Basically this evaluates to true and the die() function is called....
From what I've been reading about PHP, this means that header.php thinks that it is being called directly, but I'm going through index.php - it's call chain is:
index.php -> index.php(In modules/News) -> header.php
Any ideas ? Is it a server setting ?
-------
Update - it's actually the line:
Code:
if (eregi("header.php",$_SERVER['PHP_SELF']))
That's causing the problem - for some reason it doesn't like:
Code:
$_SERVER['PHP_SELF'])
This line causes it to bomb - I can't even echo it out.
I put in the line phpinfo(); at the top of header.php and it tells me :
_SERVER["PHP_SELF"] modules.php
Which is right - so the call to it in phpinof() works !!!
Any idea what's going on ??
RomMaster Nuke Soldier
Joined: Apr 02, 2006
Posts: 13
Location: Ireland
Posted:
Mon Apr 10, 2006 2:57 am
It was my cookies - I cleared them and everything is OK now.....
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12397
Posted:
Mon Apr 10, 2006 5:37 am
Weird, I don't know why it would be a cookie issue. But glad you got it solved.
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