• 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 3.x Series
    • Bug
    • Broken PHP after upgrading from 3.0.4 to 3.0.5

    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: Broken PHP after upgrading from 3.0.4 to 3.0.5

    • Issue Tools
      • View Changes
    1. issueid=2060 November 8, 2010 3:23 AM
      ctrlbrk ctrlbrk is offline
      Junior Member
      Broken PHP after upgrading from 3.0.4 to 3.0.5

      PHP 5.3.3
      vb 3.8.5
      vw 3.0.5

      After upgrading from vw 3.0.4 to 3.0.5, my nginx log is full of broken PHP errors:

      Here are two that stand out (thousands of entries):

      Code:
      root@ranger:~# tail -n 1000 /var/log/nginx/bigmiketrading.error.log | grep vault
      2010/11/07 08:22:17 [error] 2403#0: *953709 FastCGI sent in stderr: "PHP Fatal error:  Call to undefined function mark_thread_read() in /var/www/forum/vault/class/bbcode/redirect.php on line 493" while reading response header from upstream, client: 69.122.175.181, server: www.bigmiketrading.com, request: "POST /wiki_ajax.php?do=autolink&t=4399 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "www.bigmiketrading.com", referrer: "http://www.bigmiketrading.com/elite-circle/3664-webinar-gomi-volume-ladder-technical-walk-through-examples.html"
      
      2010/11/07 19:54:07 [error] 2407#0: *1202466 FastCGI sent in stderr: "PHP Parse error:  syntax error, unexpected ']', expecting T_NS_SEPARATOR in /var/www/forum/vault/factory/special/listredirects.php(138) : eval()'d code on line 1
      PHP Parse error:  syntax error, unexpected ']', expecting T_NS_SEPARATOR in /var/www/forum/vault/factory/special/listredirects.php(138) : eval()'d code on line 1
      The wiki seems to be online.

      Mike
    Issue Details
    Issue Number 2060
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Redirects
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.5
    Fixed Version 3.0.6
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 8, 2010 4:11 AM
      pegasus pegasus is offline
      VaultWiki Team
      The first one can be fixed by editing vault/class/bbcode/redirect.php. Find:
      Code:
      mark_thread_read($threadinfo, $foruminfo, $this->parser->registry->userinfo['userid'], $displayed_dateline);
      Add before:
      Code:
      require_once(DIR . '/includes/functions_bigthree.php');
      The second one only occurs in VaultWiki when running vBulletin 3 on PHP > 5.3. If you recently upgraded PHP, it might be why you are only seeing the issue now.

      Edit the template vault_special_redirectbit. Find:
      Code:
      $page[namespace] != $dest[namespace]
      Replace with:
      Code:
      $page['namespace'] != $dest['namespace']
      In PHP 5.3, namespace is now a keyword, so it needs to be escaped if we actually want to use the word "namespace."
      Reply Reply  
    2. This petition for a change to Unconfirmed was rejected
      November 16, 2010 4:07 PM
      ctrlbrk ctrlbrk is offline
      Junior Member
      Some more:

      Code:
      2010/11/16 05:40:08 [error] 28129#0: *5319887 FastCGI sent in stderr: "PHP Fatal error:  require_once(): Failed opening required '/var/www/forum/includes/class_bootstrap_framework.php' (include_path='.:/etc/php5/lib/php') in /var/www/forum/vault/factory/special/imagelist.php on line 120" while reading response header from upstream, client: 67.195.115.220, server: www.bigmiketrading.com, request: "GET /wiki/special/Imagelist HTTP/1.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "www.bigmiketrading.com"
      Mike
       
    3. November 16, 2010 5:15 PM
      pegasus pegasus is offline
      VaultWiki Team
      Thanks, but not the same issue.
      Reply Reply  
    4. November 16, 2010 6:08 PM
      ctrlbrk ctrlbrk is offline
      Junior Member
      OK, do you want me to open a new ticket for it?

      Mike
      Reply Reply  
    5. November 16, 2010 6:39 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yes, ideally 1 ticket per error message. If there are any duplicates, we'll mark it duplicate, but there's currently no way in Project Tools for us to split a ticket.
      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:06 AM.
    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.