Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Treasury
Author Message
Submit2s
New Member
New Member



Joined: Nov 02, 2004
Posts: 5

PostPosted: Tue Nov 02, 2004 7:26 am Reply with quote

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?

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



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Nov 02, 2004 9:14 am Reply with quote

Please post line 30
 
View user's profile Send private message
Submit2s







PostPosted: Tue Nov 02, 2004 10:39 am Reply with quote

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







PostPosted: Tue Nov 02, 2004 10:55 am Reply with quote

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

Image


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







PostPosted: Tue Nov 02, 2004 10:59 am Reply with quote

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







PostPosted: Tue Nov 02, 2004 11:11 am Reply with quote

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







PostPosted: Tue Nov 02, 2004 12:23 pm Reply with quote

Quote"Are you sure that the tables are installed correctly?"

I ran the installation of jag again, and everything works now.

Thanks.
 
Raven







PostPosted: Tue Nov 02, 2004 12:48 pm Reply with quote

RavensScripts
 
KiLZo
New Member
New Member



Joined: Sep 03, 2003
Posts: 2

PostPosted: Sat Jan 15, 2005 1:51 pm Reply with quote

Does anyone know where i can download this block i been searching and cant find this thing nowhere!

thanks
in advance kilz.
 
View user's profile Send private message
Raven







PostPosted: Sat Jan 15, 2005 2:26 pm Reply with quote

http://phpnuke-uk.net/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=191&title=JAG%20Online
 
KiLZo







PostPosted: Sat Jan 15, 2005 3:15 pm Reply with quote

Thanks Raven Downloading now
 
Raven







PostPosted: Sat Jan 15, 2005 3:30 pm Reply with quote

RavensScripts
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Nuke Treasury

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 ©