Forum Index All Posts (Herby) |
Re: Kann JETZT Kategorie erstellen
|
||||
---|---|---|---|---|
Power-Dreams Anfänger
|
Hab grad noch was von "Megaeinstellung" gesagt und schon das richtige gefunden:
Meine mySqlVersion (mySql 5.0.45-community-nt) hat den SQL-Mode "STRICT_TRANS_TABLES" automatisch (default) aktiviert und der sorgt dafür, "dass MySQL die ihm übergebenen Daten sorgfältig überprüft und bei Fehlern die weitere Verarbeitung des ihm übergebenen Aufrufes abbricht. Ein Fehler könnte z.B. sein, wenn versucht wird einen String in ein als integer deklariertes Feld zu speichern. Ohne Strict-Mode wandelt MySQL den String in eine "0" um und speichert diesen Wert ab. Im Strict-Mode hingegen bricht MySQL die Anfrage mit einem Fehler ab. Dies betrifft u.a. auch als NOT_NULL deklarierte Felder in denen ein Wert erwartet wird." (gefunden in https://wiki3.redaxo.de/index.php?n=R3.FAQ) Hab ich also weggeschaltet, mysql und iis neu gestartet - und funzt! (ohne Scriptänderung) Danke jedenfalls für Deine Hilfe.
Posted on: 2007/10/24 3:15
|
|||
|
Re: Kann keine Kategorie erstellen
|
||||
---|---|---|---|---|
Power-Dreams Anfänger
|
Hallo Krobi, ist auch auf der neuesten Version so.
Hängt wohl damit zusammen, dass es auf einem IIS läuft. Übrigens konnt ich auch myLinks nicht zum laufen bringen (beim Klick auf Einstellungen/Kategorien lädt der Browser was, verharrt aber auf der gleichen Seite ohne Fehlermeldung). Ohne Probleme laufen zB xcGallery, DH-Info und das Forum CBB. Die Fehlermeldungen (All Errors) in Sachen PD-Links sehen so aus: This page cannot be displayed due to an internal error. You can provide the following information to the administrators of this site to help them solve the problem: Error: Datenbank Zugriffs-Fehler: Bitte diesen Fehler einem der Webmaster der PD_Sections Homepage melden: INSERT INTO xoops_PDlinks_cat (cid, pid, title, imgurl, description, nohtml, nosmiley, noxcodes, noimages, nobreak, weight, spotlighttop, spotlighthis) VALUES ('', 0, 'testkategorie', '', 'testbeschreibung', '', '', '', '', '1', '0', 0, 0) Backtrace: /modules/PDlinks/admin/category.php (303) All errors (2) queries (12) blocks (0) extra (0) timers (3) Errors Notice: Constant _MI_PDD2_BLOCKADMIN already defined in file /modules/PDlinks/language/german/modinfo.php line 34 Error: Datenbank Zugriffs-Fehler: Bitte diesen Fehler einem der Webmaster der PD_Sections Homepage melden: INSERT INTO xoops_PDlinks_cat (cid, pid, title, imgurl, description, nohtml, nosmiley, noxcodes, noimages, nobreak, weight, spotlighttop, spotlighthis) VALUES ('', 0, 'testkategorie', '', 'testbeschreibung', '', '', '', '', '1', '0', 0, 0) in file /modules/PDlinks/admin/category.php line 303 Queries SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC SELECT sess_data, sess_ip FROM xoops_session WHERE sess_id = 'rths7a2le04d34en04euvdona6' SELECT * FROM xoops_users WHERE uid=1 SELECT * FROM xoops_modules WHERE dirname = 'PDlinks' SELECT * FROM xoops_config WHERE (conf_modid = '14') ORDER BY conf_order ASC INSERT INTO xoops_PDlinks_cat (cid, pid, title, imgurl, description, nohtml, nosmiley, noxcodes, noimages, nobreak, weight, spotlighttop, spotlighthis) VALUES ('', 0, 'testkategorie', '', 'testbeschreibung', '', '', '', '', '1', '0', 0, 0) Error number: 1366 Error message: Incorrect integer value: '' for column 'cid' at row 1 DELETE FROM xoops_group_permission WHERE (gperm_modid = '14' AND gperm_name = 'PDlinkCatPerm' AND gperm_itemid = '0') INSERT INTO xoops_group_permission (gperm_id, gperm_groupid, gperm_itemid, gperm_modid, gperm_name) VALUES (0, 1, 0, 14, 'PDlinkCatPerm') INSERT INTO xoops_group_permission (gperm_id, gperm_groupid, gperm_itemid, gperm_modid, gperm_name) VALUES (0, 2, 0, 14, 'PDlinkCatPerm') INSERT INTO xoops_group_permission (gperm_id, gperm_groupid, gperm_itemid, gperm_modid, gperm_name) VALUES (0, 3, 0, 14, 'PDlinkCatPerm') SELECT * FROM xoops_modules WHERE mid = 14 SELECT * FROM xoops_xoopsnotifications WHERE (not_modid = '14' AND not_category = 'global' AND not_itemid = '0' AND not_event = 'new_category' AND (not_mode = '0' OR not_mode = '1' OR not_mode = '2')) ORDER BY not_id ASC Total: 12 queries Blocks Total: 0 blocks Extra Timers XOOPS took 0.148 seconds to load. XOOPS Boot took 0.053 seconds to load. Module init took 0.095 seconds to load.
Posted on: 2007/10/22 20:33
|
|||
|
Kann keine Kategorie erstellen
|
||||
---|---|---|---|---|
Power-Dreams Anfänger
|
Beim Erstellen einer neuen Kategorie tritt folgender Fehler auf:
This page cannot be displayed due to an internal error. You can provide the following information to the administrators of this site to help them solve the problem: Error: Datenbank Zugriffs-Fehler: Bitte diesen Fehler einem der Webmaster der PD_Sections Homepage melden: INSERT INTO xoops_PDlinks_cat (cid, pid, title, imgurl, description, nohtml, nosmiley, noxcodes, noimages, nobreak, weight, spotlighttop, spotlighthis) VALUES ('', 0, 'test', '', 'testbeschreibung', '', '', '', '', '1', '0', 0, 0) Backtrace: /modules/PDlinks/admin/category.php (303) (xoops 2.0.17 auf einem windows 2003 mit PHP 5.2.4 und mySql 5.0.45-community-nt). mfg Herby Nachtrag: Interessant ist auch die Backtraceangabe - die müsste ja eigentlich lauten /dpg/modules/PDlinks/admin/category.php (xoops ist unter /dpg/ installiert).
Posted on: 2007/10/17 13:05
|
|||
|