You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 53 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - 7.3 -> 7.6 upgrade problem [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
RomMaster
Nuke Soldier
Nuke Soldier


Joined: Apr 02, 2006
Posts: 13

Location: Ireland

PostPosted: Mon Apr 10, 2006 1:36 am Reply with quoteBack to top

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 ??
Find all posts by RomMasterView user's profileSend private messageVisit poster's website
RomMaster
Nuke Soldier
Nuke Soldier


Joined: Apr 02, 2006
Posts: 13

Location: Ireland

PostPosted: Mon Apr 10, 2006 2:57 am Reply with quoteBack to top

It was my cookies - I cleared them and everything is OK now.....
Find all posts by RomMasterView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Mon Apr 10, 2006 5:37 am Reply with quoteBack to top

Weird, I don't know why it would be a cookie issue. But glad you got it solved.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.158 Seconds - 276 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::