1
starstuff
Upgrading from XOOPS 2.3.x and 2.4.x
  • 2010/3/7 13:12

  • starstuff

  • Just popping in

  • Posts: 10

  • Since: 2006/9/23


"Upgrading from a previous version
-----------------------------------

Upgrading from XOOPS 2.3.x and 2.4.x(easy way)
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. 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' ;

4. If you're upgrading from XOOPS 2.4.x, make the file /include/license.php writeable (permission 0777 on Linux)
5. Access <your.site.url>/upgrade/ with a browser, and follow the instructions
6. Follow the instructions to update your database
7. Delete the "upgrade" folder from your server
8. Update the "system" module from the modules administration interface. Other modules, especially "Profile" and "Protector" are recommended to update as well"


Make sure you do #3 correctly or your upgrade may fail to process.
I got a successfully loaded blank page when I tried to run the upgrade and lost all access to my website because of an extra "/" in the mainfile.php script.
(my error I'm sure but it happened and took me two agonizing
days to find)


"3. 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' "



if ( !empty($ENABLE_PROTECTOR) ) {
//comment out or delete-
// @include XOOPS_TRUST_PATH . '/modules/protector/include/precheck.inc.php';
}
if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") {
include XOOPS_ROOT_PATH."/include/common.php";
}
if ( !empty($ENABLE_PROTECTOR) ) {
//comment out or delete-
// @include XOOPS_TRUST_PATH . '/modules/protector/include/postcheck.inc.php';
}


Crazy stuff can happen but I have found that it is almost always my error.
Go Xoops!





2
starstuff
conflict with xforum and cbb
  • 2009/10/26 15:34

  • starstuff

  • Just popping in

  • Posts: 10

  • Since: 2006/9/23


Hii,
I have a fresh install of XOOPS 2.3.3b

I installed CBB and it works as it should.
I am evaluating forums and also have xforum installed and newbbex .
The forums do not appear to interfere with each other.

I then successfully installed yogurt and got this message when I clicked on the menu Item:
"Fatal error: Cannot redeclare getconfigforblock() (previously declared in /home/solar23/public_html/ecedirectors/modules/xforum/include/functions.ini.php:88) in /home/solar23/public_html/ecedirectors/modules/newbb/include/functions.ini.php on line 86"

I uninstalled CBB and yogurt worked.
I reinstalled CBB and got the 'fatal error' message again.

I uninstalled XFORUM and yogurt worked.
I reinstalled XFORUM and got the 'fatal error' message again.

I then discovered that I also get the 'fatal error' message when I am logged on and try to go to user.php with all the forums active.
It happens when Yogurt is deactivated so I guess the conflict is between cbb and xforum..
I can go to user.php if I am not logged on.

How can I resolve this problem?

XOOPS Version - XOOPS 2.3.3b
PHP Version - 4.4.9
MySQL Version - 5.0.51a-community
Server API Version - cgi
OS Version - Linux

-------------------------
All info below from xoops_version.php files

XFORUM info:
error_reporting(E_ALL);
$modversion['name'] = _MI_XFORUM_NAME;
$modversion['version'] = 4.10;
$modversion['description'] = _MI_XFORUM_DESC;
$modversion['credits'] = "Orginally Based on Newbb path adaption by (wishcraft)";
$modversion['author'] = "S.F.C. (wishcraft)";
$modversion['license'] = "GNU General Public License (GPL) see LICENSE";
$modversion['image'] = "images/xoopsxf_slogo.png";
$modversion['dirname'] = "xforum";
$modversion['releasedate'] = "Fri: 23 April 2009";
$modversion['status'] = "Stable";


CBB info:
{$modversion['name'] = _MI_NEWBB_NAME;
$modversion['version'] = 3.08;
$modversion['description'] = _MI_NEWBB_DESC;
$modversion['credits'] = "NewBB 2 developed by Marko Schmuck (predator) and D.J. (phppp)";
$modversion['author'] = "D.J. (phppp)";
$modversion['license'] = "GNU General Public License (GPL) see LICENSE";
$modversion['image'] = "images/xoopsbb_slogo.png";
$modversion['dirname'] = "newbb";

$modversion['author_realname'] = "CBB Dev Team";
$modversion['author_website_url'] = "http://xoopsforge.com";
$modversion['author_website_name'] = "XForge";
$modversion['author_email'] = "php_pp@hotmail.com";
$modversion['status_version'] = "3.07";
$modversion['status'] = "Stable";
$modversion['warning'] = "For XOOPS 2.0*, 2.2*, 2.3";}


NEWBBEX info:
$modversion['name'] = _MI_NEWBBEX_NAME;
$modversion['version'] = 1.7;
$modversion['description'] = _MI_NEWBBEX_DESC;
$modversion['credits'] = "Kazumi Ono<br />(http://www.myweb.ne.jp/ )";
$modversion['author'] = "<a href='http://www.herve-thouzard.com'>Herv? Thouzard</a><br />Based on XOOPS forum made by Kazumi Ono.<br />Original admin section (phpBB 1.4.4) by<br />The phpBB Group<br />(http://www.phpbb.com/ )<br />";
$modversion['help'] = "newbb.html";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 1;
$modversion['image'] = "images/xoopsbb_slogo.png";
$modversion['dirname'] = "newbbex";

YOGURT info:
{$modversion['name'] = 'Social Network';
$modversion['version'] = '3.3';
$modversion['description'] = _MI_YOGURT_MODULEDESC;
$modversion['credits'] = 'The XOOPS Project, The ????? Project, Jquery Lightbox, Komeia, vaughan,';
$modversion['author'] = 'Marcello Brandao';
$modversion['help'] = 'help.html';
$modversion['license'] = _MI_YOGURT_LICENSE;
$modversion['official'] = 1;
$modversion['image'] = 'images/slogo.png';
$modversion['dirname'] = 'yogurt';}







3
starstuff
Re: Modules NOT working with XOOPS 2.3
  • 2009/6/5 12:29

  • starstuff

  • Just popping in

  • Posts: 10

  • Since: 2006/9/23


I was getting blank pages when I tried to use the 'quick links' in the administration menu with my installation of Liaise Version - 1.5

with


XOOPS Version - XOOPS 2.3.3
PHP Version - 4.4.9
MySQL Version - 5.0.51a-community
Server API Version - cgi
OS Version - Linux

safe_mode - Off
register_globals - Off
magic_quotes_gpc - On
allow_url_fopen - Off
fsockopen - On
allow_call_time_pass_reference - On
post_max_size - 8M
max_input_time - -1
output_buffering - 0
max_execution_time - 30
memory_limit -
file_uploads - On
upload_max_filesize - 2M

I found this reference:
http://www.brandycoke.com/home/modules/newbb/viewtopic.php?forum=6&topic_id=210

Quote:

Posted by CyberSensei
on 2007/8/31
@10:58 SonicTech,
XOOPS 2.0.x doesn't use Global variable
($GLOBALS['xTheme']).
I commented out /modules/liaise/admin/admin_header.php line 41
I'm using XOOPS 2.0.17. GL, CyberSensei


I tried it and everything seems to be working fine now.
============================================================

## Copyright (c) 2003-2005 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
#########################################################
## XOOPS - PHP Content Management System ##
## Copyright (c) 2000 XOOPS.org ##
## <https://xoops.org/> ##
#########################################################
## This program is free software; you can redistribute it and/or modify ##
## it under the terms of the GNU General Public License as published by ##
## the Free Software Foundation; either version 2 of the License, or ##
## (at your option) any later version. ##
## ##
## You may not change or alter any portion of this comment or credits ##
## of supporting developers from this source code or any supporting ##
## source code which is considered copyrighted (c) material of the ##
## original comment or credit authors. ##
## ##
## This program is distributed in the hope that it will be useful, ##
## but WITHOUT ANY WARRANTY; without even the implied warranty of ##
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ##
## GNU General Public License for more details. ##
## ##
## You should have received a copy of the GNU General Public License ##
## along with this program; if not, write to the Free Software ##
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ##
#######################################################
## Author of this file: NS Tai (aka tuff) ##
## URL:http://www.brandycoke.com/ ##
## Project: Liaise ##
########################################################
require '../../../include/cp_header.php';
require '../include/common.php';
define('LIAISE_ADMIN_URL', LIAISE_URL.'admin/index.php');
require_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php';
function adminHtmlHeader($m=0){
xoops_cp_header();
//$GLOBALS['xTheme']->loadModuleAdminMenu($m);
}
?>



4
starstuff
Re: Liaise 1.27 and Xoops 2.3.0 RC2
  • 2009/6/5 11:39

  • starstuff

  • Just popping in

  • Posts: 10

  • Since: 2006/9/23


I was getting blank pages when I tried to use the 'quick links' in the administration menu with my installation of Liaise Version - 1.5

with


XOOPS Version - XOOPS 2.3.3
PHP Version - 4.4.9
MySQL Version - 5.0.51a-community
Server API Version - cgi
OS Version - Linux

safe_mode - Off
register_globals - Off
magic_quotes_gpc - On
allow_url_fopen - Off
fsockopen - On
allow_call_time_pass_reference - On
post_max_size - 8M
max_input_time - -1
output_buffering - 0
max_execution_time - 30
memory_limit -
file_uploads - On
upload_max_filesize - 2M

I found this reference:
http://www.brandycoke.com/home/modules/newbb/viewtopic.php?forum=6&topic_id=210

Quote:

Posted by CyberSensei
on 2007/8/31
@10:58 SonicTech,
XOOPS 2.0.x doesn't use Global variable
($GLOBALS['xTheme']).
I commented out /modules/liaise/admin/admin_header.php line 41
I'm using XOOPS 2.0.17. GL, CyberSensei


I tried it and everything seems to be working fine now.
============================================================

## Copyright (c) 2003-2005 NS Tai (aka tuff) ##
## <http://www.brandycoke.com/> ##
#########################################################
## XOOPS - PHP Content Management System ##
## Copyright (c) 2000 XOOPS.org ##
## <https://xoops.org/> ##
#########################################################
## This program is free software; you can redistribute it and/or modify ##
## it under the terms of the GNU General Public License as published by ##
## the Free Software Foundation; either version 2 of the License, or ##
## (at your option) any later version. ##
## ##
## You may not change or alter any portion of this comment or credits ##
## of supporting developers from this source code or any supporting ##
## source code which is considered copyrighted (c) material of the ##
## original comment or credit authors. ##
## ##
## This program is distributed in the hope that it will be useful, ##
## but WITHOUT ANY WARRANTY; without even the implied warranty of ##
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ##
## GNU General Public License for more details. ##
## ##
## You should have received a copy of the GNU General Public License ##
## along with this program; if not, write to the Free Software ##
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ##
#######################################################
## Author of this file: NS Tai (aka tuff) ##
## URL:http://www.brandycoke.com/ ##
## Project: Liaise ##
########################################################
require '../../../include/cp_header.php';
require '../include/common.php';
define('LIAISE_ADMIN_URL', LIAISE_URL.'admin/index.php');
require_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php';
function adminHtmlHeader($m=0){
xoops_cp_header();
//$GLOBALS['xTheme']->loadModuleAdminMenu($m);
}
?>



5
starstuff
display xoopspoll in block?
  • 2009/5/31 11:45

  • starstuff

  • Just popping in

  • Posts: 10

  • Since: 2006/9/23



Hi
I am using version 1.2 and would like to post individual polls on different pages in a block by themselves.
There is a "display in block" check box but it doesn't appear to have any affect on the poll or offer any options.
Am I missing something?
Thanks

XOOPS Version - XOOPS 2.3.3
PHP Version - 4.4.9
MySQL Version - 5.0.51a-community
Server API Version - cgi
OS Version - Linux



6
starstuff
Re: Modules NOT working with XOOPS 2.3
  • 2009/5/8 20:28

  • starstuff

  • Just popping in

  • Posts: 10

  • Since: 2006/9/23


This is a fresh install and 222 appears to work fine.
Thanks



7
starstuff
Re: Modules NOT working with XOOPS 2.3
  • 2009/5/8 14:54

  • starstuff

  • Just popping in

  • Posts: 10

  • Since: 2006/9/23


I am trying to install extcal. I tried Version: 2.1.16 and Version: 2.01. They install fine but nothing shows when I click on the menu item.
php version 4.4.9
Apache
Xoops 2.3.3 (I love it).



8
starstuff
Re: Minimum length of search strings
  • 2008/11/30 18:57

  • starstuff

  • Just popping in

  • Posts: 10

  • Since: 2006/9/23


Thank you from me too!



9
starstuff
Re: Module File for Not Found!
  • 2006/9/23 14:26

  • starstuff

  • Just popping in

  • Posts: 10

  • Since: 2006/9/23


I just accidentally put a language folder in the modules directory and got the "module file Language not found...." message.
catalin12345, your post helped me figure out what I had done because I had no tables in the database and nothing appeared as a blank module "name" in the xoops_modules table.
Thanks




TopTop



Login

Who's Online

260 user(s) are online (173 user(s) are browsing Support Forums)


Members: 0


Guests: 260


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits