How to upgrade from Cube Legacy Beta 3-d anchor.png

Try it first at home! Means that it's preferable to try the upgrade in a copy of your site on your local pc and then move to the real world and try it there.

Page Top

STEP 1 Preparation anchor.png


There is no need for any preparation in this procedure.

Page Top

STEP 2 Close site anchor.png

  1. Select 'default' theme. And, disable selectable themes.
  2. Close your site.
  3. Change the debug mode to PHP debug mode.
Page Top

STEP 3 File replace anchor.png

  1. Delete all of files, except mainfile.php and the following directories:
    • images
    • themes
    • uploads
    • modules
    • preload
    • your XOOPS_TRUST_PATH (if existing)
  1. Delete the following modules.
    • legacy
    • user
    • legacyRender
    • pm
    • stdCache
  1. Overwrite with the package.
Page Top

STEP 4 Upgrade anchor.png

  • Patch your mainfile.php.

How to patch your mainfile.php? It's very easy. Modify your mainfile.php as the following with a text editor like notepad.

@include_once XOOPS_ROOT_PATH."/include/cubecore_init.php";
if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
  include XOOPS_ROOT_PATH."/include/common.php";

if (!defined('_LEGACY_PREVENT_LOAD_CORE_') && XOOPS_ROOT_PATH != '') {
  @include_once XOOPS_ROOT_PATH."/include/cubecore_init.php";
  if (!isset($xoopsOption['nocommon']) && !defined('_LEGACY_PREVENT_EXEC_COMMON_')) {
    include XOOPS_ROOT_PATH.'/include/common.php';

If you use XOOPS Protector, you have to adjust your mainfile.php more. Read 'About mainfile.php' in this document.

  • Go to the module management, and update all of your modules.
Page Top

STEP 5 Open site anchor.png

  1. Open your site.
  2. After you have finished checking everything, change the debug mode to OFF.

Attach file:
fileSTEP05.png 1728DL [Info] fileSTEP04.png 1702DL [Info] fileSTEP03.png 1742DL [Info] fileSTEP02.png 1724DL [Info] fileSTEP01.png 1790DL [Info]

Front page   Freeze Diff Backup Copy Rename ReloadPrint View   New Page Page list Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom) Powered by xpWiki
Counter: 25568, today: 5, yesterday: 3
Princeps date: 2006-11-14 (Tue) 09:39:48
Last-modified: 2007-04-30 (Mon) 11:11:55 (JST) (5131d) by minahito

Welcome | News | Overview | Documentation | Forum | Tutorialstop
Brasilian | French | German | Greek | Japanese | Korean | Russian | T-Chinese
Powered by XOOPS Cube 2001-2011 The XOOPS Cube Project