Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
Muffin
Client



Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Wed Jan 12, 2005 2:43 pm Reply with quote

PHPNuke v7.0

Not sure if this is the right place for this, but 2 of my users are suddenly having problems using the forums.

They always read the forum via the 'view new posts since last visit' link and for the last few days when they click on one of the new posts since last visit that come up in the search they are taken to a blank white page with 'illegal content' on it and nothing else.

Now the only thing I have changed recently on the site is the usual update of Sentinel (not saying it's Sentinel just saying what I've installed or updated recently) and a secure scrolling forums block. The one that is mentioned on this site that allows smilies to be shown.

The only thing I altered on the block before uploading it was to remove the lines that called for the smilies as I didnt want them showing in the block.

There are no problems with the forum other than this one with the 'new posts since last visit'.

I checked it out myself, and clicked on the link and got the same white page with illegal content on it. So it must be happening for everyone who uses that link.

I deactivated the block to see if it made any difference and it didnt, still got illegal content.

So I'm assuming it's not the block causing the problem.

Here's the block I'm using:

Quote:
Forums Block for phpBB 2.0.0 port to PHP Nuke 6.5b6+
Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)
Version 1, modified by Sébastien Vaast
http://membres.lycos.fr/projectpluto
Updated by Tom Nitzschner 22/06/2002 to add the scrolling text
Updated by Paul Laudanski 14 Jan 2003
Last Edited - 13 Jan 2004 by James A. Decker
From www.the-echelon.net klar@the-echelon.ne


Downloaded from NukeCops


Now as you know I'm also getting problems in my Admin Panel. Not all new blocks show in the drop down list when I make a new block, some do some dont, and I can't change anything in the site preferences I get 'html tags not allowed' come up.

So I'm wondering are these things all connected or just coincidence?

It's all going pear shaped now and I think it's beyond my technical ability to see what's causing the problems, or even if they are connected in anyway.

Could someone advise me please?

_________________
Classic Mini rules the bends & bends the rules!
[img] 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Jan 12, 2005 4:04 pm Reply with quote

Try commenting this block of code out of includes/sentinel.php
Code:
// Stop Santy Worm

$bad_uri_content="rush,highlight,perl,chr(,pillar,visualcoder,sess_";
global $REQUEST_URI;
$tmp=explode(",",$bad_uri_content);
while(list($id,$uri_content)=each($tmp)) {
   if (strpos($REQUEST_URI,$uri_content)) {
      die("Illegal Content");
   }
}
 
View user's profile Send private message
Muffin







PostPosted: Wed Jan 12, 2005 5:06 pm Reply with quote

Thanks Raven I'll go try that now and report back
 
Muffin







PostPosted: Wed Jan 12, 2005 5:14 pm Reply with quote

Did the trick the search new posts links work ok again now

Thanks Raven you're a star

didnt solve the problem of not being able to change any preferences in Admin Panel for Site themes or some other stuff tho.

I'll upgrade with Chat's latest patches tonight and see if that puts those errors right tho
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

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 ©