XOOPS 2.5.1 Final Is Released

日期 2011年04月08日 11:00:00 | 新聞類別: XOOPS
XOOPS 2.5.1 Final Release

The XOOPS Development Team is pleased to announce the release of XOOPS 2.5.1 Final. Several bugs have been fixed as well as security enhancement based on Aung Khant's report.
Please be aware that the bugfix is not complete and 2.5 series will be following small but frequent release rule so that users can take advantage of quick fixes.

This 2.5 series builds on the XOOPS 2.4.x series with objectives of usability improvements instead of architecture or API changes. The system module is updated with a major redesign with jQuery based AJAX, done mainly by ForMusS, kraven_30, Mage with contributions from trabis, voltan, Kris_fr, onokazu etc.
Besides usability, some proof-of-concept experiments have also been proven for module and theme development. Unavoidably there are bugs and incompatibility introduced.
Developers are encouraged to improve the new functions and APIs but not advised to use them immediately in their modules since the they are designed with new architecture in XOOPS 3 (or Xoops Engine).
Developers can check Xoops Engine details at http://www.xoopsengine.org to prepare for their next version of modules and themes.

Download XOOPS 2.5.1 from Sourceforge repository.
System requirements

Any PHP version >= 5.2 ( 強烈推薦 PHP 5.3+ )

MySQL server 5.0+

Web server:
Any server supporting the required PHP version (Apache highly recommended)

Downloading XOOPS

Your can get this release package from the sourceforge.net file repository.
There are .zip and .gz archives provided.

Installing XOOPS

1. Copy the content of the htdocs/ folder where it can be accessed by your server
2. Ensure mainfile.php and uploads/ are writable by the web server
3. For security considerations, you are encouraged to move directories "/xoops_lib" (for XOOPS libraries) and "/xoops_data" (for XOOPS data) out of Document Root, and change the folder names.
4. Make the directory xoops_data/ writable; Create (if not already present) and make the directories xoops_data/caches/, xoops_data/caches/xoops_cache/, xoops_data/caches/smarty_cache/ and xoops_data/caches/smarty_compile/ writable.
5. Access the folder where you installed the htdocs/ files using your web browser to launch the installation wizard

Installing Protector in XOOPS
We also highly recommend the installation of the PROTECTOR module which will bring additional security protection and logging capabilities to your site.

Upgrading from a previous version

Upgrading from 2.5.0 to 2.5.1:
1. Get the right update package from the sourceforge file repository
2. Overwrite files in XOOPS directory on your server with the content of /htdocs
* make sure that you copy the content of /xoops_lib to whatever directory you keep it on the server now (it should be your current XOOPS_TRUST_PATH directory), then delete the /xoops_lib directory. There can NOT be two directories with the content of /xoops_lib
3. Update the "system" module from the modules administration interface. Other modules, especially "Profile" and "Protector" are recommended to update as well

  1. 從sourceforge下載更新檔
  2. 將更新檔htdocs內的資料上傳至您的XOOPS中覆蓋
    *htdocs內的xoops_lib應該要對應您的XOOPS原本移出WWW目錄後所放置的位置, 如果您有將xoops_lib更名,當然也是要對應到更名後的位置,將其內容覆蓋。
  3. 至管理員界面,更新下面三個模組:"system"、"profile"、"protector"。
Upgrading from previous versions older than 2.5.0:
The upgrade scripts from older versions to 2.5.0 are not complete, however it won't affect your XOOPS site. The scripts will be improved in next release.
Following is an instruction for upgrading from XOOPS 2.4.5 to 2.5 provided by John Healy:

0. Verify the system requirements, in particular the version of PHP. Backup your XOOPS database and site directory. (There are several ways to do these actions, which are discussed elsewhere.) Turning your site off is optional.
Change the permissions on mainfile.php and /include/license.php to be writable, for example:
File Normal For upgrade
mainfile.php 400 700
/include/license.php 444 777
Get the correct update package from the SourceForge file repository.

1. In the upgrade package folder, move the "upgrade" folder inside the "htdocs" folder, if it's not already there. Remove the install folder from the "htdocs" folder, if it's there. Remove the mainfile.php file from the "htdocs" folder, if it's there.
If you've moved the xoops_data and xoops_lib folders outside your site's root directory, move these folders out of the "htdocs" folder in the upgrade package folder.

2. Delete the /modules/system directory on your current XOOPS site (to get rid of any old unnecessary files).

3. Overwrite the files in the XOOPS directory on your current XOOPS site with the content of "htdocs" folder of the upgrade package. (There are several ways to do this action, which are discussed elsewhere.)
As noted above, if relocated, overwrite the files in your current xoops_data and xoops_lib with the content of those in the upgrade package.

4. If you have Protector previously installed, open the "mainfile.php" file , and remove the Pre-check and Post-check lines (if they exist):
include XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ;
include XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ;

5. At your site's address (URL), login as administrator. Access /upgrade/ with a browser, and follow the instructions (and any for updating your XOOPS database). After all updates have been applied (green checkmarks), note the link in the Updater to update the "system" module, and do so.

6. Delete the "upgrade" folder from your site's "htdocs" directory.

7. Update (reload) other modules, especially "Profile" and "Protector," if necessary.

8. Change permissions on the files noted above back to their normal state.

9. Turn your site back on, if you turned it off earlier.

Debug information display level

Since XOOPS 2.3.1 debug information display level is enabled as a temporary solution for 2.3* to show debug information to different level of users: to all users, to members or to admins only.
The configuration can be set in /xoops_data/configs/xoopsconfig.php

Files integrity check

The full XOOPS package is released with a script able to check if all the system files have been correctly uploaded to the server. To use it, follow these instructions:

1. Upload the checksum.php and checksum.md5 files located in the XOOPS package root to your XOOPS server folder (putting them next to mainfile.php).
2. Execute checksum.php with your browser
3. If necessary, re-upload the missing or corrupted system files
4. Remove checksum.php and checksum.md5 from your server


This release contains only the "system-related modules". You are invited to browse the XOOPS modules repository to if you need additional functionality. Note: as a new repository is being built, the current repository is not up-to-date, PLEASE VISIT INDIVIDUAL DEVELOPERS' WEBSITES TO MAKE SURE YOU ARE USING LATEST VERSION OF MODULES.

How to contribute
Bug report: http://sourceforge.net/tracker/?group_id=41586&atid=430840
Patch and enhancement: http://sourceforge.net/tracker/?group_id=41586&atid=430842
Feature design: http://sourceforge.net/tracker/?group_id=41586&atid=430843
Release announcement: https://lists.sourceforge.net/lists/listinfo/xoops-announcement
Xoops Engine development: http://www.xoopsengine.org

XOOPS Development Team
April 5th, 2011

本篇新聞來自:XOOPS Site