Table of contents
How to upgrade from Cube Legacy Alpha series
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.
- Change the debug mode to PHP debug mode.
- Close your site, but the administrator keeps to access.
- Disable and uninstall base and user module as the following.
1) Turn off the active value of Legacy and User module in the module management.


2) Then, you'll be forwarded to the 2nd installer. But, you have not completed uninstalling yet. Uninstall two modules completely. Click each 'Uninstall' links.

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:
- base
- 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' of this document.
- Go to your Homepage and install required modules in the automatically started 2nd installer.
- Delete cache files in the folder template_c.
- Go to the module management, and update all of your modules.
Attach file:








Page Info | |
---|---|
Page Name : | XOOPSCubeLegacy/HowToUpgrade/FromAlpha |
Page aliases : | None |
Page owner : | Anonymous |
Can Read | |
Groups : | All visitors |
Users : | All visitors |
Can Edit | |
Groups : | Support Site Webmasters |
Users : | No one |
Counter: 24270,
today: 1,
yesterday: 1
Princeps date: 2006-11-14 (Tue) 09:25:48
Last-modified: 2007-04-30 (Mon) 11:12:28 (JST) (5054d) by Anonymous