{"id":946,"date":"2011-04-19T09:16:05","date_gmt":"2011-04-19T07:16:05","guid":{"rendered":"http:\/\/www.joomla-hklein.de\/?p=946"},"modified":"2021-03-29T23:47:33","modified_gmt":"2021-03-29T21:47:33","slug":"nach-einem-upgrade-von-1-x-auf-2-x-konnen-keine-weblinks-mehr-bearbeitet-werden","status":"publish","type":"post","link":"http:\/\/www.joomla-hklein.de\/?p=946","title":{"rendered":"Nach einem Upgrade von 1.x auf 2.x k\u00c3\u00b6nnen keine Weblinks mehr bearbeitet werden"},"content":{"rendered":"<p>Nach einem Update von H2N Link Directory (2) 1.x auf 2.x kann es passieren, dass mit der Version 2.x keine Weblinks mehr bearbeitet werden k\u00c3\u00b6nnen. Ursache ist eine erweiterte Tabellenstruktur. Diese \u00c3\u201enderungen k\u00c3\u00b6nnen aber leicht nachgezogen werden. <!--more-->Die Tabellen *_ldlinks und *_ldcomments m\u00c3\u00bcssen wie folgt aussehen:<\/p>\n<div id=\"attachment_943\" style=\"width: 310px\" class=\"wp-caption alignright\"><a href=\"http:\/\/www.joomla-hklein.de\/wp-content\/uploads\/2011\/04\/ldlinks-struktur.png\" rel=\"lightbox[946]\"><img aria-describedby=\"caption-attachment-943\" decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-943\" src=\"http:\/\/www.joomla-hklein.de\/wp-content\/uploads\/2011\/04\/ldlinks-struktur-300x201.png\" alt=\"\" width=\"300\" height=\"201\" srcset=\"http:\/\/www.joomla-hklein.de\/wp-content\/uploads\/2011\/04\/ldlinks-struktur-300x201.png 300w, http:\/\/www.joomla-hklein.de\/wp-content\/uploads\/2011\/04\/ldlinks-struktur.png 815w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-943\" class=\"wp-caption-text\">Struktur der Tabelle *_ldlinks<\/p><\/div>\n<div id=\"attachment_945\" style=\"width: 310px\" class=\"wp-caption alignright\"><a href=\"http:\/\/www.joomla-hklein.de\/wp-content\/uploads\/2011\/04\/ldcomment_struktur.png\" rel=\"lightbox[946]\"><img aria-describedby=\"caption-attachment-945\" decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-945\" src=\"http:\/\/www.joomla-hklein.de\/wp-content\/uploads\/2011\/04\/ldcomment_struktur-300x160.png\" alt=\"\" width=\"300\" height=\"160\" srcset=\"http:\/\/www.joomla-hklein.de\/wp-content\/uploads\/2011\/04\/ldcomment_struktur-300x160.png 300w, http:\/\/www.joomla-hklein.de\/wp-content\/uploads\/2011\/04\/ldcomment_struktur.png 742w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-945\" class=\"wp-caption-text\">Aktuelle Struktur der Tabelle *_ldcmment<\/p><\/div>\n<p>Der Vergleich und ggf. die Anpassungen der Tabellen ist zum Beispiel mit phpmyadmin m\u00c3\u00b6glich.<\/p>\n<div style=\"clear:both\">\nAlternativ kann man die fehlenden Spalten in den Tabellen auch mittels SQL angepasst werden. jos_ im Tabellennamen ist anzupassen, wenn ein vom Default abweichenden Pr\u00c3\u00a4fix f\u00c3\u00bcr die Joomla-Tabellen  verwendet wird. Welche Spalten tats\u00c3\u00a4chlich fehlen, muss entsprechend gepr\u00c3\u00bcft werden.<br \/>\n<code><\/p>\n<p>ALTER TABLE jos_ldcomment ADD `published` TINYINT( 1 ) NOT NULL , ADD `checked_out` INT( 11 ) NOT NULL , ADD `checked_out_time` DATETIME NOT NULL<\/p>\n<p>ALTER TABLE jos_ldcomment ADD `type` tinyint(4) NOT NULL default '0' AFTER `user_id`<\/p>\n<p>ALTER TABLE jos_ldlinks CHANGE `rating` `rating` FLOAT NOT NULL DEFAULT '0'<\/p>\n<p>ALTER TABLE jos_ldlinks ADD `description_long` TEXT NOT NULL AFTER `description`<\/p>\n<p>ALTER TABLE jos_ldlinks ADD `thumburl` varchar(250) NOT NULL AFTER `url`<\/p>\n<p>ALTER TABLE jos_ldlinks ADD `image` varchar(255) NOT NULL AFTER `thumburl`<br \/>\n<\/code>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Nach einem Update von H2N Link Directory (2) 1.x auf 2.x kann es passieren, dass mit der Version 2.x keine Weblinks mehr bearbeitet werden k\u00c3\u00b6nnen. Ursache ist eine erweiterte Tabellenstruktur. Diese \u00c3\u201enderungen k\u00c3\u00b6nnen aber leicht nachgezogen werden.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,4],"tags":[],"_links":{"self":[{"href":"http:\/\/www.joomla-hklein.de\/index.php?rest_route=\/wp\/v2\/posts\/946"}],"collection":[{"href":"http:\/\/www.joomla-hklein.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.joomla-hklein.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.joomla-hklein.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.joomla-hklein.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=946"}],"version-history":[{"count":16,"href":"http:\/\/www.joomla-hklein.de\/index.php?rest_route=\/wp\/v2\/posts\/946\/revisions"}],"predecessor-version":[{"id":1120,"href":"http:\/\/www.joomla-hklein.de\/index.php?rest_route=\/wp\/v2\/posts\/946\/revisions\/1120"}],"wp:attachment":[{"href":"http:\/\/www.joomla-hklein.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.joomla-hklein.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=946"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.joomla-hklein.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}