Hall of Famer |
09-13-2011 01:34 AM |
Well since you cannot create new adoptables, I am thinking about this way of debugging. Find this line in nadopt.php:
PHP Code:
runquery("INSERT INTO {$prefix}adoptables VALUES ('', '{$name}', '{$class}' ,'{$description}','{$eggimage}','{$cba}','{$promocode}', '{$freqcond}', '{$number}','{$datecond}','{$date}','{$adoptscond}','{$maxnumcond}','{$morethannum}','{$usergroupcond}','{$usergroups}','{$alternates}','{$altoutlevel}','{$altchance}', '{$cost}', '{$genderratio}')");
Replace with:
PHP Code:
$query = "INSERT INTO {$prefix}adoptables VALUES ('', '{$name}', '{$class}' ,'{$description}','{$eggimage}','{$cba}','{$promocode}', '{$freqcond}', '{$number}','{$datecond}','{$date}','{$adoptscond}','{$maxnumcond}','{$morethannum}','{$usergroupcond}','{$usergroups}','{$alternates}','{$altoutlevel}','{$altchance}', '{$cost}', '{$genderratio}')"; mysql_query($query) or die(mysql_error());
See what error message you get after this... Also it would be nice if you can tell me what other Mods you are using at the same time.
|