hab ein neues Problem |
kaiwahn
Mitglied
Dabei seit: 03.10.08
Beiträge: 16
Fähigkeiten: WBB2 Anfänger Forenversion: 2.1
|
|
tja verstehe wer mag ich bin am Ende, hatte gestern das Portal am laufen aber dafür das Forum nicht, ok hab alles gelöscht und neu aufgespielt jetzt funktioniert das Forum aber das Portal nicht habe alle Änderungen durchgeführt und wollte noch die acp/lib/class_variableimport.php die zweite variable ändern ist aber nicht mehr vorhanden und bekomme diese Fehlermeldung, bitte bitte helft mir
dank im voraus
kai
Problembeschreibung
ortal lässt sich nicht installieren
Fehlermeldung
atabase error in WoltLab Burning Board (): Invalid SQL: INSERT INTO bb1_acpmenuitems (itemgroupid,languageitem,link,linkformat,condition,conditiontype,showorder
,acpmode) VALUES ('18', 'PORTALCONTENT_ADD', 'pcp_content.php?action=add', '', 'p_can_content_add', 'OR', '1', '2'),('18', 'PORTALCONTENT_EDIT', 'pcp_content.php?action=view', '', 'p_can_content_edit;p_can_content_edit2', 'OR', '2', '1'),('18', 'PORTALCONTENT_IMPORT_EXPORT', 'pcp_content.php?action=import_export', '%s', 'p_can_content_import_export', 'OR', '3', '1'),('19', 'PORTALLAYOUT_ADD', 'pcp_layout.php?action=add', '', 'p_can_layout_add', 'OR', '1', '2'),('19', 'PORTALLAYOUT_EDIT', 'pcp_layout.php?action=view', '%s', 'p_can_layout_edit', 'OR', '2', '1'),('20', 'PORTALMODULE_ADD', 'pcp_module.php?action=add', '', 'p_can_module_add', 'OR', '1', '2'),('20', 'PORTALMODULE_EDIT', 'pcp_module.php?action=view', '%s', 'p_can_module_edit', 'OR', '2', '1'),('21', 'PORTALNAVIGATION_ADD', 'pcp_navigation.php?action=add', '', 'p_can_navigation_add', 'OR', '1', '2'),('21', 'PORTALNAVIGATION_EDIT', 'pcp_navigation.php?action=view', '%s', 'p_can_navigation_edit', 'OR', '2', '1'),('22', 'PORTALNEWSCAT_ADD', 'pcp_newscat.php?action=add', '', 'p_can_newscat_add', 'OR', '1', '2'),('22', 'PORTALNEWSCAT_EDIT', 'pcp_newscat.php?action=view', '', 'p_can_newscat_edit', 'OR', '2', '2'),('23', 'PORTALTIP_ADD', 'pcp_tip.php?action=add', '', 'p_can_tip_add', 'OR', '1', '2'),('23', 'PORTALTIP_EDIT', 'pcp_tip.php?action=view', '%s', 'p_can_tip_edit', 'OR', '2', '1'),('24', 'PORTALANNOUNCE_ADD', 'pcp_announce.php?action=add', '', 'p_can_announce_add', 'OR', '1', '2'),('24', 'PORTALANNOUNCE_EDIT', 'pcp_announce.php?action=view', '%s', 'p_can_announce_edit', 'OR', '2', '1')
mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition,conditiontype,showorder,acpmode) VALUES ('18', 'PORTALCONTENT_ADD', 'p' at line 1
mysql error number: 1064
Link zum Forum oder Screenshot:
Was wurde zuletzt geändert oder eingebaut?
|
|
04.10.08 14:39 |
E-Mail
Finden
Als Freund hinzufügen
|
|
Agi
TEAM - PHP Freak
Dabei seit: 22.11.04
Beiträge: 2.628
Fähigkeiten: WBB3 Profi Forenversion: 3.1
|
|
Mache Folgendes:
Datei Datei acp/lib/class_variableimport.php öffnen und nach Folgendem Suchen:
php: |
1:
|
$db->query("INSERT INTO bb".$n."_acpmenuitemgroups (title,condition,conditiontype,showorder,acpmode) VALUES ('".addslashes($itemgroup['name'])."','".addslashes($itemgroup['condition'])."','".addslashes($itemgroup['conditiontype'])."','".$showorder."','".intval($itemgroup['acpmode'])."')"); |
|
Ersetze gegen:
php: |
1:
|
$db->query("INSERT INTO bb".$n."_acpmenuitemgroups (title,`condition`,conditiontype,showorder,acpmode) VALUES ('".addslashes($itemgroup['name'])."','".addslashes($itemgroup['condition'])."','".addslashes($itemgroup['conditiontype'])."','".$showorder."','".intval($itemgroup['acpmode'])."')"); |
|
Suche weiter nach:
php: |
1:
|
$db->unbuffered_query("INSERT INTO bb".$n."_acpmenuitems (itemgroupid,languageitem,link,linkformat,condition,conditiontype,showorder,acpmode) VALUES |
|
Und ersetze gegen:
php: |
1:
|
$db->unbuffered_query("INSERT INTO bb".$n."_acpmenuitems (itemgroupid, languageitem, link, linkformat, `condition`, conditiontype, showorder, acpmode) VALUES |
|
Jetzt das Setup nochmals ausführen bzw. den Variablenimport, nun sollts diesen Fehler nicht mehr geben. Eventuell bestehende Datenbanktabellen, die durch das Setup schon angelegt wurden, vorher löschen, damits keine anderen Fehlermeldungen gibt, weil die schon existieren.
__________________
|
|
04.10.08 16:28 |
Finden
Als Freund hinzufügen
|
|
|