• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Database Error Removing Page from a Category

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Database Error Removing Page from a Category

    • Issue Tools
      • View Changes
    1. issueid=4500 January 3, 2016 10:40 AM
      hollosch hollosch is offline
      Senior Member
      Database Error Removing Page from a Category

      Fehlermeldung des Servers
      Fehlerinformation
      Code:
      XenForo_Exception: Database Error: DELETE FROM `vw_lastupdate` WHERE nodetypeid = 12 AND nodeid = 162 AND lasttypeid = AND `lastitemid` IN (339) LIMIT 1 Mysqli prepare 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 'AND `lastitemid` IN (339) LIMIT 1' at line 1 - vault/core/controller/db/xf.php:171
      Generiert durch: Kai Harth, Heute um 04:39 Uhr
      Stapelverfolgung
      
      #0 ../vault/core/controller/db/xf.php(157): vw_DB_Controller_XF->throw_error(Object(Zend_Db_Statement_Mysqli_Exception), 'DELETE FROM `vw...')
      #1 ../vault/core/model/db/mysql/vw.php(1026): vw_DB_Controller_XF->query_write('DELETE FROM `vw...')
      #2 ../vault/core/model/db/mysql/vw.php(340): vw_DB_MySQL_Model->shutdown_or_run('DELETE FROM `vw...', false)
      #3 ../vault/core/controller/dm/item/category/vw.php(317): vw_DB_MySQL_Model->delete(Array)
      #4 ../vault/core/controller/dm/vw.php(113): vw_DM_Item_Category_Controller->delete_multiple(Array)
      #5 ../vault/core/controller/ui/assign/category/vw.php(215): vw_DM_Controller->delete_multiple(Array)
      #6 ../vault/core/controller/ui/edit/page/vw.php(549): vw_UI_Assign_Category_Controller->save_assignments(Object(vw_UI_Page_Controller_XF), Array, Array)
      #7 ../vault/core/controller/ui/edit/vw.php(242): vw_UI_Edit_Page_Controller->process_assignments(Object(vw_UI_Page_Controller_XF), Array, Array)
      #8 ../vault/core/controller/ui/page/vw.php(285): vw_UI_Edit_Controller->save(Object(vw_UI_Page_Controller_XF))
      #9 ../vault/core/controller/ui/page/vw.php(129): vw_UI_Page_Controller->save()
      #10 ../vault/core/controller/ui/page/xf.php(60): vw_UI_Page_Controller->execute()
      #11 ../vault/core/controller/ui/stack/vw.php(222): vw_UI_Page_Controller_XF->execute()
      #12 ../library/vw/XenForo/ControllerPublic/Wiki.php(68): vw_UI_Stack_Controller->execute()
      #13 ../library/XenForo/FrontController.php(351): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #14 ../library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #15 ../index.php(13): XenForo_FrontController->run()
      #16 {main}
      
      Benötigter Status
      
      array(3) {
        ["url"] => string(55) "http://regio-portal.wiki/wiki/Jugendgemeinderat?do=save"
        ["_GET"] => array(1) {
          ["do"] => string(4) "save"
        }
        ["_POST"] => array(22) {
          ["message"] => string(2094) "[file]Datei:JGR_Logo.jpg|thumb|right[/file]
      
      [h="2"] Jugendgemeinderat Geislingen  [/h]
      
      Den Jugendgemeinderat Geislingen gibt es seit 1994. Er besteht aus 24 Mitgliedern. Kandidieren können Kinder und Jugendliche zwischen 11 und 18 Jahren, die eine Geislinger Schule besuchen. Wahlberechtigt sind alle Geislinger Schüler. Der Jugendgemeinderat wird auf drei Jahre gewählt.
      
      [h="3"] Jugendgemeinderäte in Baden-Württemberg  [/h]
      
      Jugendgemeinderäte sind die Interessenvertretung der Jugendlichen gegenüber der kommunalen Politik. Sie sind darüber hinaus ein Partizipationsmodell und bieten jungen Menschen einen Einstieg in die Politik - ohne Parteibindung. Im Idealfall besitzen sie Rede- und Antragsrecht im Gemeinderat und einen eigenen Etat für Öffentlichkeitsarbeit, Veranstaltungen und sonstige Projekte. Ein großes Anliegen der rund 1500 Jugendgemeinderatsmitglieder im Ländle ist es, ihre Stadt für Jugendliche attraktiver zu gestalten. Hierzu gehören beispielsweise die Gestaltung und Einrichtung von Spiel- und Sportplätzen, Rad- und Verkehrswegeplanung, die Umgestaltung von Schulhöfen, Skateanlagen, der Öffentliche PersonenNahVerkehr, insbesondere Nachtbusse und Tarife, die Gestaltung und Erhaltung von Jugendhäusern, politische und unpolitische Veranstaltungen, Umweltaktionen, Bandcontests und vieles mehr. Der Vorsitzende ist ein Mitglied des JGRs oder der (Ober-)Bürgermeister der Stadt. Neben den öffentlichen Sitzungen gibt es nichtöffentliche Sitzungen und Arbeitskreistreffen. Außerdem nehmen die Jugendgemeinderäte an den Sitzungen des Gemeinderats oder seiner Ausschüsse teil – im Idealfall als vollwertiges Mitglied. Die Anzahl der Mitglieder ist von der Größe der Stadt abhängig. In fast allen Städten haben Jugendliche von 14 bis 18 das aktive und passive Wahlrecht, unabhängig davon, ob sie einen deutschen Pass haben oder nicht.
      
      [h="2"] Homepage  [/h]
      
      [URL]http://www.jgr-geislingen.de[/URL]
      
      [h="2"] Weblinks  [/h]
      
      [URL='http://www.jugendgemeinderat.de']Dachverband der Jugendgemeinderäte Baden-Württemberg[/URL]"
          ["_xfRelativeResolver"] => string(55) "http://regio-portal.wiki/wiki/Jugendgemeinderat?do=edit"
          ["query"] => string(3) "jug"
          ["categoryids"] => array(3) {
            [0] => string(0) ""
            [1] => string(4) "2114"
            [2] => string(4) "4336"
          }
          ["reason"] => string(0) ""
          ["prefixid"] => string(1) "0"
          ["edittitle"] => string(17) "Jugendgemeinderat"
          ["rename_redirect"] => string(0) ""
          ["icontype"] => string(0) ""
          ["fonticon"] => string(4) "f016"
          ["icon"] => string(0) ""
          ["iconurl"] => string(0) ""
          ["_xfToken"] => string(8) "********"
          ["do"] => string(4) "save"
          ["section"] => string(1) "0"
          ["posthash"] => string(32) "6c9776f30c83fa98ea5ae24b072adf48"
          ["poststarttime"] => string(10) "1451792336"
          ["revparentid"] => string(3) "340"
          ["loggedinuser"] => string(3) "477"
          ["sbutton"] => string(9) "Speichern"
          ["notifytype"] => string(1) "1"
          ["sub_options"] => array(1) {
            ["item_edits"] => string(1) "1"
          }
        }
      }
    Issue Details
    Issue Number 4500
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Categories
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.8
    Fixed Version 4.0.8
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. January 3, 2016 12:47 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/controller/dm/item/category/vw.php, find:
      Code:
      			$item_node = vw_Hard_Core::model('Node')->primary($item);
      
      			$page = vw_Hard_Core::controller('Fetch')->get('Page', $item['pageid']);
      Replace with:
      Code:
      			$page = vw_Hard_Core::controller('Fetch')->get('Page', $item['pageid']);
      			$item_node = vw_Hard_Core::model('Node')->primary($page);
      Reply Reply
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 11:23 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.