Hallo ich hab da ein komisches Problem, seit einiger Zeit werden in der Tabell nuke_modules automatisch einträge gelöscht, so muss ich zZt jeden Tag die Module neu eintragen, jemand eine Idee woran das liegen kann ?
Die Seiten liegen auf dem tripod wepspace, aber daran kann es eigentlich nicht liegen oder ?
Gruss,
Elmondo
eigentlich kann das fast nicht sein. Zumindest isses nen seltsames Problem.
Wie lange bzw. wie oft hast Du das Problem schon?
Ich kann mir erst einmal als Fehler nur vorstellen, das ein Backup per Restore eingespielt worden ist seitens des Providers.
Du solltest mal "rumklicken" und schauen wann das passiert. Denn mit dieser allgemeine Aussage kann man nicht wirklich viel anfangen.
Wichtig ist der Ablauf Deiner "Klickerei". Denn es muss reproduzierbar sein der Fehler, damit man am Ende Schlußfolgerungen machen kann.
Ja gute Idee mit dem rumklicken! Ich habe gerade mal einfach alles modules.php dateien ersetzt. Hoffe dass dass nun hilft.
Checkt eine der dateien den /html/modules ordner und generiert daraus die DB einträge??
Wenn ich jetzt nicht ganz schief liege, dann wird das in der admin/modules/modules.php eingelesen.
Aber nagel mich darauf mal eben nicht fest, da ich derzeit etwas "verwirrt" bin wegen des neuen Systems. Da gibts das nämlich nicht mehr ;o)
Kann ja sein ein anderer hat noch ne Idee ;o)
Ach so, welches neues System nuke6, VKP-M ? Da ich die modules dateien aus dem VKP - M genommen habe und VKP 5.5 einsetze.
nein, deswegen //modules.php?op=modload&name=eBoard&file=viewthread&tid=4805
Und an sich tut es nix zur Sache.
Du solltest beides benutzen können.
Habe dieses leidige Problem nun immer noch.
- Hab die alten VKP 5.5. dateien wieder überschrieben.
- Nach Aufruf im admin bereich der modules datei, erscheinen einige (WICHTIGE) module von zeit zu zeit als inaktiv.
Frage:
Kann ich die einmal feritige tabelle "modules" schützen, so das keine veränderungen möglich sind ?
Danke für jede Hilfe, es ist wirklich zum heulen!!!
Gruss.
e.
Hi elmondo,
wirklich ein verrückter Fehler....
Verwendest Du einen der Blöcke "block-modules_????.php" ?
Falls Ja deaktiviere die mal. Diese Blöcke fuscheln auch automatisch in der modul-Tabelle herum.
Vergleiche evtl. mal die Gross-Kleinschreibung des Ordner "modules" mit dem entsprechenden Eintrag in diesen Blöcken.
Der Ordner modules muss KLEIN geschrieben sein.
ich hab den block MenuGerman aktiv, keinen modules block, allerdings sind 2 (block-Modules_one.php und block-Modules_two.php) im block ordner, aber nicht aktiv.. ich lösche diese einfach mal.
ansonsten ist der modules ordner klein geschrieben....
vielen dank schon einmal vielleicht hilft es ja!!
ansonsten weiss ich einfach nicht mehr weiter....
e.
Hi,
die Blöcke brauchst Du nicht zu löschen. Deaktivieren reicht.
Schalte auch mal den block-menu-german ab
Ja aber das geht doch nicht, dann haben meine user ja kein menü mehr, oder habe ich da was falsch verstanden ??? wenn du willst kann ich mal den source des blocks posten, vielleicht fällt dir ja daran etwas auf....
Hier der Source Code:
Zitat<?php //* VKP-Maxi, RC 1.0.0.3 - 26.07.2002 - ae
/************************************************************************/
/* VKP-Maxi, VKP-Midi, VKP-Mini */
/* ============================ */
/* rewrite and modified by: */
/* http://www.maax-design.de */
/* http://www.fsz-design.de */
/* http://micro.myftpsite.net */
/* http://www.shiba-design.de */
/************************************************************************/ /* Version 2.0 final */
/* http://www.kochloeffel.info */
/* Dropdownmenü entfernt und Mitglieder Bereich hinzu gefügt. */
/* Im Mitgliederbereich lassen sich beliebige Links anbringen. */
/* Links aus dem Your Account bereich werden im Menü für eingeloggte */
/* User angezeigt. */
/************************************************************************/
/************************************************************************/
/* Original from PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com) */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (eregi("block-Modules.php", $PHP_SELF)) {
Header("Location: index.php");
die();
}
include ("config.php");
global $prefix, $dbi, $user, $allowchangetheme, $admin;
//-------------MODIFY HERE TO CUSTOMIZE THE MENU------>
#$mouseOver = "#0070E0"; /* Sets mouseover color */
#$mouseOut = "#0070C0"; /* Sets mouseout color - leave blank for background*/
$image1 = "images/menu/arrowblack.gif"; /* image path relative to public root*/
$image2 = "images/menu/arrowgreen.gif"; /* image path relative to public root*/
$image3 = "images/menu/arrowyellow.gif"; /* image path relative to public root*/
$viewSearch = "0"; /* "0" = no search -- "1" = yes search */
$dropDown = "0"; /* "0" = dropdown style -- "1" = block style */
$row2show = "5"; /* "NUMBER YOU SELECT (default is 5)" = numbers of rows visible when block style */
define ("mSECTION1","Allgemein"); /* title Menu Section 1 */
define ("mSECTION2","Mitglieder"); /* title Menu Section 2 */
define ("mSECTION3","Community & Stuff"); /* title Menu Section 3 */
//--------END-----------END----------END------------>
$actionMenu = "onMouseOver=\"this.style.background='$mouseOver'\" onMouseOut=\"this.style.background='$mouseOut'\" style=\"cursor:pointer;cursor:hand\" onclick=\"window.location.href=";
$result = sql_query("select main_module from ".$prefix."_main", $dbi);
list($main_module) = sql_fetch_row($result, $dbi);
/* If the module doesn't exist, it will be removed from the database automaticaly */
$result = sql_query("select title from ".$prefix."_modules", $dbi);
while (list($title) = sql_fetch_row($result, $dbi)) {
$a = 0;
$handle=opendir('modules');
while ($file = readdir($handle)) {
if ($file == $title) {
$a = 1;
}
}
closedir($handle);
if ($a == 0) {
sql_query("delete from ".$prefix."_modules where title='$title'", $dbi);
}
}
/* Now we make the Modules block with the correspondent links */
/* Menu Section 1 */
#$content .= "<b>".mSECTION1."</b><BR>\n";
#$content .= "<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=\"100%\">\n";
$content .= "<TR $actionMenu'index.php'\"><img src=$image1 BORDER=0> <a href=\"index.php\">Start</a></TR>\n";
$content .= "<br>\n";
$content .= "<TR $actionMenu'modules.php?name=FAQ'\"><img src=$image1> <a href=\"modules.php?name=FAQ\">Hilfe!</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Feedback'\"><img src=$image1> <a href=\"modules.php?name=Feedback\">Feedback</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Guestbook'\"><img src=$image1> <a href=\"modules.php?name=Guestbook\">Gästebuch</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Recommend_Us'\"><img src=$image1> <a href=\"modules.php?name=Recommend_Us\">Weiter empfehlen</a></TR>\n";
#$content .= "<TR $actionMenu'freunde.php'\"><img src=$image1> <a href=\"freunde.php\">Freunde</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Impressum'\"><img src=$image1> <a href=\"modules.php?name=Impressum\">Impressum</a></TR>\n";
//$content .= "<TR $actionMenu'modules.php?name=Your_Account'\"><img src=$image1> <a href=\"modules.php?name=Your_Account\">Ihre Daten</a></TR>\n";
#$content .= "<TR $actionMenu'siteupd.php'\"><img src=$image1> <a href=\"siteupd.php\">Siteupdates</a></TR>\n";
$content .= "<br>\n";
$content .= "<TR $actionMenu'modules.php?name=Surveys'\"><img src=$image1> <a href=\"modules.php?name=Surveys\">Umfragen</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Content&pa=showpage&pid=2'\"><img src=$image1> <a href=\"modules.php?name=Content&pa=showpage&pid=2\">Comic des Tages</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Content&pa=showpage&pid=11'\"><img src=$image1> <a href=\"modules.php?name=Content&pa=showpage&pid=11\">T-Shirts</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Content&pa=showpage&pid=3'\"><img src=$image1> <a href=\"modules.php?name=Content&pa=showpage&pid=3\">DieterMorphing</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Web_Links'\"><img src=$image1> <a href=\"modules.php?name=Web_Links\">Links&Downloads</a></TR>\n";
$content .= "<br><br>\n";
//$content .= "<HR noShade SIZE=1>\n"; /* <hr> to separate menu */
// Menu Section 2
#$content .= "<br><b>".mSECTION2."</b><BR>\n";
#$content .= "<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=\"100%\">\n";
/*Bereich für Nicht - Mitglieder */
if (!is_user($user)) {
$content .= "<TR $actionMenu'modules.php?name=Your_Account'\"><img src=$image2> <a href=\"modules.php?name=Your_Account\">Login</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Your_Account&op=new_user'\"><img src=$image2> <a href=\"modules.php?name=Your_Account&op=new_user\"><b>Mach mit!</b></a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Your_Account&op=pass_lost'\"><img src=$image2> <a href=\"modules.php?name=Your_Account&op=pass_lost\">Passwort vergessen?</a></TR>\n";
} else {
/*Bereich für Mitglieder. Diese Links können nur Mitglieder sehen */
$content .= "<TR $actionMenu'modules.php?name=Your_Account&op=edituser'\"><img src=$image2> <a href=\"modules.php?name=Your_Account&op=edituser\">Deine Informationen</a></TR>\n";
#$content .= "<TR $actionMenu'modules.php?Your_Account&op=edithome'\"><img src=$image2> <a href=\"modules.php?name=Your_Account&op=edithome\">Startseite ändern</a></TR>\n";
#$content .= "<TR $actionMenu'modules.php?name=Your_Account&op=editcomm'\"><img src=$image2> <a href=\"modules.php?name=Your_Account&op=editcomm\">Kommentar Ansicht</a></TR>\n";
if ($allowchangetheme == 1 || is_admin($admin)){
$content .= "<TR $actionMenu'modules.php?name=Your_Account&op=chgtheme'\"><img src=$image2> <a href=\"modules.php?name=Your_Account&op=chgtheme\">Seitenansicht</a></TR>\n";
}
$content .= "<TR $actionMenu'modules.php?name=Members_List'\"><img src=$image2> <a href=\"modules.php?name=Members_List\">Mitgliederliste</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Members_Web_Mail&file=index'\"><img src=$image2> <a href=\"modules.php?name=Members_Web_Mail&file=index\">Email versenden</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Your_Account&op=logout'\"><img src=$image2> <a href=\"modules.php?name=Your_Account&op=logout\">Abmelden</a></TR>\n";
$content .= "<br>\n";
//$content .= "<HR noShade SIZE=1>\n"; /* <hr> to separate menu */
/* Menu Section 3 */
$content .= "<br><b>Mitgliederbereich</b><BR><br>\n";
#$content .= "<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=\"100%\">\n";
$content .= "<TR $actionMenu'modules.php?name=XForum'\"><img src=$image3> <a href=\"modules.php?name=XForum\">GalleForum</a></TR>\n";
#$content .= "<TR $actionMenu'modules.php?name=Impressum'\"><img src=$image3> <a href=\"modules.php?name=Impressum\">Impressum</a></TR>\n";
#$content .= "<TR $actionMenu'modules.php?name=Submit_News'\"><img src=$image3> <a href=\"modules.php?name=Submit_News\">Submit News</a></TR>\n";
#$content .= "<TR $actionMenu'modules.php?name=maaXStat2'\"><img src=$image3> <a href=\"modules.php?name=maaXStat2\">Statistiken</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=My_eGallery'\"><img src=$image3> <a href=\"modules.php?name=My_eGallery\">BilderGalerie</a></TR>\n";
#$content .= "<TR $actionMenu'modules.php?name=Members_List'\"><img src=$image3> <a href=\"modules.php?name=Members_List\">Memberlist</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Kalender'\"><img src=$image3> <a href=\"modules.php?name=Kalender\">Kalender</a></TR>\n";
#$content .= "<TR $actionMenu'modules.php?name=LinkMe'\"><img src=$image3> <a href=\"modules.php?name=LinkMe\">Link Me</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=WebChat'\"><img src=$image3> <a href=\"modules.php?name=WebChat\">WebChat</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Content&pa=showpage&pid=10'\"><img src=$image3> <a href=\"modules.php?name=Content&pa=showpage&pid=10\">GalleTippspiel</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Hot_Or_Not'\"><img src=$image3> <a href=\"modules.php?name=Hot_Or_Not\">ChartVoting</a></TR>\n";
$content .= "<TR $actionMenu'modules.php?name=Smsdb'\"><img src=$image3> <a href=\"modules.php?name=Smsdb\">SMS Datenbank</a></TR>\n";
#$content .= "</TABLE>\n";
$content .= "<CENTER><br><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0><TR>";
}
/* Search feature */
if ($viewSearch == 1){
$content .= "<center><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><form action=\"modules.php?name=Search\" method=\"post\">";
$content .= "<b>Suche</b><br><center><input type=\"text\" onfocus=\"value=''\" value=\"Seite durchsuchen\" name=\"query\" size=\"20\"></center>";
$content .= "</TR></form></TABLE></center>";
} else {
return;
}
$content .= "</SELECT></TR></FORM></TABLE></CENTER>";
$content .= "<script language=\"JavaScript1.2\" src=\"snow.js\">";
$content .= "</script>";
?>
Stimmt natürlich :(
kommentiere mal in dem Block folgende Zeile mit einem # davor aus:
sql_query("delete from ".$prefix."_modules where title='$title'", $dbi);