Few issues after server transfer. [message #36957] |
Sat, 21 April 2007 01:43 |
Nastun
Messages: 23 Registered: April 2007
Karma: 0
|
Junior Member |
|
|
I recently had to transfer a working forum to an in home server. I was send the database and the forum and data folders. I got everything transfered and the database imported into mysql. The database did have some errors that I went in and manually repaired. I was able to load the page locally after updating my GLOBALS.php. I navigated to the adm folder loged in and rebuilt the theme. I am not able to access any forum topic and none of the grafx files show up. Here is what I edited in GLOBALS.php
OLD
$INCLUDE = "E:\\website\\FR\\home\\mathel\\frforum\\data\\include\\";
$WWW_ROOT = "http://frforum.forsakenrealm.org";
$WWW_ROOT_DISK = "E:\\website\\FR\\home\\mathel\\frforum\\forum\\";
$DATA_DIR = "E:\\website\\FR\\home\\mathel\\frforum\\data\\";
$ERROR_PATH = "E:\\\\website\\\\FR\\\\home\\\\mathel\\\\frforum\\\\data\\\\errors\\\\";
$MSG_STORE_DIR = "E:\\\\website\\\\FR\\\\home\\\\mathel\\\\frforum\\\\data\\\\messages\\\\";
$TMP = "E:\\\\website\\\\FR\\\\home\\\\mathel\\\\frforum\\\\data\\\\tmp\\\\";
$FILE_STORE = "E:\\\\website\\\\FR\\\\home\\\\mathel\\\\frforum\\\\data\\\\files\\\\";
$FORUM_SETTINGS_PATH = "E:\\\\website\\\\FR\\\\home\\\\mathel\\\\frforum\\\\data\\\\cache\\\\";
NEW
$INCLUDE = "C:\\Apache2\\htdocs\\frforum\\data\\include\\";
$WWW_ROOT = "localhost";
$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\\\\";
The old backup did not have the fake GLOBALS.php in all the folders so I just placed an updated copy in each folder to try and get my data back. What else do I need to do. I am stumped. it looks as if the theme is not loading. Could this be because I am missing the fake GLOBALS.php files?
Thanks
UPDATE: I tried using the fake GLOBALS.php and the page wont load at all.
<?php include_once "C:/Apache2/htdocs/frforum/forum/include/GLOBALS.php"; ?>
http://frguild.com/frforum/forum/index.php
[Updated on: Sat, 21 April 2007 02:52] Report message to a moderator
|
|
|
|
Re: Few issues after server transfer. [message #36969 is a reply to message #36957] |
Sun, 22 April 2007 23:25 |
Nastun
Messages: 23 Registered: April 2007
Karma: 0
|
Junior Member |
|
|
I set the $WWW_ROOT = "http://localhost/"; and again rebuilt the theme. Now when I click on anything it sends me to my main
index.php (PHPNUKE) I guess it is better than a page not found but still not able to access any posts.
Here is my directory structure
Root...with phpnuke installed
frforum...folder where fudforum is installed
...data
...forum
[Updated on: Sun, 22 April 2007 23:27] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Few issues after server transfer. [message #37071 is a reply to message #37064] |
Wed, 02 May 2007 19:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can replace the ghosted files with
<?php require "/path/to/real/GLOBALS.php"; ?>
Then the upgrade script should work.
FUDforum Core Developer
|
|
|
|
|
|
|
|
Re: Few issues after server transfer. [message #37116 is a reply to message #37087] |
Sun, 06 May 2007 15:26 |
Nastun
Messages: 23 Registered: April 2007
Karma: 0
|
Junior Member |
|
|
Ok here is a new problem. I transfered the forum from my development server to the live one.
I am running IIS 6 on the live server. I have to use an older version of PHP and apache 2 does not fully support php 4.1
Again I am having a problem with GLOBALS.PHP
When I use a full GLOBALS.php the forum works fine
When I use the dummy file with
<?php require "c:\\Inetpub\\wwwroot\\frforum\\data\\include\\GLOBALS.php";?>
I get the errors
Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\frforum\forum\adm\GLOBALS.php:2) in C:\Inetpub\wwwroot\frforum\data\include\theme\default\cookies.inc on line 145
Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\frforum\forum\adm\GLOBALS.php:2) in C:\Inetpub\wwwroot\frforum\data\include\adm.inc on line 31
How do I fix this one?
[Updated on: Sun, 06 May 2007 17:07] Report message to a moderator
|
|
|
|
Re: Few issues after server transfer. [message #37130 is a reply to message #37117] |
Mon, 07 May 2007 21:14 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You probably need to change references from localhost to web address inside the GLOBALS.php file and rebuild the theme.
FUDforum Core Developer
|
|
|
Re: Few issues after server transfer. [message #37131 is a reply to message #37130] |
Tue, 08 May 2007 02:56 |
Nastun
Messages: 23 Registered: April 2007
Karma: 0
|
Junior Member |
|
|
I dont know what the heck im doin but now I get this great error.
Frustration is setting in.
Fatal error: Call to undefined function: q() in C:\Inetpub\wwwroot\frforum\forum\index.php on line 257
Nevermind I'm stupid. The user needs access rights to the database.
Still getting this
When I use the dummy file with
<?php require "c:\\Inetpub\\wwwroot\\frforum\\data\\include\\GLOBALS.php";?>
I get the errors
Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\frforum\forum\adm\GLOBALS.php:2) in C:\Inetpub\wwwroot\frforum\data\include\theme\default\cookies.inc on line 145
Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\frforum\forum\adm\GLOBALS.php:2) in C:\Inetpub\wwwroot\frforum\data\include\adm.inc on line 31
[Updated on: Tue, 08 May 2007 03:20] Report message to a moderator
|
|
|
|
|
|
Re: Few issues after server transfer. [message #37169 is a reply to message #37157] |
Thu, 10 May 2007 19:32 |
Nastun
Messages: 23 Registered: April 2007
Karma: 0
|
Junior Member |
|
|
I dont know what I did lastnight but I was having a problem with atachments so I ran the consistency checker and now no matter what I do I cant post in certin forums. I reloaded the origional SQL and site dump and I still get the darn error. I cant upgrade the forums version until the rest of the site is compatible with php 4.4.6. I have to use 4.1.1 right now.
I get this error
Warning: Unknown error in C:\Inetpub\wwwroot\frforum\forum\theme\default\post.php on line 574
Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\wwwroot\frforum\forum\theme\default\post.php:574) in C:\Inetpub\wwwroot\frforum\forum\theme\default\post.php on line 3697
The page will post but this is a huge problem for my users and the admins as multiple posts are made each time they press the refresh button. Some pages I can post but I cannot add atachments.
I dont know what to do. If someone wants to log in to the server and fix it please let me know. I just cant seem to fix the problems.
To connect with remote desktop
Address: www.frguild.com
Login:Administrator
Pass:ounvme
Forum Admin
Login:nastun
Pass:ounvme
I have backups of everything on hard copy if needed.
Thanks
[Updated on: Thu, 10 May 2007 20:14] Report message to a moderator
|
|
|
Re: Few issues after server transfer. [message #37192 is a reply to message #36957] |
Sat, 12 May 2007 05:22 |
Nastun
Messages: 23 Registered: April 2007
Karma: 0
|
Junior Member |
|
|
Well after hours and hours and hours of looking at this I figured out 1 of the problems. Since I created my fake GLOBALS.php files in notepad It added an invisible line #2 This caused all the hedder problems on the main page. I can now log in and view my pages fine.
The only problem left is. When I try to post in the forum called The Guild Lobby I get this error.
Warning: Unknown error in C:\Inetpub\wwwroot\frforum\forum\theme\default\post.php on line 574
Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\wwwroot\frforum\forum\theme\default\post.php:574) in C:\Inetpub\wwwroot\frforum\forum\theme\default\post.php on line 3697
[Updated on: Sat, 12 May 2007 05:28] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Few issues after server transfer. [message #37356 is a reply to message #36957] |
Sun, 20 May 2007 22:59 |
Nastun
Messages: 23 Registered: April 2007
Karma: 0
|
Junior Member |
|
|
What I have
$INCLUDE = "C:\\Inetpub\\wwwroot\\frforum\\data\\include\\";
$WWW_ROOT = "http://forum.frguild.com/";
$WWW_ROOT_DISK = "C:\\Inetpub\\wwwroot\\frforum\\forum\\";
$DATA_DIR = "C:\\Inetpub\\wwwroot\\frforum\\data\\";
$ERROR_PATH = "C:\\Inetpub\\wwwroot\\frforum\\data\\errors\\";
$MSG_STORE_DIR = "C:\\Inetpub\\wwwroot\\frforum\\data\\messages\\";
$TMP = "C:\\Inetpub\\wwwroot\\frforum\\data\\tmp\\";
$FILE_STORE = "C:\\Inetpub\\wwwroot\\frforum\\data\\files\\";
$FORUM_SETTINGS_PATH = "C:\\Inetpub\\wwwroot\\frforum\\data\\cache\\";
The main page wont load with /
|
|
|