Fehler im ACP |
FWL
Mitglied
Dabei seit: 27.06.06
Beiträge: 4
|
|
Problembeschreibung:
Joa wenn ich de Gruppen die erlaubnis erteilen will das sieh den Kalender sehen können und so kommt die fehlermeldung nach dem ich gespeichert habe
Fehlermeldung:
SQL-DATABASE ERROR
Database error in WoltLab Burning Board: Invalid SQL: UPDATE bb1_groups SET title='Administratoren',canviewboard='1',canviewoffboard='1',canusesearch='
1',canusepms='1',canstarttopic='1',canreplyowntopic='1',canreplytopic='1',c
anpostwithoutmoderation='',caneditownpost='1',candelownpost='1',cancloseown
topic='1',candelowntopic='1',caneditowntopic='1',canpostpoll='1',canvotepol
l='1',canuseavatar='1',canuploadavatar='1',canratethread='1',appendeditnote
='0',avoidfc='1',ismod='1',issupermod='1',canuseacp='1',maxpostimage='-1',m
axsigimage='-1',maxsiglength='65535',allowedavatarextensions='gif jpg jpeg',maxavatarwidth='150',maxavatarheight='150',maxavatarsize='999999',max
usertextlength='9999', canviewprofile='1', canviewcalender='1', canprivateevent='1', canpublicevent='1', canrateusers='', canviewmblist='1', chgpermission='Array', canseepublic='1', canrelcalthread='1', chgpermission='Array', canseepublic='1', canrelcalthread='1', canseesbox='1', canusesbox='1', canview_wwhd='1' WHERE groupid='1'
mysql error: Unknown column 'chgpermission' in 'field list'
mysql error number: 1054
Date: 27.09.2006 @ 15:25
Script: /wbblite/acp/group.php
Referer: [http://www.fwl.rshost.de/wbblite/acp/group.php?action=edit&groupid=1&sid=
Link zum Forum oder Screenshot:
http://www.fwl.rshost.de/wbblite/index.php?sid=
Was wurde zuletzt geändert oder eingebaut?
Kalender addon
________________
Diese Fehlermeldung kommt noch wenn ich die Kategorien den Kalenders bearbeiten will
SQL-DATABASE ERROR
Database error in WoltLab Burning Board: Invalid SQL: SELECT * FROM bb1_cal_cats ORDER BY catid
mysql error: Table 'usr_web470_1.bb1_cal_cats' doesn't exist
mysql error number: 1146
Date: 27.09.2006 @ 15:29
Script: /wbblite/acp/cal_options.php?action=calcol_view&sid=
Referer: http://www.fwl.rshost.de/wbblite/acp/misc.php?action=menue&sid=
Bitte helft mir
Dieser Beitrag wurde 3 mal editiert, zum letzten Mal von FWL: 27.09.06 15:32.
|
|
27.09.06 15:30 |
E-Mail
Finden
Als Freund hinzufügen
|
|
FWL
Mitglied
Dabei seit: 27.06.06
Beiträge: 4
Themenstarter
|
|
Das kam beim Install
php: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
|
query("SELECT * FROM $tabelle"); $found=false; $j=0; while ($j < mysql_num_fields($res)) { if (mysql_field_name($res,$j)==$spalte) return true; $j++; } return $found; } function column_add($spalte,$tabelle, $eigenschaften){ global $db,$n; if (column_search($spalte,$tabelle)) echo $tabelle.".".$spalte. " existiert bereits
"; else { $db->query("ALTER TABLE $tabelle ADD $spalte $eigenschaften "); echo $tabelle.".".$spalte. " wurde erstellt.
"; } } function column_del($spalte,$tabelle){ global $db, $n; if (column_search($spalte,$tabelle)){ $db->query("ALTER TABLE $tabelle DROP $spalte"); echo $tabelle.".".$spalte. " wurde gelöscht.
"; } else echo $tabelle.".".$spalte. " hat nicht existiert.
"; } function column_ren($spalte,$spalte2,$tabelle,$type){ global $db, $n; if (column_search($spalte,$tabelle)){ if(column_search($spalte2,$tabelle)) echo "Die Spalte $spalte2 existiert bereits"; else { $db->query("ALTER TABLE $tabelle CHANGE $spalte $spalte2 $type"); echo $tabelle.".".$spalte. " wurde in ".$spalte2." umbenannt.
"; } } else{ echo $tabelle.".".$spalte. " wurde nicht gefunden.
Gegenmaßnahme:
"; column_add($spalte2,$tabelle,$type); } } function groupadd($title){ global $db,$n; $result=$db->query("SELECT optiongroupid FROM bb".$n."_optiongroups WHERE title='".$title."'"); if ($db->num_rows($result)>0){ $optiongroupid=$db->fetch_array($result); $optiongroupid=$optiongroupid[optiongroupid]; $db->query("UPDATE bb".$n."_optiongroups SET title='$title' WHERE optiongroupid=$optiongroupid"); echo "Optionsgruppe $title erfolgreich aktualisiert.
"; } else { $db->query("INSERT INTO bb".$n."_optiongroups (title) VALUES ('$title')"); $optiongroupid=$db->insert_id(); echo "Optionsgruppe $title erfolgreich hinzugefügt.
"; } $db->query("UPDATE bb".$n."_optiongroups SET showorder='$optiongroupid' WHERE optiongroupid='$optiongroupid'"); return ($optiongroupid); } function optionadd($optiongroupid,$varname,$value,$title,$description,$optioncode,$showorder){ global $db,$n; $result=$db->query("SELECT optionid FROM bb".$n."_options WHERE varname='".$varname."'"); if ($db->num_rows($result)>0){ $optionid=$db->fetch_array($result); $optionid=$optionid['optionid']; $db->query("UPDATE bb".$n."_options SET optiongroupid='$optiongroupid',varname='$varname',value='$value',title='$title',description='$description',optioncode='$optioncode',showorder='$showorder' WHERE optionid='".$optionid."'"); echo "Option $title erfolgreich aktualisiert.
"; } else { $db->query("INSERT INTO bb".$n."_options (optiongroupid,varname,value,title,description,optioncode,showorder) VALUES ('$optiongroupid','$varname','$value','$title','$description','$optioncode','$showorder')"); echo "Option $title erfolgreich hinzugefügt.
"; } } function optionwrite(){ require ("./lib/class_options.php"); $option=new options("lib"); $option->write(); } #Includes require("./lib/config.inc.php"); require("./lib/class_db_mysql.php"); #Auswahlmöglichkeiten $description['full']="Installation der Vollversion"; $description['update17']="Update von SE 1.7"; $description['update20']="Update von SE 2.0"; $description['update24']="Update von SE 2.4"; #Variablenzuordnung $step= intval($_GET['step']); $db = new db($sqlhost,$sqluser,$sqlpassword,$sqldb,$phpversion); $var1="Kalender SE Hack"; $version="3.0"; $filename="cal_install.php"; $fontcolor="#273943"; $back1="a6a39b"; $back1="745d30"; $back1= dechex(round(rand(1773058,12636900),0)); $back1="5f5d5a"; $back2="#".dechex(hexdec($back1)+hexdec("#2C1F13")); $back3="#".dechex(hexdec($back1)+hexdec("#18110A")); $back4="#".dechex(hexdec($back1)+hexdec("#1B0E02")); $divcolor="#".dechex(hexdec($back1)-hexdec("#bA6615")); $tablecolor="#".dechex(hexdec($back1)+hexdec("#3f2d1b")); $header=" |
|
|
|
28.09.06 17:44 |
E-Mail
Finden
Als Freund hinzufügen
|
|
|