GelO
Posty: 28 Piwa: 1 /12 Skąd: Lublin
Wysłany: Sob 13 Sty, 2007 Problem- Spider Frendly
Adres forum: http://gelo.selfip.org/grzesio/forum
Witam!!! A mianowicie mam taki problem po zainstalowaniu SF ?e jak wchodz? do PA Wy?wietla mi taki b??d:
Kod 'YES', false => 'NO'); else if ($only_values_given) { for ($i = 0; $i < count($testval); $i++) { $testval[$testval[$i]] = $testval[$i]; unset($testval[$i]); } } $var = strtoupper($cfg_var) . '_'; foreach ($testval as $test => $return_value) { if ($sfc[$cfg_var] == $test) return $var . strtoupper($return_value); } return $var . strtoupper($testval[$defaults[$cfg_var]]); } function sf_microtime_float() { list($usec, $sec) = explode(' ', microtime()); return ((float)$usec + (float)$sec); } function make_sort_header($l_name, $l_val, $u_name, $u_base, $sortcol) { global $template, $sort, $sort_order; if ($sort != $sortcol) { $l_val .= ' ^'; } else if ($sort_order == 'ASC') { $sortcol = '!' . $sortcol; $l_val .= ' [^]'; } else { $l_val .= ' [v]'; } $template->assign_vars(array( $l_name => $l_val, $u_name => append_sid("$u_base&sort=$sortcol") )); } function sf_remove_logs($where_clause, $msg_lang_name, $redirect) { global $lang, $db, $phpEx; $where_clause = !empty($where_clause) ? "WHERE $where_clause" : ''; $sql = "DELETE FROM " . SPIDER_LOG_TABLE . " $where_clause"; if (!$db->sql_query($sql)) { message_die(GENERAL_ERROR, 'Failed to delete log information from table', '', __LINE__, __FILE__, $sql); } $message = $lang[$msg_lang_name] . '
' . sprintf($lang['Click_Return_Spiders'], '', '') . '
' . sprintf($lang['Click_return_admin_index'], '', ''); message_die(GENERAL_MESSAGE, $message); } function sf_log_count() { global $db; $sql = 'SELECT COUNT(*) AS count FROM ' . SPIDER_LOG_TABLE; if (!($result = $db->sql_query($sql))) { message_die(GENERAL_ERROR, 'Could not obtain log information', '', __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); return $row['count']; } function sf_parse_sort_info($sort, $sort_allow) { global $HTTP_GET_VARS; $sort = isset($HTTP_GET_VARS[$sort]) ? $HTTP_GET_VARS[$sort] : ''; if (substr($sort, 0, 1) != '!') { $ret['order'] = 'ASC'; } else { $sort = substr($sort, 1); $ret['order'] = 'DESC'; } if (!in_array($sort, $sort_allow)) $sort = $sort_allow[0]; $ret['sort_by'] = $sort; return $ret; } function sf_lang_time($seconds) { global $lang; if ($seconds < 60) { return sprintf($lang['time']['seconds'], $seconds); } else if ($seconds < 3600) { return sprintf($lang['time']['minutes'], floor($seconds / 60), ($seconds % 60)); } else { $hours = floor($seconds / 3600); $seconds = $seconds - ($hours*3600); return sprintf($lang['time']['hours'], $hours, floor($seconds / 60), ($seconds % 60)); } } function przemo_register_acp_menu($cat, $name, $file, $jr_admin_id, $after_cat = null) { global $modules_data; if (!is_null($after_cat)) { $new_data = array(); foreach ($modules_data as $mcat => $marray) { $new_data[$mcat] = $marray; if ($mcat == $after_cat) { $new_data[$cat][$name] = array($file, $jr_admin_id); } } $modules_data = $new_data; } else { $modules_data[$cat][$name] = array($file, $jr_admin_id); } } ?>
Fatal error: Call to undefined function: przemo_register_acp_menu() in /var/www/gelo/grzesio/forum/admin/modules_data.php on line 123
Poniewarz jestem ziemony wiec prosze o pomoc
Wszystko na forum chodzi ok tylko to jest nie tak
Mo?e jeszcze to sie przyda:
Kod http://gelo.selfip.org/grzesio/forum/admin/index.php?sid=d56dd8a54811e1eac6bb45427460805b
To jest link jak wchodze do PA...
Pozdro i jak bedzie pomoc od razu m?wie ?e piwko poleci
_________________Powieksz mi ...