FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Upgrade Errors (Unable to upgrade, failure)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Upgrade Errors [message #35942] Thu, 22 February 2007 01:48 Go to next message
ph4t0ny is currently offline  ph4t0ny   United States
Messages: 3
Registered: February 2007
Karma: 0
Junior Member
I'm trying to upgrade a rather OLD installation (2.3.Cool on win32 and am having problems.

Can you upgrade to 2.6 directly from 2.3.8?

I try to run the upgrade script and get an error each time :

Notice: Undefined offset: 1 in D:\Inetpub\vhosts\blah.com\subdomains\forums\httpdocs\upgrade.php on line 976
Failed to parse GLOBALS.php at "" correctly

Any suggestions would be GREAT!
Re: Upgrade Errors [message #35951 is a reply to message #35942] Fri, 23 February 2007 00:43 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Does the GLOBALS.php inside the main forum dir include include_once line? Can you paste here now it looks.

FUDforum Core Developer
Re: Upgrade Errors [message #35980 is a reply to message #35951] Mon, 26 February 2007 22:29 Go to previous messageGo to next message
ph4t0ny is currently offline  ph4t0ny   United States
Messages: 3
Registered: February 2007
Karma: 0
Junior Member
<?php
/************************************************************************** *
* GLOBALS.php
* -------------------
* begin : Tue Jan 8 00:20:19 UTC 2002
* copyright : (C) 2001,2002 Advanced Internet Designs Inc.
* email : forum(at)prohost(dot)org
*
*************************************************************************** *

*************************************************************************** *
*
* FUDforum Copyright (C) 2001,2002 Advanced Internet Designs Inc.
* 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.
*
*************************************************************************** /

$INCLUDE = "D:/Inetpub/vhosts/EDITED/subdomains/forums/httpdocs/forumsfiles/include/";
$WWW_ROOT = "http://forums.EDITED";
$WWW_ROOT_DISK = "D:/Inetpub/vhosts/EDITED/subdomains/forums/httpdocs/";
$DATA_DIR = "D:/Inetpub/vhosts/EDITED/subdomains/forums/httpdocs/forumsfiles/";
$ERROR_PATH = "D:/Inetpub/vhosts/EDITED/subdomains/forums/httpdocs/forumsfiles/errors/";
$MSG_STORE_DIR = "D:/Inetpub/vhosts/EDITED/subdomains/forums/httpdocs/forumsfiles/messages/";
$TMP = "D:/Inetpub/vhosts/EDITED/subdomains/forums/httpdocs/forumsfiles/tmp/";
$FILE_STORE = "D:/Inetpub/vhosts/EDITED/subdomains/forums/httpdocs/forumsfiles/files/";
$FORUM_SETTINGS_PATH = "D:/Inetpub/vhosts/EDITED/subdomains/forums/httpdocs/forumsfiles/cache/";

$MOGRIFY_BIN = "/usr/X11R6/bin/mogrify";

$CUSTOM_AVATARS = "BUILT"; /* enum(OFF, BUILT, URL, UPLOAD, BUILT_URL, BUILT_UPLOAD, URL_UPLOAD, ALL) */
$CUSTOM_AVATAR_MAX_SIZE = "300000"; /* bytes */
$CUSTOM_AVATAR_MAX_DIM = "64x64"; /* width x height (pixels) */
$CUSTOM_AVATAR_APPOVAL = "Y"; /* boolean */

$COOKIE_PATH = "/";
$COOKIE_DOMAIN = "forums.EDITED";
$COOKIE_NAME = "fud_session_1049486215";
$COOKIE_TIMEOUT = "604800"; /* seconds */
$SESSION_TIMEOUT = "1800"; /* seconds */


$DBHOST = "localhost";
$DBHOST_USER = "EDITED";
$DBHOST_PASSWORD = "EDITED";
$DBHOST_DBNAME = "EDITED";
$DBHOST_PERSIST = "Y"; /* boolean */
$DBHOST_TBL_PREFIX = "fud23_"; /* do not modify this */

$USE_SMTP = "Y"; /* boolean */
$FUD_SMTP_SERVER = "localhost";
$FUD_SMTP_TIMEOUT = "10"; /* seconds */
$FUD_SMTP_LOGIN = "";
$FUD_SMTP_PASS = "";

$ADMIN_EMAIL = "";

$PM_ENABLED = "Y"; /* boolean */
$PRIVATE_ATTACHMENTS = "5"; /* int */
$PRIVATE_ATTACH_SIZE = "100000"; /* bytes */
$PRIVATE_TAGS = "ML"; /* toggle N:ML:HTML */
$PRIVATE_MSG_SMILEY = "Y"; /* boolean */
$PRIVATE_IMAGES = "N"; /* boolean */
$MAX_PMSG_FLDR_SIZE = "300000"; /* bytes */

$ALLOW_SIGS = "Y"; /* boolean */
$FORUM_CODE_SIG = "ML"; /* toggle N:ML:HTML */
$FORUM_SML_SIG = "Y"; /* boolean */
$FORUM_IMG_SIG = "N"; /* boolean */
$FORUM_IMG_CNT_SIG = "2"; /* int */

$FORUM_ENABLED = "Y"; /* boolean */

$UNCONF_USER_EXPIRY = "7"; /* days */
$MOVED_THR_PTR_EXPIRY = "3"; /* days */

$USE_ALIASES = "Y"; /* boolean */
$MULTI_HOST_LOGIN = "N"; /* boolean */
$MAX_SMILIES_SHOWN = "15"; /* int */
$ALLOW_REGISTRATION = "Y"; /* boolean */
$EMAIL_CONFIRMATION = "Y"; /* boolean */
$SPELL_CHECK_ENABLED = "N"; /* boolean */
$PUBLIC_RESOLVE_HOST = "N"; /* boolean */
$ACTION_LIST_ENABLED = "Y"; /* boolean */
$DISABLED_REASON = "We are currently upgrading the forums software, please check back soon. <br>Your patience is appreciated<br>Thanks,<br>";
$COPPA = "Y"; /* boolean */
$POSTS_PER_PAGE = "250";
$THREADS_PER_PAGE = "40";
$WORD_WRAP = "60";
$NOTIFY_FROM = "webmaster1@EDITED"; /* email */
$NOTIFY_WITH_BODY = "Y"; /* boolean */
$ANON_NICK = "Anonymous";
$FLOOD_CHECK_TIME = "5"; /* seconds */
$ALLOW_EMAIL = "Y"; /* boolean */
$SERVER_TZ = "America/Menominee";
$MEMBER_SEARCH_ENABLED = "Y"; /* boolean */
$FORUM_SEARCH = "Y"; /* boolean */
$MEMBERS_PER_PAGE = "100";
$POLLS_PER_PAGE = "40";
$THREAD_MSG_PAGER = "5";
$GENERAL_PAGER_COUNT = "15";
$SHOW_EDITED_BY = "Y"; /* boolean */
$EDITED_BY_MOD = "Y"; /* boolean */
$EDIT_TIME_LIMIT = "0";
$DISPLAY_IP = "N"; /* boolean */
$LOGEDIN_TIMEOUT = "15"; /* minutes */
$MAX_IMAGE_COUNT = "10";
$LOGEDIN_LIST = "Y"; /* boolean */
$PUBLIC_STATS = "Y"; /* boolean */
$FORUM_TITLE = "Autobodyonline";
$SITE_HOME_PAGE = "";
$MAX_LOGIN_SHOW = "25";
$MAX_LOCATION_SHOW = "25";
$DEFAULT_THREAD_VIEW = "msg_tree"; /* toggle msg:tree:tree_msg:msg_tree */
$SHOW_N_MODS = "2";
$ENABLE_AFFERO = "N"; /* boolean */

$TREE_THREADS_ENABLE = "Y"; /* boolean */
$TREE_THREADS_MAX_DEPTH = "25";
$TREE_THREADS_MAX_SUBJ_LEN = "75";

$FORUM_INFO = "Y"; /* boolean */
$ONLINE_OFFLINE_STATUS = "Y"; /* boolean */

$FILE_LOCK = "N"; /* boolean */

$MODERATE_USER_REGS = "N"; /* boolean */

$REG_TIME_LIMIT = "1"; /* seconds */
/*
* DO NOT EDIT FILE BEYOND THIS POINT UNLESS YOU KNOW WHAT YOU ARE DOING
*/

$GLOBALS['__GLOBALS.INC__'] = $GLOBALS["INCLUDE"].'GLOBALS.php';
include_once $GLOBALS["INCLUDE"].'core.inc';
?>

[Updated on: Mon, 26 February 2007 22:29]

Report message to a moderator

Re: Upgrade Errors [message #35986 is a reply to message #35980] Tue, 27 February 2007 00:25 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Comment out the
$GLOBALS['__GLOBALS.INC__'] = $GLOBALS["INCLUDE"].'GLOBALS.php';

line and then it should work ok.


FUDforum Core Developer
Re: Upgrade Errors [message #36217 is a reply to message #35942] Thu, 08 March 2007 20:32 Go to previous messageGo to next message
ph4t0ny is currently offline  ph4t0ny   United States
Messages: 3
Registered: February 2007
Karma: 0
Junior Member
Same error after I removed the globals line
Re: Upgrade Errors [message #36229 is a reply to message #36217] Fri, 09 March 2007 00:42 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
can you send me the file as an attachment and I can try to see why the parser breaks on it.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Postgres: Intstalling in non-public schema?
Next Topic: Fud forum in blank! Please help.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 16:54:01 GMT 2024

Total time taken to generate the page: 0.03022 seconds