Author |
Message |
Submit2s
New Member


Joined: Nov 02, 2004
Posts: 5
|
Posted:
Tue Nov 02, 2004 7:26 am |
|
Does anyone know how to fix this? How did your site get yours to work?
I have php Nuke 7.3 with Sentinel.
I finally managed to get the donat-o-meter installed, but went to test and received the following error.
I do not get the error when I disable the donat-o-meter block only when the block is enable? Any suggestion on what to fix in jag online for this to work?
 |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Nov 02, 2004 9:14 am |
|
|
|
 |
Submit2s

|
Posted:
Tue Nov 02, 2004 10:39 am |
|
Do I start from the <php? as line one?
or the beginning of the script? here is the jag on line online script. Also i get a different error when I click on jag online configure properties, same error but different line number
I started from the beginning of the script as line one, if that is incorrect let me know.
if (eregi("block-JAG_Online.php", $_SERVER['PHP_SELF']))
{
header("Location: index.php");
die();
}
function table_check($table, $dbname)
{
global $dbname;
$tables = mysql_list_tables($dbname);
while (list($temp) = mysql_fetch_array($tables))
{
if($temp == $table)
return TRUE;
}
return FALSE;
}
function IPLookup($dotted_ip_address)
{
global $prefix, $db;
if (table_check("".$prefix."_jag_online_iplookup", $dbname))
{
$Q00 = "SELECT country
FROM ".$prefix."_jag_online_iplookup
WHERE inet_aton('$dotted_ip_address') >= ip_from AND inet_aton('$dotted_ip_address') <= ip_to";
$R00 = $db -> sql_query($Q00) or die("Bad Q00:".mysql_error());
list($found_country) = sql_fetch_row($R00);
$country = ucwords(strtolower($country));
$country = eregi_replace(" ", "_", $found_country);
}
return "$country";
} |
|
|
|
 |
Submit2s

|
Posted:
Tue Nov 02, 2004 10:55 am |
|
This is the first error
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/hijack/public_html/includes/JAG_Online_Online.php on line 30
This the second error from the jag online control panel
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/hijack/public_html/admin/modules/JAG_Online.php on line 220
And this is only when the donat-o-meter is enable from the blockmodule, when I disable the error message goes away?
Any Idea? |
|
|
|
 |
Raven

|
Posted:
Tue Nov 02, 2004 10:59 am |
|
That sure looks like you have a jag table error. Are you sure that the tables are installed correctly? If so, you may have a variable naming clash between the 2 applications. |
|
|
|
 |
Submit2s

|
Posted:
Tue Nov 02, 2004 11:11 am |
|
you guys didn't have this problem when you installed yours? I followed the the online procedure for jags, what would you suggest? I really like the donate function and like to try it, we offer help to resolve spyware issue and people ask how can they repay us often? |
|
|
|
 |
Submit2s

|
Posted:
Tue Nov 02, 2004 12:23 pm |
|
Quote"Are you sure that the tables are installed correctly?"
I ran the installation of jag again, and everything works now.
Thanks. |
|
|
|
 |
Raven

|
Posted:
Tue Nov 02, 2004 12:48 pm |
|
|
|
 |
KiLZo
New Member


Joined: Sep 03, 2003
Posts: 2
|
Posted:
Sat Jan 15, 2005 1:51 pm |
|
Does anyone know where i can download this block i been searching and cant find this thing nowhere!
thanks
in advance kilz. |
|
|
|
 |
Raven

|
Posted:
Sat Jan 15, 2005 2:26 pm |
|
|
|
 |
KiLZo

|
Posted:
Sat Jan 15, 2005 3:15 pm |
|
Thanks Raven Downloading now |
|
|
|
 |
Raven

|
Posted:
Sat Jan 15, 2005 3:30 pm |
|
|
|
 |
|