Table of contents
How to upgrade from Cube Legacy Beta series
If your Legacy 2.1 is Beta 3-d or later, see this document.
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.
STEP 2 Close site

- Select 'default' theme. And, disable selectable themes.
- Close your site.
- Change the debug mode to PHP debug mode.
STEP 3 File replace

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

- 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.
From: if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') { include XOOPS_ROOT_PATH."/include/common.php"; } To: 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 your Homepage and install required modules in the automatically started 2nd installer.
- Go to the module management, and update all of your modules.
Attach file:





Page Info | |
---|---|
Page Name : | XOOPSCubeLegacy/HowToUpgrade/FromBeta |
Page aliases : | None |
Page owner : | minahito |
Can Read | |
Groups : | All visitors |
Users : | All visitors |
Can Edit | |
Groups : | Registered Users |
Users : | No one |
Counter: 22909,
today: 1,
yesterday: 0
Princeps date: 2006-11-14 (Tue) 09:35:46
Last-modified: 2007-04-30 (Mon) 11:12:12 (JST) (5054d) by minahito