easy mod installation..bitte helft mir..
Verfasst: 08.04.2005 18:30
hallo,ich habe beim installieren des junior admin mods dieses problem:
easymod schreibt irgendwas von abc und so,aber was der fehler ist steht nirgends..danke im voraus
Installation Failed
EasyMOD encountered the following error(s). A general error could be ABC. A critical error means D and you should do XYZ.
MOD Data
MOD Title: Junior Admin 2.0.3 install.txt
Author: Nivisec support@nivisec.com
Processed Themes: subSilver; Chronicles; Solaris
Processed Languages: english; german
Files Edited: 7
Commands Processed: 21
Unprocessed Commands: 0
The following commands were not recognized by EasyMOD and were ignored. The MOD script line number is displayed.
Unprocessed Commands
EasyMOD successfully processed the following commands:
Commands Processed
OPEN line #37
includes/constants.php
FIND line #42
define('GROUPS_TABLE', $table_prefix.'groups');
AFTERADD line #47
define('JR_ADMIN_TABLE', $table_prefix.'jr_admin_users');
OPEN line #52
includes/page_tail.php
FIND line #57
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
REPLACE line #62
include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);
$admin_link = jr_admin_make_admin_link();
OPEN line #68
admin/pagestart.php
FIND line #73
//
// End session management
//
AFTERADD line #80
include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);
find_lang_file_nivisec('lang_jr_admin');
FIND line #86
else if ($userdata['user_level'] != ADMIN)
{
message_die(GENERAL_MESSAGE, $lang['Not_admin']);
}
REPLACE line #94
elseif (!jr_admin_secure(basename($HTTP_SERVER_VARS['REQUEST_URI'])))
{
message_die(GENERAL_ERROR, $lang['Error_Module_ID'], '', __LINE__, __FILE__);
}
OPEN line #102
admin/index.php
FIND line #107
$dir = @opendir(".");
$setmodules = 1;
while( $file = @readdir($dir) )
{
if( preg_match("/^admin_.*?\." . $phpEx . "$/", $file) )
{
include($file);
}
}
@closedir($dir);
unset($setmodules);
REPLACE line #125
$jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);
$module = jr_admin_get_module_list($jr_admin_userdata['user_jr_admin']);
FIND line #131
ksort($module);
while( list($cat, $action_array) = each($module) )
{
$cat = ( !empty($lang[$cat]) ) ? $lang[$cat] : preg_replace("/_/", " ", $cat);
$template->assign_block_vars("catrow", array(
"ADMIN_CATEGORY" => $cat)
);
ksort($action_array);
$row_count = 0;
while( list($action, $file)= each($action_array) )
{
$row_color = ( !($row_count%2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($row_count%2) ) ? $theme['td_class1'] : $theme['td_class2'];
$action = ( !empty($lang[$action]) ) ? $lang[$action] : preg_replace("/_/", " ", $action);
$template->assign_block_vars("catrow.modulerow", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"ADMIN_MODULE" => $action,
"U_ADMIN_MODULE" => append_sid($file))
);
$row_count++;
}
}
REPLACE line #165
jr_admin_make_left_pane();
FIND line #170
else
{
$template->assign_vars(array(
"L_NO_GUESTS_BROWSING" => $lang['No_users_browsing'])
);
}
AFTERADD line #180
jr_admin_make_info_box();
OPEN line #185
templates/subSilver/admin/index_body.tpl
FIND line #190
<!-- END guest_user_row -->
</table>
AFTERADD line #196
{JR_ADMIN_INFO_TABLE}
easymod schreibt irgendwas von abc und so,aber was der fehler ist steht nirgends..danke im voraus
Installation Failed
EasyMOD encountered the following error(s). A general error could be ABC. A critical error means D and you should do XYZ.
MOD Data
MOD Title: Junior Admin 2.0.3 install.txt
Author: Nivisec support@nivisec.com
Processed Themes: subSilver; Chronicles; Solaris
Processed Languages: english; german
Files Edited: 7
Commands Processed: 21
Unprocessed Commands: 0
The following commands were not recognized by EasyMOD and were ignored. The MOD script line number is displayed.
Unprocessed Commands
EasyMOD successfully processed the following commands:
Commands Processed
OPEN line #37
includes/constants.php
FIND line #42
define('GROUPS_TABLE', $table_prefix.'groups');
AFTERADD line #47
define('JR_ADMIN_TABLE', $table_prefix.'jr_admin_users');
OPEN line #52
includes/page_tail.php
FIND line #57
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
REPLACE line #62
include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);
$admin_link = jr_admin_make_admin_link();
OPEN line #68
admin/pagestart.php
FIND line #73
//
// End session management
//
AFTERADD line #80
include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);
find_lang_file_nivisec('lang_jr_admin');
FIND line #86
else if ($userdata['user_level'] != ADMIN)
{
message_die(GENERAL_MESSAGE, $lang['Not_admin']);
}
REPLACE line #94
elseif (!jr_admin_secure(basename($HTTP_SERVER_VARS['REQUEST_URI'])))
{
message_die(GENERAL_ERROR, $lang['Error_Module_ID'], '', __LINE__, __FILE__);
}
OPEN line #102
admin/index.php
FIND line #107
$dir = @opendir(".");
$setmodules = 1;
while( $file = @readdir($dir) )
{
if( preg_match("/^admin_.*?\." . $phpEx . "$/", $file) )
{
include($file);
}
}
@closedir($dir);
unset($setmodules);
REPLACE line #125
$jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);
$module = jr_admin_get_module_list($jr_admin_userdata['user_jr_admin']);
FIND line #131
ksort($module);
while( list($cat, $action_array) = each($module) )
{
$cat = ( !empty($lang[$cat]) ) ? $lang[$cat] : preg_replace("/_/", " ", $cat);
$template->assign_block_vars("catrow", array(
"ADMIN_CATEGORY" => $cat)
);
ksort($action_array);
$row_count = 0;
while( list($action, $file)= each($action_array) )
{
$row_color = ( !($row_count%2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($row_count%2) ) ? $theme['td_class1'] : $theme['td_class2'];
$action = ( !empty($lang[$action]) ) ? $lang[$action] : preg_replace("/_/", " ", $action);
$template->assign_block_vars("catrow.modulerow", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"ADMIN_MODULE" => $action,
"U_ADMIN_MODULE" => append_sid($file))
);
$row_count++;
}
}
REPLACE line #165
jr_admin_make_left_pane();
FIND line #170
else
{
$template->assign_vars(array(
"L_NO_GUESTS_BROWSING" => $lang['No_users_browsing'])
);
}
AFTERADD line #180
jr_admin_make_info_box();
OPEN line #185
templates/subSilver/admin/index_body.tpl
FIND line #190
<!-- END guest_user_row -->
</table>
AFTERADD line #196
{JR_ADMIN_INFO_TABLE}