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 -> phpnuke 7.4
Author Message
ballymuntrev
Hangin' Around



Joined: Mar 22, 2004
Posts: 49

PostPosted: Sat Aug 07, 2004 10:35 pm Reply with quote

Hi all,

Haven't posted or asked for help for a long time from anyone (been capable enough to figure most things out myself) but this one has me puzzled, thought the best place to ask would be on Raven's Smile

I updated to phpnuke 7.4 (distro from Raven's) recently, the protected one with ChatServ's patches, Sentinel 2 rc 6 is installed also (of course!) and all seems fine but I'm getting this error now from my error log via cpanel on teh host...

Code:
[Sun Aug  8 00:43:29 2004] [error] PHP Warning:  in_array(): Wrong datatype for second argument in /*****/****/******/modules/IP_Tracking/index.php on line 427



Line 427 within that index.php shows the following, I'm putting "#" signs in the code below just in case sentinel picks it up and bans me, which it probably wouldn't but just in case Razz so delete them out to see the code itself correctly ...

Code:
        if#(in_array#(TRUE, $hide_ipseg)#)#{ 


Anyway, anyone got any idea's what could be wrong ?

Cheers,

Trev.
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Aug 07, 2004 11:36 pm Reply with quote

First of all, update NukeSentinel to v2.0.1 for security and to ensure that rc6 code isn't the issue. There were a couple of bugs in the code. Post back if that hasn't helped.
 
View user's profile Send private message
ballymuntrev







PostPosted: Sun Aug 08, 2004 4:16 pm Reply with quote

I'll do that now and let you know, thanks.
 
ballymuntrev







PostPosted: Sun Aug 08, 2004 4:45 pm Reply with quote

Ok, Sentinel all updated . I'll keep an eye on the error logs from the host and see what happens.
 
ballymuntrev







PostPosted: Mon Aug 09, 2004 8:07 am Reply with quote

Ok, error was reported afterwards, even after sentinel update, so it's not that anyway (which I had figured anyway).

Now, I figured the error out, I updated to latest version of IP-Tracking and re-added the single line of code into one of the phpnuke files that needed it to be entered into, this is what the problem essentially was Razz

I'll give better details later on what exactly I did and which exact file have to have the line inserted inot, I'm at work and don't have details to hand here.

Anyway, all sorted now Smile

Ps., came up with a bug in Sentinel, latest version, I'll post in the proper section though once I firstly have a look to see if nobody else has reported it.
 
dholt
Regular
Regular



Joined: Nov 21, 2005
Posts: 67

PostPosted: Sun May 14, 2006 7:54 pm Reply with quote

ballymuntrev wrote:
Ok, error was reported afterwards, even after sentinel update, so it's not that anyway (which I had figured anyway).

Now, I figured the error out, I updated to latest version of IP-Tracking and re-added the single line of code into one of the phpnuke files that needed it to be entered into, this is what the problem essentially was Razz

I'll give better details later on what exactly I did and which exact file have to have the line inserted inot, I'm at work and don't have details to hand here.

Anyway, all sorted now Smile

Ps., came up with a bug in Sentinel, latest version, I'll post in the proper section though once I firstly have a look to see if nobody else has reported it.


I get the same and I am updated with the latest. so what did you do to fix this.
14-May-2006 19:27:29] PHP Warning: in_array(): Wrong datatype for second argument in /xxxx/xxxxx/xxxxxxx/xxxx/modules/IP_Tracking/index.php on line 456
 
View user's profile Send private message
Raven







PostPosted: Sun May 14, 2006 11:07 pm Reply with quote

dholt, That thread is from 2004.
 
dholt







PostPosted: Mon May 15, 2006 7:40 am Reply with quote

Raven wrote:
dholt, That thread is from 2004.


I'm Old so I like Old Laughing

Well I have this problem, the past has come and bit me in my ass.

I know I didn't need this mod of yours raven with Sentanal and all but I like your cool stuff IP_Tracking it gave me something for the front page
 
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 -> phpnuke 7.4

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 ©