
Forum Index PD-Links ![]() |
Re: Kann JETZT Kategorie erstellen
|
||||
---|---|---|---|---|
Webmaster (O.M.A.)
![]() ![]() ![]() |
coole sache,
tausen dank für das rausfinden des fehlers, so kann ich ihn beheben für leute die diese einstellung haben. wirklich vielen dank.
Posted on: 2007/10/24 21:07
|
|||
![]() ![]() _________________________________ ![]() _________________________________ ------ krobi@power-dreams.com |
||||
|
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
|
||||
---|---|---|---|---|
Webmaster (O.M.A.)
![]() ![]() ![]() |
naja
![]() ich werde mir das in den nächsten tagen mal anschauen, hab mir jetzt mal wieder ein richtiges developing tool installiert und werd mir das anschauen. danke für dein feedback. das mit den integerwerten scheint wohl der große fehler zu sein der nur bei manchen einstellungen (servern) auftritt. daher hatte ich selbst diesen fehler noch nicht da ich hier nur xampp für windows laufen habe und da läufts aber das schaffma scho ![]()
Posted on: 2007/10/24 1:36
|
|||
![]() ![]() _________________________________ ![]() _________________________________ ------ krobi@power-dreams.com |
||||
|
Re: Kann keine Kategorie erstellen
|
||||
---|---|---|---|---|
Webmaster (O.M.A.)
![]() ![]() ![]() |
hey
also mit deiner hilfe und etwas geduld mit mir bekommen wir zusammen pd-links bei dir zum laufen ![]() in zeile 303, schätz ich mal hab derzeit keinen gescheiden editor installiert. steht folgende zeile Quote: $sql = "INSERT INTO " . $xoopsDB -> prefix("PDlinks_cat") . " (cid, pid, title, imgurl, description, nohtml, nosmiley, noxcodes, noimages, nobreak, weight, spotlighttop, spotlighthis) VALUES ('', $pid, '$title', '$imgurl', '$description', '$nohtml', '$nosmiley', '$noxcodes', '$noimages', '$nobreak', '$weight', $spotlighttop, $spotlighthis)"; und ändere das wie folgt Quote: $sql = "INSERT INTO " . $xoopsDB -> prefix("PDlinks_cat") . " (cid, pid, title, imgurl, description, nohtml, nosmiley, noxcodes, noimages, nobreak, weight, spotlighttop, spotlighthis) VALUES (0, $pid, '$title', '$imgurl', '$description', '$nohtml', '$nosmiley', '$noxcodes', '$noimages', '$nobreak', '$weight', $spotlighttop, $spotlighthis)"; hoffentlich hilft das falls nicht bitte wieder die sql fehlermeldung posten - danke.
Posted on: 2007/10/23 1:01
|
|||
![]() ![]() _________________________________ ![]() _________________________________ ------ krobi@power-dreams.com |
||||
|
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
|
|||
|
Re: Kann keine Kategorie erstellen
|
||||
---|---|---|---|---|
Webmaster (O.M.A.)
![]() ![]() ![]() |
serwus und hallo zuerst
hast die version schomal probiert neu hier herunterzuladen und erscheint der fehler dann nochimmer? falls das nämlich eine "ältere" version sein sollte, möcht ich dir empfehlen mal pd-links herunterzuladen. hab da nämlich ein/zwei updates gemacht ohne versionsänderungen usw. ist mittlerweile auch schon einpaar monate her. mach mir bitte einen gefallen und schalte mal den sql debug im xoops ein und falls du da eine fehlermeldung bekommst bitte mal hier posten. danke
Posted on: 2007/10/18 21:41
|
|||
![]() ![]() _________________________________ ![]() _________________________________ ------ krobi@power-dreams.com |
||||
|
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
|
|||
|
You can view topic.
You can start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.