Upgrade from 4.2.2 to 4.2.3 with vbadvanced

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Duke49th
    New Member
    • Sep 2014
    • 26
    • 4.2.x

    [Answered] Upgrade from 4.2.2 to 4.2.3 with vbadvanced

    Hi.

    I upgraded the forum to 4.2.3 from 4.2.2 with vbadvanced.

    I then had the issue that the Portal and other Pages that I build were no longer accesable. It just redirected me to the Forum Page.

    Im not a coder and have no idea. So I just tested the index.php that I had before. And it works flawless.

    Would you guys say I can continue to use it?



    This is the old one which works now with vbadvanced:

    PHP Code:
    <?php
    // ++=========================================================================++
    // || vBadvanced CMPS v4.3.0 (vB 4.0 - 4.2) - 179538
    // || © 2003-2014 vBadvanced.com - All Rights Reserved
    // || This file may not be redistributed in whole or significant part.
    // || http://vbadvanced.com
    // || Downloaded 22:59, Thu Sep 11th 2014
    // || XXXXXXXXX
    // ++ ========================================================================++

    error_reporting(E_ALL & ~E_NOTICE & ~8192);
    define('THIS_SCRIPT''adv_index');
    define('VBA_PORTAL'true);
    define('VBA_SCRIPT''CMPS');

    // ============================================
    // Enter the full path to your forum here
    // Example: /home/vbadvanced/public_html/forum
    // ============================================

    $forumpath '/www/htdocs/xxxxx/forum';

    // ============================================
    // No Further Editing Necessary!
    // ============================================

    if ($forumpath)
    {
        if (!
    is_dir($forumpath))
        {
            echo 
    'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.';
            exit;
        }

        
    chdir($forumpath);
    }

    $phrasegroups = array();
    $globaltemplates = array();
    $actiontemplates = array();
    $specialtemplates = array();

    require_once(
    './includes/vba_cmps_include_template.php');
    require_once(
    './global.php');

    print_portal_output($home);

    ?>

    This is the new one:

    PHP Code:
    <?php
    /*======================================================================*\
    || #################################################################### ||
    || # vBulletin 4.2.3 - Licence Number XXXXXXXX(anonymized by myself ;) )
    || # ---------------------------------------------------------------- # ||
    || # Copyright ©2000-2016 vBulletin Solutions Inc. All Rights Reserved. ||
    || # This file may not be redistributed in whole or significant part. # ||
    || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
    || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
    || #################################################################### ||
    /**
     * If you want to move this file to the root of your website, change the
     * line below to your vBulletin directory and uncomment it (delete the //).
     *
     * For example, if vBulletin is installed in '/forum' the line should
     * state: define('VB_RELATIVE_PATH', 'forum');
     *
     * Note: You may need to change the cookie path of your vBulletin
     * installation to enable your users to log in at the root of your website.
     * If you move this file to the root of your website then you should ensure
     * the cookie path is set to '/'.
     *
     * See 'Admin Control Panel
     *    ->Cookies and HTTP Header Options
     *      ->Path to Save Cookies
     */

    //define('VB_RELATIVE_PATH', 'forum');

    // Do not edit anything below //
    if (defined('VB_RELATIVE_PATH'))
    {
        
    chdir('./' VB_RELATIVE_PATH);
    }

    require(
    'forum.php');


    /*======================================================================*\
    || ####################################################################
    || # Downloaded: 04:23, Fri Feb 19th 2016
    || # CVS: $RCSfile$ - $Revision: 60724 $
    || ####################################################################
    \*======================================================================*/
  • Duke49th
    New Member
    • Sep 2014
    • 26
    • 4.2.x

    #2
    Ok I just used the index.php from the previous version. It works. (the one that is build by vbAdvanced)

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...