Well, here is my fixed Application/admin/index.inc file. Solves the problem I was having. all the other files seem jacked up too for some reason.
http://wowroster.net/Forums/viewtopic/p ... html#20977
there was a problem saving the data to the database. Please check the syntax of your sql commandSELECT u.username, u.user_id FROM cms_bbgroups g, nuke_bbuser_group ug, nuke_users u WHERE ug.group_id = '4' AND g.group_id = ug.group_id AND ug.user_pending = '0' AND u.user_id = ug.user_id ORDER BY u.username
$sql = "SELECT u.username, u.user_id
FROM " . $prefix . "_bbgroups g, nuke_bbuser_group ug, nuke_users u
WHERE ug.group_id = '$grpID'
AND g.group_id = ug.group_id
AND ug.user_pending = '0'
AND u.user_id = ug.user_id
ORDER BY u.username";
$sql = "SELECT u.username, u.user_id
FROM " . $prefix . "_bbgroups g, " . $prefix . "_bbuser_group ug, " . $prefix . "_users u
WHERE ug.group_id = '$grpID'
AND g.group_id = ug.group_id
AND ug.user_pending = '0'
AND u.user_id = ug.user_id
ORDER BY u.username";
// Prevents some errors.
if (!defined('CPG_NUKE')) { exit; }
$blk_basename = 'block-Recruitment';
$blk_filename = basename(__FILE__);
$mod_basename = 'Recruitment_Settings';
$matches = array();
if (preg_match("/^{$blk_basename}(?:_(\d+))?\.php$/", $blk_filename, $matches)) {
$suffix = (empty($matches[1])) ? '' : "_{$matches[1]}";
$mod_dirname = $mod_basename.$suffix;
} else {
$content = 'ERROR';
return trigger_error("The block filename, <nobr>\"{$blk_filename}\"</nobr>, does not follow the expected instantation syntax of <nobr>\"{$blk_basename}[_<i><integer></i>].php\"</nobr>.", E_USER_WARNING);
}
// REQUIRED: $mod_dirname
// REQUIRED: $suffix
// *********************************************************************
if (empty($mod_dirname) || !file_exists(CORE_PATH."../modules/{$mod_dirname}")) {
$content = 'ERROR';
return trigger_error('The expected module directory'.((empty($mod_dirname)) ? '' : ", \"{$mod_dirname}\",").' does not exist.', E_USER_WARNING);
}
if (!is_active($mod_dirname)) {
$content = 'ERROR';
return trigger_error("The {$mod_dirname} module is inactive.", E_USER_WARNING);
}
// *** End of checking for Recruitment_Settings module.
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/httpd/vhosts/rage-and-mana.com/subdomains/wow/httpdocs/modules/Application/viewapp.php on line 151
Users browsing this forum: No registered users and 1 guest