Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
News World of XOOPS Developers Hacks Modules Themes YAXS Archive Submit News

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 2013 Abuse adslight AntiHarvesting AntiMalUser AntiSpam API Australia Ban banner Beats billige black Blocks blue Captcha cell Christmas chronolabs content Conversion database demo docek download Dresses editor evden eve facebook floor free herre Honeypot Human IP jQuery kantor lamps Legal log logger mobile module modules Monster MyAlbum-p Networks newbb news Notices online PageRank pdf Permissions pink Plugin portal Prevention profile project Protector publisher release Rights rmcommon Room sale security SERIAL Server site Size Smarty Spam statistics stem Studio tag tags tdmcreate template Theme themes userlog website Whitepaper Winter XML XooLaT xoops Xoopspoll Xortify xthemes Yolande ZendFramework

New Users

Registering user

# 136023

qinxian123

Welcome to XOOPS!

Archives

News Archives

XOOPS 2.5.1 Final Is Released

Posted by phppp on 2011/4/8 3:30:00 (10414 reads) | Posted on 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
-----------------------------------

PHP:
Any PHP version >= 5.2 (PHP 5.3+ is strongly recommended)

MySQL:
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.

You can also check out the detailed Installation Guide

Note for people upgrading from previous XOOPS versions:
------------------------------------
1) If you use custom templates, you should convert them into files inside your theme folder before upgrading. The option to store custom templates in DB is deprecated

2) The option to store images in DB is also deprecated.

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

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


Modules
-----------------------------------

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


Printer Friendly Page Send this Story to a Friend Create a PDF from the article
Bookmark Me
Bookmark to Google Plus
The comments are owned by the author. We aren't responsible for their content.

good news!

where I can find a detailed changelog?

any changes on language files?
Published: 2011/4/8 4:07 • Updated: 2011/4/8 4:07
ok, self-reply: http://sourceforge.net/projects/xoops ... hangelog.250.txt/download
Published: 2011/4/8 4:09 • Updated: 2011/4/8 4:10
Tks for this new release :) !

=> Could we update the profile module with the verbose (last) version ?

=> Also, about the last release of extgallery module, that include class files to upload, will it be ok or can it break something? Could we include the modifications directly in the core for gallery modules?

=> Since some versions, i think 2.5.0, the .htaccess in upload folder don't allow my site to access to file (picture). I always have to remove it after each update. Am i the only one in this situation ?

Regards
Published: 2011/4/8 4:36 • Updated: 2011/4/8 4:52
Good News, thanks for the new release!
Published: 2011/4/8 4:57 • Updated: 2011/4/8 4:57
Thanks!!!

A message for Kris_fr

is a problem stopping submenu, with mouse on zetadigme theme in admin

see this Video
Published: 2011/4/8 5:00 • Updated: 2011/4/8 5:02
Quote:

=> Also, about the last release of extgallery module, that include class files to upload, will it be ok or can it break something? Could we include the modifications directly in the core for gallery modules?


In extgallery we add just a line in class/textsanitizer/config.php for load/use gallery images in editor ( and all part of site ) if you use it aftter update your XOOPS you can replace config.php .

this file don't have any changes since 2.3
Published: 2011/4/8 5:03 • Updated: 2011/4/8 5:03
Tks for this confirmation Voltan :)
Published: 2011/4/8 5:22 • Updated: 2011/4/8 5:22
I am former route286. I changed activity of XOOPS into the real name.

I introduced it into Japanese XOOPS environment at once.
However, I was not able to display language EUC-JP normally in XOOPS to use.
This problem seems to be due to the update of the file class/module.textsanitizer.php.
This was normal with XOOPS 2.5.0.
Published: 2011/4/8 5:45 • Updated: 2011/4/8 5:45
Cannot add a custom block. Error: "name" is mandatory.
Published: 2011/4/8 9:27 • Updated: 2011/4/8 9:27
Thanks for this release :)
Published: 2011/4/8 13:49 • Updated: 2011/4/8 13:49
Russian Translation UTF-8 http://xoops.svn.sourceforge.net/view ... uages/russian/core/2.5.1/

Where in the distribution directory upgrade?
Published: 2011/4/8 14:33 • Updated: 2011/4/8 14:36
@andrey3761:
from 2.5.0 to 2.5.1, upgrade folder is not needed
from 2.4.5 to 2.5.0, use the upgrade package in 2.5.0 release but follow the instruction provided in this article.
Published: 2011/4/8 18:34 • Updated: 2011/4/8 18:34
hacamat and i did a new installation of 2.5.1 today to test it out. we had an issue but it wasn't anything serious.

the error was:
Quote:
Could not copy the distribution file to mainfile.php/home/mysite/public_html/xoops_data/data/secure.dist.php


we didnt check the path the installer gave us when we did the installation, it seems the installer checks the folder above first for the folder and gave that path. if anyone else gets that error thats what it means, so make sure the path's are correct.
Published: 2011/4/9 12:08 • Updated: 2011/4/9 12:08
Well it all worked for me, the modules need to be updated but as I am aware that is for 2.5.2 with profile 1.67 or later, Xortify 2.44 (Seeming we have a cloud for protector it should be provided but I brought this up on the mailer to late it would seem for 2.5.1).

I would also like to see the ADOdb included with 2.5.2, it cures the loading time of it and the bottle neck in the databae functions, and also has an addition features for database, seeming this is legacy it should be left to operate on the largest spectrum possible.

The other thing the archive MD5 CRC is missing from the news, mamba published that in the previous news here it is for anyone who needs it:

MD5 ZIP: 7ae5902cf18804908b3259eaa8ff56c3 *
SHA1 ZIP: 1102d480f7e7b20a0f4e74020d310712d8fcca56 *

* This was calculated with hashCalc from Slavasoft.
Published: 2011/4/9 14:13 • Updated: 2011/4/9 15:59
Spanish version is ready also.

http://www.esxoops.com
Published: 2011/4/10 11:33 • Updated: 2011/4/10 11:33
For the bug

Cannot add a custom block. Error: "name" is mandatory.

In modules/system/admin/blocksadmin/main.php in line 290 change
$name = $block->getVar('name');
to
$name = $block->getVar('title');

That fixes problem.
Published: 2011/4/10 15:25 • Updated: 2011/4/10 15:25
For module can´t change name.

in modules/system/admin/modulesadmin/main.php

In line 38

From

if ( isset($_POST) ) {
foreach ( $_POST as $k => $v ) {
${$k} = $v;
}
}

// Get Action type
$op = system_CleanVars ( $_REQUEST, 'op', 'list', 'string' );
$module = system_CleanVars ( $_REQUEST, 'module', '', 'string' );

if (in_array($op, array('submit', 'install_ok', 'update_ok', 'uninstall_ok'))) {
if (!$GLOBALS['xoopsSecurity']->check()) {
$op = 'list';
}
}

To

// Get Action type
$op = system_CleanVars ( $_REQUEST, 'op', 'list', 'string' );
$module = system_CleanVars ( $_REQUEST, 'module', '', 'string' );

if (in_array($op, array('submit', 'install_ok', 'update_ok', 'uninstall_ok'))) {
if (!$GLOBALS['xoopsSecurity']->check()) {
$op = 'list';
}
}
if ( isset($_POST) ) {
foreach ( $_POST as $k => $v ) {
${$k} = $v;
}
}
Published: 2011/4/10 16:35 • Updated: 2011/4/10 16:35
I have created a small zip file with both patches to not need to be editing files.

http://www.uskola.info/xoops_251_patch.zip

It includes
modules/system/admin/blocksadmin/main.php
modules/system/admin/modulesadmin/main.php
Published: 2011/4/10 17:02 • Updated: 2011/4/10 17:02
Thank you, Aitor! This is very helpful!
Published: 2011/4/10 19:30 • Updated: 2011/4/10 19:30
Thanks for this update.
I'm updating my website and upgrading xoops 2.5.0 to 2.5.1.

Vida Longa ao XOOPS!
Published: 2011/4/10 19:41 • Updated: 2011/4/10 19:41
Thank you @aitor, I will take care of your report.

To other people, I will provide some quick fix for the bug. Please be patient, aitor's change might have security weakness.
Published: 2011/4/10 20:42 • Updated: 2011/4/10 20:53
are codes that copied from version 2.5.0, which security issues are there?

there is a document that explains how to act safely for developers?
Published: 2011/4/11 3:06 • Updated: 2011/4/11 3:06
@aitor THX for fixing!
Published: 2011/4/11 5:58 • Updated: 2011/4/11 5:58
some small bug, do it yourself

$avatars XOOPS_UPLOAD_URL "/" $thisUser->getVar('user_avatar');

$ranks XOOPS_UPLOAD_URL "/" $thisUser->getVar('user_ranks');

$smilies['image'] = '<img src="' XOOPS_UPLOAD_URL '/' $smilies_img '" alt="" />';


in modules/profile/userinfo.php
$avatars XOOPS_UPLOAD_URL "/avatars/" $thisUser->getVar('user_avatar');

$ranks XOOPS_UPLOAD_URL "/ranks/" $thisUser->getVar('user_ranks');


in modules/system/admin/smilies/main.php
$smilies['image'] = '<img src="' XOOPS_UPLOAD_URL '/smilies/' $smilies_img '" alt="" />';

Published: 2011/4/12 4:13 • Updated: 2011/4/12 4:13
You can edit the file, language/errors.php to insert the following code?

This is the news: Error Page Manager

This forum Site Support: Xoops Core 2.5.0 Traslation

Tutorial and Download
Published: 2011/4/12 4:50 • Updated: 2011/4/12 4:50
I think theres a problem with the .tar.gz package at sf.net.

When I download and opened, can see just a few files. The .zip version is complete.
Published: 2011/4/13 8:50 • Updated: 2011/4/13 8:50
Quote:
I think theres a problem with the .tar.gz package at sf.net.

Are you sure, you've downloaded the right tar.gz file?

I just checked this one and it seems to be OK.

You'll also need the fix files that DJ submitted. I don't think he updated the full packages yet.
Published: 2011/4/13 9:09 • Updated: 2011/4/14 13:57
thanks aitor, your patch working perfect
Published: 2011/4/20 4:43 • Updated: 2011/4/20 4:43
regarding this:
Quote:

Note for people upgrading from previous XOOPS versions: ------------------------------------
1) If you use custom templates, you should convert them into files inside your theme folder before upgrading. The option to store custom templates in DB is deprecated
2) The option to store images in DB is also deprecated.


What kind of permissions do you have to give the webserver for the Templates manager?
Published: 2011/9/12 8:06 • Updated: 2011/9/12 8:06
As a Webmaster you have a full access to the Template Manager.
Published: 2011/9/12 14:02 • Updated: 2011/9/12 14:02
yes i know, but do i have to give the webserver aka Apache full write access to generate files...

Because then i think security is not really in place...
Published: 2011/9/14 9:09 • Updated: 2011/9/14 9:09