Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
Psycho
Worker
Worker



Joined: May 27, 2006
Posts: 157

PostPosted: Fri Jun 30, 2006 12:33 pm Reply with quote

Just tried installing Xfire Module on my site and got this:

You have been blocked from entering this site.

You have attempted to bypass the Filter System on this site.

All of the following information has been gathered to assist the webmaster should this need to be reported to local or federal law enforcement.

If you think this is a mistake you can contact the site webmaster at psy(at)psy(dot)aihosting(dot)co(dot)uk.

User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; {0AE9B383-AEDE-E7AC-6CD9-00210DCD6629}; .NET CLR 1.1.4322)
Remote Address: 82.46.91.30
Client IP: none
Forwarded For: none
Date Blocked: 2006-06-30 @ 19:33:30 BST GMT +0100
Block expires: Unknown

My user is protected against being blocked.

What do i do?

Thanks.
 
View user's profile Send private message Send e-mail
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Fri Jun 30, 2006 1:39 pm Reply with quote

well the module probably uses some part of scripting that triggers gold old senti....
 
View user's profile Send private message
Psycho







PostPosted: Fri Jun 30, 2006 2:45 pm Reply with quote

well how can i make it not trigger good old senti?
 
hitwalker







PostPosted: Fri Jun 30, 2006 2:47 pm Reply with quote

you can try posting the code here...if possible..
 
Psycho







PostPosted: Fri Jun 30, 2006 5:48 pm Reply with quote

code? i downloaded the module and uploaded what it told me to. i then ran http://mydomain.com/xfire_installer.php and it came with a window saying "install xfire" so i clicked that and got the error listed above..
 
hitwalker







PostPosted: Fri Jun 30, 2006 5:56 pm Reply with quote

did you run this install as admin or member/user whatever?
 
Psycho







PostPosted: Fri Jun 30, 2006 5:57 pm Reply with quote

God admin
 
hitwalker







PostPosted: Fri Jun 30, 2006 5:59 pm Reply with quote

then the install script contains weird stuff that senti doesnt like...
where you downloaded that stuff?
 
Psycho







PostPosted: Sat Jul 01, 2006 2:55 am Reply with quote

lol cant remember, was from somewhere like phpnuke.org or phpnukefiles.net or somthing like that.
 
hitwalker







PostPosted: Sat Jul 01, 2006 5:32 am Reply with quote

well check the install file...,as you say thats when it blocks...
 
Psycho







PostPosted: Sat Jul 01, 2006 12:57 pm Reply with quote

the install file..

Code:
<?

include("config.php");
include("header.php");
$index=1;

OpenTable();
title("Install XFire");

$cmd = $_GET["cmd"];

if($_GET["cmd"]=="install")
{
$serverid = mysql_connect($dbhost, $dbuname, $dbpass) or die ("Cannot connect to database!");
if (!mysql_select_db($dbname)) {
    echo mysql_error($serverid);
}

$index=1;
$query1 = "CREATE TABLE `xfire` (
  `id` int(11) NOT NULL auto_increment,
  `Name` varchar(25) NOT NULL default '',
  `XFire` varchar(25) NOT NULL default '',
  UNIQUE KEY `id` (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1";
$sql1 = mysql_query($query1) or die('<center>Could not install: '.mysql_error());
echo "<center>XFire Table Created<b>[<font color=green>SUCCESS</font>]</b><br><br></center>";

$query2 = "INSERT INTO `xfire` VALUES ('', 'MP', 'dmemp')";
$sql2 = mysql_query($query2) or die('<center>Could not install: '.mysql_error());
echo "<center>XFire Values Entered<b>[<font color=green>SUCCESS</font>]</b><br><br></center>";

$query3 = "CREATE TABLE `xfirecfg` (
  `id` int(11) NOT NULL auto_increment,
  `Perpage` int(11) NOT NULL default '',
  `Style` varchar(10) NOT NULL default '',
  `Size` varchar(10) NOT NULL default '',
  `Sort` varchar(10) NOT NULL default '',
  UNIQUE KEY `id` (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1";
$sql3 = mysql_query($query3) or die('<center>Could not install: '.mysql_error());
echo "<center>XFire Config Table Created<b>[<font color=green>SUCCESS</font>]</b><br><br></center>";

$query4 = "INSERT INTO `xfirecfg` VALUES ('', '10', 'bg', '0', 'id')";
$sql4 = mysql_query($query4) or die('<center>Could not install: '.mysql_error());
echo "<center>XFire Config Values Entered<b>[<font color=green>SUCCESS</font>]</b><br><br><br><b><font color=red>DELETE this file now!!!</font></b></center>";
}else{
echo "<center><a href=install-xfire.php?cmd=install>Click Here to Install XFire</a></center>";
}

CloseTable();
include("footer.php");
?>
 
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sat Jul 01, 2006 1:08 pm Reply with quote

if I may, 2 things, why is it trying to connect to the database twice?(header.php contains a line to require mainfile.php)
and also
I dont think it likes the &_GET

you can install it by soing this from phpmyadmin:


CREATE TABLE `xfire` (
`id` int(11) NOT NULL auto_increment,
`Name` varchar(25) NOT NULL default '',
`XFire` varchar(25) NOT NULL default '',
UNIQUE KEY `id` (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1;

INSERT INTO `xfire` VALUES ('', 'MP', 'dmemp');

CREATE TABLE `xfirecfg` (
`id` int(11) NOT NULL auto_increment,
`Perpage` int(11) NOT NULL default '',
`Style` varchar(10) NOT NULL default '',
`Size` varchar(10) NOT NULL default '',
`Sort` varchar(10) NOT NULL default '',
UNIQUE KEY `id` (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1;

INSERT INTO `xfirecfg` VALUES ('', '10', 'bg', '0', 'id');

run that query from phpmyadmin.

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Psycho







PostPosted: Sat Jul 01, 2006 3:10 pm Reply with quote

cheers dude!
 
gregexp







PostPosted: Sat Jul 01, 2006 6:29 pm Reply with quote

did that work for you? Neutral
 
Psycho







PostPosted: Sun Jul 02, 2006 8:09 pm Reply with quote

i seem to have an xfire module on my site lol, with admin.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help

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 ©