Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) Bug Reports
Author Message
manunkind
Client



Joined: Apr 26, 2004
Posts: 368
Location: Albuquerque, NM

PostPosted: Wed Sep 01, 2004 8:16 pm Reply with quote

Hello,

I followed all the steps and all seems to be working ok until I add those lines in mainfile.php and upload it. I then get this:

Code:
Fatal error: Cannot redeclare get_remote_port() (previously declared in /path/to/includes/sentinel.php:280) in /path/to/includes/sentinel.php on line 279



Any ideas on what could be wrong? 2.0.1 worked just fine.
 
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Wed Sep 01, 2004 8:38 pm Reply with quote

Sure ya took the old line out?
Sounds like maybe its still in there.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
manunkind







PostPosted: Wed Sep 01, 2004 8:41 pm Reply with quote

Nevermind guys. Embarassed

I forgot (or didn't see right away) that I did not remove the old include before adding the new one. The top of my mainfile.php looked like this:

Code:
<?php

if ($forum_admin == 1) {
       include("../../../includes/sentinel.php");
   } elseif ($inside_mod == 1) {
       include("../../includes/sentinel.php");
   } else {
       include("includes/sentinel.php");
   }

/************************************************************************/
/* PHP-NUKE: Advanced Content Management System                         */
/* ============================================                         */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
/* Additional security checking code 2003 by chatserv                   */
/* http://www.nukefixes.com -- http://www.nukeresources.com             */
/************************************************************************/
include("includes/sentinel.php");


I just didn't see it below all the copyright stuff. Embarassed

I need some sleep.
 
manunkind







PostPosted: Wed Sep 01, 2004 8:43 pm Reply with quote

sixonetonoffun wrote:
Sure ya took the old line out?
Sounds like maybe its still in there.


Ha! You nailed it right on the head. (I was posting the answer when you posted this)

Thanks. Very Happy
 
sixonetonoffun







PostPosted: Wed Sep 01, 2004 8:53 pm Reply with quote

Glad ya worked it out. They do a pretty good job of keeping the updates pretty painless.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) Bug Reports

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©