frankenberrie
10-26-2004, 10:00 PM
This is a fix for those with V3Arcade & the Category mod installed
Files in modify: Arcade.php - Should take no longer than 30 seconds
Description:
If your members do a game search and leave the search field blank, most likely they will see this:
mysql_result(): Unable to jump to row 0 on MySQL result index 29 in /arcade.php on line 341
To repair this do the following - OPEN ARCADE.PHP
FIND:
// ######################### CATEGORY MOD BEGIN ###########################
if (empty($_REQUEST['search']))
{
// Checks to see if GET variables are valid
globalize($_GET, array('categoryid'=>INT, 'do'=>STR_NOHTML));
$categoryid = $_GET['categoryid'];
Directly Under Add:
if ($categoryid==0) {
$categoryid = "1";
}
Change the 1 in $categoryid = "1"; to the default category you want to open when the seach field is left blank.
Thats it! Hope this helped.
Files in modify: Arcade.php - Should take no longer than 30 seconds
Description:
If your members do a game search and leave the search field blank, most likely they will see this:
mysql_result(): Unable to jump to row 0 on MySQL result index 29 in /arcade.php on line 341
To repair this do the following - OPEN ARCADE.PHP
FIND:
// ######################### CATEGORY MOD BEGIN ###########################
if (empty($_REQUEST['search']))
{
// Checks to see if GET variables are valid
globalize($_GET, array('categoryid'=>INT, 'do'=>STR_NOHTML));
$categoryid = $_GET['categoryid'];
Directly Under Add:
if ($categoryid==0) {
$categoryid = "1";
}
Change the 1 in $categoryid = "1"; to the default category you want to open when the seach field is left blank.
Thats it! Hope this helped.