Seite 5 von 5
Verfasst: 27.10.2003 13:38
von Gast
hab ich selber gelösst bekommen hatte ja genug tage zeit.
Wenn einer auch das problem hat muss man in der modcp.php und in der posting.php
Diese zeilen weg machen:
// ADDED pt.quiz_answer, AND , p.post_id ASC WITH Quiz Hack.
und die ähnlichen!
Verfasst: 14.12.2003 17:37
von Gast
einige anweisungen in der installationsanleitung stimmen bei mir nicht überein. zum beispiel diese beiden hier:
Code: Alles auswählen
#
#-----[ FIND ]------------------------------------------
#
if ($mode == 'newtopic' || $mode == 'reply')
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( !isset($post_data['flood_control_off']) && ( $mode == 'newtopic' || $mode == 'reply' ) ) // ADDED ' !isset($post_data['flood_control_off']) && ( ' AND ')' BY Quiz Hack
bei mir sieht die zeile aber so aus:
Code: Alles auswählen
if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost')
das soll man tun:
Code: Alles auswählen
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$order_sql = ( !isset($post_id) ) ? '' : "GROUP BY p.post_id, t.topic_id, [...]
ich habe aber nur das hier:
Code: Alles auswählen
$order_sql = ( empty($post_id) ) ? '' : "GROUP BY p.post_id, t.topic_id, t.topic_title,.....
was muss ich tun?
Verfasst: 14.12.2003 18:47
von saerdnaer
beim ersten fall mach einfach folgendes
Code: Alles auswählen
#
#-----[ FIND ]------------------------------------------
#
if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost')
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( !isset($post_data['flood_control_off']) && ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost') ) // ADDED ' !isset($post_data['flood_control_off']) && ( ' AND ')' BY Quiz Hack
und beim 2. fall kanst du so tun als wäre der code so wie in der anleitung...
ah
Verfasst: 14.12.2003 19:24
von Gast
okay , danke!
wenn ich nun alles weiter so mache wie in der anleitung beschrieben, ist dann irgendwo eine erklärung dabei?
also ich meine welches forum zum quizforum wird, wo ich die fragen einstelle, wo ich einen fragenkatalog importiere, etc.?
Verfasst: 14.12.2003 19:35
von saerdnaer
kann man alles im adminbereich unter quiz machen aber sonst gibts eigendlich keine anleitung dazu...
ah
Verfasst: 14.12.2003 19:46
von Gast
habe nun alles gemacht...wenn ich die install datei ausführen will kommt das hier:
Could not get quiz config information
DEBUG MODE
SQL Error : 1146 Table 'usr_web15_2.phpbb_quiz_config' doesn't exist
SELECT config_name, config_value FROM phpbb_quiz_config WHERE config_name IN ('next_quiz','last_start_time','disable')
Line : 198
File : /html/forum/common.php
Verfasst: 14.12.2003 20:08
von Gast
mist...krieg immer das hier:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Verfasst: 14.12.2003 20:12
von saerdnaer
liegt daran das du nicht eingeloggt bist...
entferne einfach folgenden teil aus der install:
Code: Alles auswählen
if ( !$userdata['session_logged_in'] )
{
if ( function_exists('redirect') )
{
redirect(append_sid("login.$phpEx?redirect=" . basename(__FILE__), true));
}
else
{
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
header($header_location . './' . append_sid("login.$phpEx?redirect=" . basename(__FILE__), true));
exit;
}
}
else if ( $userdata['user_level'] != ADMIN )
{
message_die(GENERAL_MESSAGE, $lang['Not_admin']);
}
ah
Verfasst: 14.12.2003 20:18
von Gast
hab ich gemacht, nun kommt ein weisses fenster mit:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Verfasst: 14.12.2003 20:50
von Gast
okay, nun ging die installation. ich hab einfach ein wenig mit den chmods rumgespielt.