• 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
    • Fatal Error on Upgrading (Alpha 1)

    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: Fatal Error on Upgrading (Alpha 1)

    • Issue Tools
      • View Changes
    1. issueid=3228 July 24, 2013 5:05 PM
      Morrus Morrus is offline
      Regular Member
      Fatal Error on Upgrading (Alpha 1)

      So I bit the bullet, renewed the license, and set aside the evening for the upgrade.

      I *think* I followed the instruction correctly, but the install script gives me this when I navgigate to it:
      Code:
      Fatal error: Cannot redeclare class vw_Install_UpgradePath_Steps_400alpha2_3X_Controller in /vault/core/controller/install/upgradepath/steps/4/0/0/alpha/2/4X/vw.php on line 79
      What am I doing wrong?
    Issue Details
    Issue Number 3228
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Beta 3
    Fixed Version 4.0.0 Beta 3
    Milestone VaultWiki 4 Beta X
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 1
    Assigned Users (none)
    Tags (none)


    Page 2 of 4 FirstFirst Previous 1234 Next LastLast


    1. July 25, 2013 12:49 PM
      Morrus Morrus is offline
      Regular Member
      I notice the "+" option is gone from "Replace Spaces in URLS". That's the one I used, and which external links often link to.
      Reply Reply  
    2. July 25, 2013 2:02 PM
      Morrus Morrus is offline
      Regular Member
      OK, some digging.

      Item 1
      The big problem is definitely tables. None of the tables came over.

      Old wiki forum thread (still intact):
      http://www.enworld.org/forum/showthr...WotC-Employees

      New wiki page:
      http://www.enworld.org/forum/showwik...WotC-Employees

      So that's big issue #1.

      Item 2
      Big issue #2 is that a large percentage of pages give a database error. I think it's attachment related.
      Code:
      Database error in vBulletin 4.2.1:
      
      Invalid SQL:
      
      				
      			SELECT
      				fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
      				a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
      				at.contenttypes
      				
      			FROM attachment AS a
      			INNER JOIN filedata AS fd ON (fd.filedataid = a.filedataid)
      			LEFT JOIN attachmenttype AS at ON (at.extension = fd.extension)
      			
      			
      				WHERE
      					a.contentid IN ()
      						AND
      					a.contenttypeid = 24
      				
      			
      ORDER BY a.contentid, a.displayorder;
      
      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 ')
      						AND
      					a.contenttypeid = 24
      				
      			
      ORDER BY a.contentid, a.displayo' at line 12
      Error Number  : 1064
      Request Date  : Thursday, July 25th 2013 @ 01:56:56 PM
      Error Date    : Thursday, July 25th 2013 @ 01:56:58 PM
      Script        : http://www.enworld.org/forum/showwiki.php?title=Numenera
      Referrer      : 
      IP Address    : 81.101.96.161
      Username      : Morrus
      Classname     : vB_Database
      MySQL Version : 5.5.29
      Item 3
      Then there's a pile of other little things (like not being able to delete duplicate nodes as mentioned in the previous post).

      Additonal URL conflict deletion attempts produce a different error. It flashes up too quickly to read, but something about : Warning Invalid Argument Supplied for something or other.
      Reply Reply  
    3. July 25, 2013 6:26 PM
      Morrus Morrus is offline
      Regular Member
      So do we have any thoughts on proceeding? I've lost 24 hours on this now (for what was only supposed to be done to fix a redirect and an autolinking bug!) and I'm anxious to get back to work.
      Reply Reply  
    4. July 25, 2013 9:56 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please create a new database from the backup. Do not restore from it. Then in vault/core/controller/import/config/vw.php, enter the info for the new database. I will pull the missing data from there.
      Reply Reply  
    5. July 25, 2013 10:17 PM
      Morrus Morrus is offline
      Regular Member
      I don't know how to do that... just exceeded my proficiency level! I used PHPMYADMIN to create the backup, but I don't really know how to do anything else with it.

      It's all in the old wiki forums, too, all intact.

      That said - did you do something? The tables and their content have reappeared. That helped with a lot of pages which are working now. [h] tags are not working though, and all images from the old install have been replaced by their attachment name and link to the image (so the images are there - the pages are just parsing them as links to the images).

      Auto linking isn't working anywhere at all.

      Anyhow, it's 3.15am here. I'll check in in the morning!
      Reply Reply  
    6. July 26, 2013 5:43 AM
      pegasus pegasus is offline
      VaultWiki Team
      Auto-links are working again, at least with the old functionality.

      I will be working throughout the day to restore your H tags and images.
      Reply Reply  
    7. July 26, 2013 6:22 AM
      Morrus Morrus is offline
      Regular Member
      Eeek. Got some big errors showing around the site in various non-wiki locations:
      Code:
      Invalid class name: vw_UI_Proxy_View
      #0 vw_Hard_Core::fetch_object(View, UI/Proxy, ) called at [/var/www/virtual/enworld/forum/vault/core/model/vw.php:295] #1 vw_Hard_Core::view(UI/Proxy) called at [/var/www/virtual/enworld/forum/vault/core/model/vw.php:170] #2 vw_Hard_Core::fetch_object(View, UI/Proxy, ) called at [/var/www/virtual/enworld/forum/vault/core/model/vw.php:295] #3 vw_Hard_Core::view(UI/Proxy) called at [/var/www/virtual/enworld/forum/vault/core/model/vw.php:170] #4 vw_Hard_Core::fetch_object(Model, Plugins/BBCode, ) called at [/var/www/virtual/enworld/forum/vault/core/model/vw.php:288] #5 vw_Hard_Core::model(Plugins/BBCode) called at [/var/www/virtual/enworld/forum/includes/class_bbcode.php(3719) : eval()'d code:27] #6 eval() called at [/var/www/virtual/enworld/forum/includes/class_bbcode.php:3719] #7 fetch_tag_list() called at [/var/www/virtual/enworld/forum/dnd_cc/dnd_ajax.php:119]
      and things like this in threads:
      Code:
      #1 : vbstop() called in [path]/vault/core/model/plugins/bbcode/vb3.php on line 67
      #2 : vw_Plugins_BBCode_Model_vB3->bbcode_create() called in [path]/includes/class_bbcode.php(223) : eval()'d code on line 47
      #3 : eval() called in [path]/includes/class_bbcode.php on line 223
      #4 : vB_BbCodeParser->vB_BbcodeParser() called in [path]/showthread.php on line 1030
      Reply Reply  
    8. July 26, 2013 7:32 AM
      Morrus Morrus is offline
      Regular Member
      Sorry, man. More to add to the list:

      - all special pages are gone
      - all redirects are broken
      - page titles with ampersands are screwd up
      - the autolinking issues didn't get fixed by the upgrade (http://www.enworld.org/forum/showwik...:Autolink-Test)
      Reply Reply  
    9. July 26, 2013 5:07 PM
      pegasus pegasus is offline
      VaultWiki Team
      Cannot duplicate the error messages on your site. It's possible you visited certain pages while I was working on them.

      - fixed auto-links: https://www.vaultwiki.org/issues/3229/
      - fixed special pages: https://www.vaultwiki.org/issues/3230/
      - fixed redirects: https://www.vaultwiki.org/issues/3231/
      -- Please note that even though some redirects might have worked in VW3, they may have worked when they weren't supposed to due to bugs. Redirects did not follow the same-namespace link rules that auto-links did or that a namespace's custom link tag did. According to the VW3 manual, the appropriate target namespace MUST be prefixed, even if it's the same one, (undocumented: unless you use a namespace's custom tag inside the redirect tags). See: https://www.vaultwiki.org/pages/vaul...sing-Redirects

      Still working on the other issues you brought up
      Reply Reply  
    10. July 26, 2013 5:21 PM
      pegasus pegasus is offline
      VaultWiki Team
      I think the headline issues were fixed by the auto-link fix. Please open a new report with an example link if you find any more pages that are missing headline sections.
      Reply Reply  
    11. July 26, 2013 6:00 PM
      Morrus Morrus is offline
      Regular Member
      Awesome.; things seem much improved! Thanks! I'll keep an eye out for any re-occurrences.

      Re. the error messages, I just go this one:
      Code:
      Parse error: syntax error, unexpected T_VARIABLE in /var/www/virtual/enworld/forum/vault/core/model/parser/handle/autolink/vw.php on line 239
      (On a non-wiki page).

      I think the headline issues were fixed by the auto-link fix. Please open a new report with an example link if you find any more pages that are missing headline sections.
      Has that syntax changed? It used to be [h=x], but the new syntax manager says it's [hx]
      Reply Reply  
    12. July 26, 2013 6:15 PM
      Morrus Morrus is offline
      Regular Member
      Gave this page a synonym:

      http://www.enworld.org/forum/showwik...d20-Modern-SRD

      Now it's blank with just the word "Array" in the page content area. However, the full content displays in the Edit tab. The synonym does not show in the Manage Synonyms tab. At the top of the page the following error shows:
      Code:
      Warning: Illegal offset type in isset or empty in [path]/vault/core/model/parser/handle/autolink/vw.php on line 251
      
      Warning: mb_strlen() expects parameter 1 to be string, array given in [path]/vault/core/model/string/vw.php on line 167
      
      Warning: array_slice() expects parameter 2 to be long, string given in [path]/vault/core/model/parser/handle/autolink/vw.php on line 280
      
      Warning: implode(): Invalid arguments passed in [path]/vault/core/model/parser/handle/autolink/vw.php on line 280
      Reply Reply  
    13. July 26, 2013 6:18 PM
      Morrus Morrus is offline
      Regular Member
      Edit to the above - OK, it's all the wiki pages, not just that one.
      Reply Reply  
    14. July 26, 2013 7:02 PM
      pegasus pegasus is offline
      VaultWiki Team
      Quote Originally Posted by Morrus
      Has that syntax changed? It used to be [h=x], but the new syntax manager says it's [hx]
      VaultWiki only adds h=x. If you have hx versions they were added by another mod, or you added them manually at some point. The Syntax Manager simply lists all the custom BB-Codes it finds in your parser.

      Your synonym works for me and appears in the Manage Synonyms tab. Please try again now that I have finished stress-testing the new auto-link code.
      Reply Reply  
    15. July 26, 2013 7:22 PM
      Morrus Morrus is offline
      Regular Member
      Not that synonym - the one you can see is one that worked. The synonym that didn't work, you can't see - it's "d20 System Reference Document".

      My guess is that it's because I deleted a page with that name and then assigned the synonym. I was in,h given the option to soft-delete; physically remove wasn't there. So maybe it's conflicting?

      Re. the h=x - yep, that's what's working. Cool. I think I was just thrown a little by the names in the syntax manager.
      Reply Reply  
    Page 2 of 4 FirstFirst Previous 1234 Next LastLast
    + 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 3:11 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 © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.