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

Home » FUDforum » FUDforum Installation Issues » Problem upgrading on test server
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Problem upgrading on test server [message #37167] Thu, 10 May 2007 18:43 Go to next message
Nastun is currently offline  Nastun   United States
Messages: 23
Registered: April 2007
Karma: 0
Junior Member
I have a test server setup that I am trying to upgrade from 2.3.8. I am using apache2 and php 4.4.6. When I try to upgrade I get this error.

Notice: Undefined offset: 1 in C:\Apache2\htdocs\frforum\forum\upgrade.php on line 976
Failed to parse GLOBALS.php at "" correctly

Any ideas as to the cause of this?

Here is my GLOBALS.php

$INCLUDE = "C:\\Apache2\\htdocs\\frforum\\data\\include\\";
$WWW_ROOT = "http://www.frguild.com/frforum/forum/";
$WWW_ROOT_DISK = "C:\\Apache2\\htdocs\\frforum\\forum\\";
$DATA_DIR = "C:\\Apache2\\htdocs\\frforum\\data\\";
$ERROR_PATH = "C:\\Apache2\\htdocs\\frforum\\data\\errors\\";
$MSG_STORE_DIR = "C:\\Apache2\\htdocs\\frforum\\data\\messages\\";
$TMP = "C:\\Apache2\\htdocs\\frforum\\data\\tmp\\";
$FILE_STORE = "C:\\Apache2\\htdocs\\frforum\\data\\files\\";
$FORUM_SETTINGS_PATH = "C:\\Apache2\\htdocs\\frforum\\data\\cache\\";


NOTE - This is on a test server. The live server is running the old version but I am having many problems.
Re: Problem upgrading on test server [message #37173 is a reply to message #37167] Thu, 10 May 2007 22:03 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
to what version are you upgrading to?

Can you try the 2.7.7RC2 upgrade script.


FUDforum Core Developer
Re: Problem upgrading on test server [message #37175 is a reply to message #37173] Fri, 11 May 2007 04:08 Go to previous messageGo to next message
Nastun is currently offline  Nastun   United States
Messages: 23
Registered: April 2007
Karma: 0
Junior Member
I have tried 9 versions including 2.7.7rc2 and all give the same error............. I HATE GLOBALS.php. I'd rather hit my toe with a hammer than open that file again.
Re: Problem upgrading on test server [message #37205 is a reply to message #37175] Sun, 13 May 2007 17:31 Go to previous messageGo to next message
Ilia is currently offline  Ilia   
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you please send me the complete GLOBALS.php via a private message.

FUDforum Core Developer
Re: Problem upgrading on test server [message #37273 is a reply to message #37167] Thu, 17 May 2007 05:49 Go to previous messageGo to next message
Nastun is currently offline  Nastun   United States
Messages: 23
Registered: April 2007
Karma: 0
Junior Member
I decided to try a NEW install of 2.3.8. I configured the testing server the same as my live server. IIS6 and php 4.1.1. I am getting this error when trying to install.

Your WWW_ROOT does not correspond with the SERVER_ROOT path you have specified. (unable to retrive: http://www.frguild.com/forum/WWW_ROOT_CHECK, on disk as: C://Inetpub//wwwroot//forum/WWW_ROOT_CHECK, received: HTTP/1.1 404 Not Found

I changed the fopen in my php.ini and that doesnt change the problem. So where do I go from there. I am thinking all my problems are comming from using IIS.

Re: Problem upgrading on test server [message #37302 is a reply to message #37167] Sat, 19 May 2007 04:44 Go to previous messageGo to next message
Nastun is currently offline  Nastun   United States
Messages: 23
Registered: April 2007
Karma: 0
Junior Member
Tried it with apache and had no problem at all. With IIS it doesnt work.

C:/Inetpub/wwwroot/forum/
C:/Inetpub/wwwroot/forum/data/
http://www.frguild.com/forum/

HONESTLY...Is IIS garbage?
Re: Problem upgrading on test server [message #37344 is a reply to message #37302] Sun, 20 May 2007 16:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Try a more recent version of FUDforum 2.3.8 is really old.

FUDforum Core Developer
Re: Problem upgrading on test server [message #37357 is a reply to message #37167] Sun, 20 May 2007 23:09 Go to previous messageGo to next message
Nastun is currently offline  Nastun   United States
Messages: 23
Registered: April 2007
Karma: 0
Junior Member
I have to use PHP 4.1.1 so I cannot install any version greater than 2.3.8. I am just going to change to apache 1.x IIS just seems to mess everything up. If you want to log into my server and check out what is wrong. Let me know. My live server still will not allow uploaded files.
Re: Problem upgrading on test server [message #37509 is a reply to message #37357] Thu, 31 May 2007 05:27 Go to previous messageGo to next message
Nastun is currently offline  Nastun   United States
Messages: 23
Registered: April 2007
Karma: 0
Junior Member
OK well I removed IIS (GARGAGE) and setup apache2. The site is now working alot better. I am now trying to upgrade from 2.3.8 to 2.7.6. I was able to install a clean version of 2.7.6 but the upgrade fails


Notice: Undefined offset: 1 in C:\Apache2\htdocs\frforum\forum\upgrade.php on line 976
Failed to parse GLOBALS.php at "" correctly

<?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 			= "C:/Apache2/htdocs/frforum/data/include/";
	$WWW_ROOT 			= "http://forum.frguild.com";
	$WWW_ROOT_DISK		= "C:/Apache2/htdocs/frforum/forum/";
	$DATA_DIR			= "C:/Apache2/htdocs/frforum/data/";
	$ERROR_PATH 		= "C:/Apache2/htdocs/frforum/data/errors/";
	$MSG_STORE_DIR		= "C:/Apache2/htdocs/frforum/data/messages/";
	$TMP				= "C:/Apache2/htdocs/frforum/data/tmp/";
	$FILE_STORE			= "C:/Apache2/htdocs/frforum/data/files/";
	$FORUM_SETTINGS_PATH 	= "C:/Apache2/htdocs/frforum/data/cache/";

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

	$COOKIE_PATH		= "forum.frguild.com";
	$COOKIE_DOMAIN		= "forum.frguild.com";
	$COOKIE_NAME		= "fud_session_1102498295";
	$COOKIE_TIMEOUT 	= "604800";	/* seconds */
	$SESSION_TIMEOUT 	= "1800";	/* seconds */
	
	$DBHOST 			= "localhost";
	$DBHOST_USER		= "fruser";
	$DBHOST_PASSWORD		= "forsaken";
	$DBHOST_DBNAME		= "frforum"; 
	$DBHOST_PERSIST		= "N";     	/* boolean */
	$DBHOST_TBL_PREFIX	= "frforum_";	/* do not modify this */

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

	$ADMIN_EMAIL 		= "webmasters(at)forsakenrealm(dot)org";

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

	$ALLOW_SIGS		= "Y";		/* boolean */
	$FORUM_CODE_SIG		= "HTML";		/* toggle N:ML:HTML */
	$FORUM_SML_SIG		= "N";		/* boolean */
	$FORUM_IMG_SIG		= "Y";		/* 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	= "Y";		/* boolean */
	$MAX_SMILIES_SHOWN	= "40"; 	/* int */	
	$ALLOW_REGISTRATION	= "Y";		/* boolean */
	$EMAIL_CONFIRMATION	= "N";		/* boolean */
	$SPELL_CHECK_ENABLED	= "N";		/* boolean */
	$PUBLIC_RESOLVE_HOST	= "N";		/* boolean */
	$ACTION_LIST_ENABLED	= "Y";		/* boolean */
	$DISABLED_REASON	= "Undergoing maintenance, please come back later.";
	$COPPA			= "N"; 		/* boolean */
	$POSTS_PER_PAGE 	= "40";
	$THREADS_PER_PAGE	= "40";
	$WORD_WRAP		= "60";
	$NOTIFY_FROM		= "webmasters(at)forsakenrealm(dot)org";		/* email */
	$NOTIFY_WITH_BODY	= "N";		/* boolean */
	$ANON_NICK		= "Guest User";
	$FLOOD_CHECK_TIME	= "30";		/* seconds */
	$ALLOW_EMAIL		= "N";		/* boolean */
	$SERVER_TZ		= "";
	$MEMBER_SEARCH_ENABLED	= "Y";		/* boolean */
	$FORUM_SEARCH		= "Y";		/* boolean */
	$MEMBERS_PER_PAGE	= "40";
	$POLLS_PER_PAGE		= "40";
	$THREAD_MSG_PAGER	= "5";
	$GENERAL_PAGER_COUNT	= "15";
	$SHOW_EDITED_BY		= "Y";		/* boolean */
	$EDITED_BY_MOD		= "N";		/* boolean */
	$EDIT_TIME_LIMIT	= "0";
	$DISPLAY_IP		= "N";		/* boolean */
	$LOGEDIN_TIMEOUT	= "5";		/* minutes */
	$MAX_IMAGE_COUNT	= "10";
	$LOGEDIN_LIST		= "Y";		/* boolean */
	$PUBLIC_STATS		= "N";		/* boolean */
	$FORUM_TITLE		= "Forsaken Realm forum";
	$SITE_HOME_PAGE		= "";
	$MAX_LOGIN_SHOW		= "25";
	$MAX_LOCATION_SHOW	= "25";
	$DEFAULT_THREAD_VIEW 	= "msg";    	/* toggle msg:tree:tree_msg:msg_tree */
	$SHOW_N_MODS		= "2";
	$ENABLE_AFFERO		= "N";		/* boolean */
	$TREE_THREADS_ENABLE	= "N";		/* boolean */
	$TREE_THREADS_MAX_DEPTH	= "15";
	$TREE_THREADS_MAX_SUBJ_LEN = "75";
	$FORUM_INFO		= "N";		/* boolean */
	$ONLINE_OFFLINE_STATUS	= "Y";		/* boolean */
	$FILE_LOCK		= "N";		/* boolean */
	$MODERATE_USER_REGS	= "N";		/* boolean */
	$REG_TIME_LIMIT		= "60";		/* 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';
?>

Re: Problem upgrading on test server [message #37524 is a reply to message #37509] Thu, 31 May 2007 18:14 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you please try FUDforum 2.7.7RC2

FUDforum Core Developer

[Updated on: Thu, 31 May 2007 18:14]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Kinda the same issue but it;s dragged
Next Topic: administrator - cannot access control panel
Goto Forum:
  

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

Current Time: Thu Nov 21 17:04:47 GMT 2024

Total time taken to generate the page: 0.02740 seconds