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

Home » FUDforum » How To » Moving whole website to a different server
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Moving whole website to a different server [message #40455 is a reply to message #40290] Mon, 03 March 2008 20:09 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Thank you so much! You are a genius as well as a kind person! I changed the attach.inc.t, forumsel.inc.t, and index.php.t files to bracket CASE function references, and I changed the one "reads" to "_reads" and then I rebuilt the theme again and the forum seems to be up and running.
Re: Moving whole website to a different server [message #40471 is a reply to message #40455] Fri, 07 March 2008 23:03 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
I seem to be having another problem in moving the forum from one site to another. Can you tell me what is going on and what to do about it? Can it have anything to do with having mysql as the database name on the old site, but rpimysql as the databasename on the new site?
On the old site, I went to the administrative control panel and dumped a backup of the active forum. I left the box checked so the output would be compressed.
I downloaded the dump file to my desktop, then uploaded it on the new site and put it in the same folder where I got it.
On the new site, I went to the control panel and selected "Import Data" and a small green gauge came on the bottom of the screen. It speedily got to about 50% but then hung there. I did it twice. One of the times I went home and left it overnite. In the morning, I had a browser error. In looking at the forum, The home page was updated with counts, etc., but on all of the forums there are no messages. Even though several of the forums show multiple "pages" of messages, they all say there are no messages in this forum. The apache log shows:
[Fri Mar 07 21:39:27 2008] [error] [client 66.249.67.54] PHP Fatal error: SQL Error has occurred, please contact the <a href="mailto:wjb(at)rpinet(dot)com?subject=SQL%20Error">administrator</a> of the forum and have them review the forum's SQL query log in /usr/local/apache2/htdocs/wforum/index.php on line 49
The last two errors in the forum sql error file were:
[Fri Mar 7 22:15:00 GMT 2008] KC91c3IvbG9jYWwvYXBhY2hlMi9odGRvY3Mvd2ZvcnVtL2luZGV4LnBocDoxMTY8YnIgLz4KL3V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bGlkIGxpbmsuIFBsZWFzZSBub3RpZnkgdGhlIDxhIGhyZWY9Im 1haWx0bzp3amJAcnBpbmV0LmNvbSI+d2VibWFzdGVyPC9hPiBob3cgeW91IGdvdCBoZXJlLjxic iAvPltVc2VyIElQXSA2Ni4yNDkuNjcuNTQ8YnIgLz5bUmVxdWVzdGVkIFVSTF0gaHR0cDovL3Jw aXZwcy5zZWN1cmVzaXRlcy5uZXQvd2ZvcnVtL2luZGV4LnBocD90PXRyZWUmdGg9MzEwNiZyaWQ 9MCZTPWE5NDhkZTU5MDk0NjUyOWE2Y2NiZDkwMzRiZWY1YzBiPGJyIC8+

[Updated on: Fri, 07 March 2008 23:07]

Report message to a moderator

Re: Moving whole website to a different server [message #40486 is a reply to message #40471] Sun, 09 March 2008 17:34 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
Looks like a session problem, have you tried clearing out the sessions table?

FUDforum Core Developer
Re: Moving whole website to a different server [message #40491 is a reply to message #40290] Mon, 10 March 2008 16:42 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Thanks for the response. No. I see no function on the control panel to clear the session table. Would I do it from the mysql command line? What would the syntax be?
Re: Moving whole website to a different server [message #40497 is a reply to message #40491] Mon, 10 March 2008 23: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
Just do delete * from table;

FUDforum Core Developer
Re: Moving whole website to a different server [message #40503 is a reply to message #40497] Tue, 11 March 2008 18:33 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Thank you.
when I first looked at it, the fud261_ses table contained over 2000 "entries". After deleting the entries once, the import hung again. Looking at that table again, it had over 300 entries, so I deleted them again and imported again.

There was no change in the operation after doing this. The import still essentially halts at about half way, and afterwards there are no messages in any of the forums.

However, I seem to have bolluxed things up, somehow, because now when I get the adm login screen it does not recognize my admin username/password. Also, it appears I may have interrupted the rebuilding of a theme, because the control panel (before I got excluded from viewing it) contained a long list of warnings, on through all the various languages, of which the first few were:

WARNING: couldn't create '/usr/local/forumdata//include/GLOBALS_HELP'
WARNING: couldn't create '/usr/local/forumdata//include/adm.inc'
WARNING: couldn't create '/usr/local/forumdata//include/cat.inc'
WARNING: couldn't create '/usr/local/forumdata//include/core.inc'
WARNING: couldn't create '/usr/local/forumdata//include/customtags.inc'
WARNING: couldn't create '/usr/local/forumdata//include/email_filter.inc'
WARNING: couldn't create '/usr/local/forumdata//include/email_msg_format.inc'
WARNING: couldn't create '/usr/local/forumdata//include/ext.inc'
WARNING: couldn't create '/usr/local/forumdata//include/forum_adm.inc'
WARNING: couldn't create '/usr/local/forumdata//include/glob.inc'
WARNING: couldn't create '/usr/local/forumdata//include/groups_adm.inc'
WARNING: couldn't create '/usr/local/forumdata//include/ipfilter.inc'
WARNING: couldn't create '/usr/local/forumdata//include/login_filter.inc'

The forumdata/errors/sql_errors file contained:

[Tue Mar 11 17:42:04 GMT 2008] KC91c3IvbG9jYWwvYXBhY2hlMi9odGRvY3Mvd2ZvcnVtL2luZ
[Tue Mar 11 17:44:38 GMT 2008] KC91c3IvbG9jYWwvYXBhY2hlMi9odGRvY3Mvd2ZvcnVtL2luZ
[Tue Mar 11 17:44:50 GMT 2008] KC91c3IvbG9jYWwvYXBhY2hlMi9odGRvY3Mvd2ZvcnVtL2luZ
[Tue Mar 11 17:45:00 GMT 2008] KC91c3IvbG9jYWwvYXBhY2hlMi9odGRvY3Mvd2ZvcnVtL2luZ
[Tue Mar 11 18:02:40 GMT 2008] KC91c3IvbG9jYWwvYXBhY2hlMi9odGRvY3Mvd2ZvcnVtL2luZ
[Tue Mar 11 18:05:44 GMT 2008] KC91c3IvbG9jYWwvYXBhY2hlMi9odGRvY3Mvd2ZvcnVtL2luZ


Finally, the apache log contained several of the following messages (along with a lot of warnings and notices):

[Tue Mar 11 17:42:04 2008] [error] [client 66.249.73.18] PHP Fatal error: SQL Error has occurred, please contact the <a href="mailto:wjb(at)rpinet(dot)com?subject=SQL%20Error">administrator</a> of the forum and have them review the forum's SQL query log in /usr/local/apache2/htdocs/wforum/index.php on line 49

[Tue Mar 11 17:45:00 2008] [error] [client 66.249.73.18] PHP Fatal error: SQL Error has occurred, please contact the <a href="mailto:wjb(at)rpinet(dot)com?subject=SQL%20Error">administrator</a> of the forum and have them review the forum's SQL query log in /usr/local/apache2/htdocs/wforum/index.php on line 49

I do not understand these latter message at all.

It looks like the only thing I can do is repeat moving the forum from the beginning. using all the info in this thread as a guide. Is that my best course?
Re: Moving whole website to a different server [message #40507 is a reply to message #40503] Wed, 12 March 2008 17:37 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
Yes, you should be able to go that route.

FUDforum Core Developer
Re: Moving whole website to a different server [message #40521 is a reply to message #40507] Sat, 15 March 2008 00:04 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Repeating the move from one host to another:

I dumped my mysql database and copied the folders and data to my new system. I went through this very thread and made all the permissions canges and all the code changes that were appropriate, and I made symlinks to the GLOBALS.php file in my wforum and wforum/adm directories. Darned if I didn't end up with the same initial problem as I had before. The php "require" function appears to be having trouble with GLOBALS.php.

I did one other thing, perhaps it matters. I transferred all the files from my initial document root at /usr/local/apache2/htdocs to a different document root at /home/rpivps/www/rpinet.com. This is the folder the production website will work out of. I believe I changed the appache config file accordingly and all of my other web pages work. I did put the forumdata folder in the same place where it was.

The following message was generated lots of times while the symlinks were in place:
[Fri Mar 14 23:19:14 2008] [error] [client 66.249.73.18] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required './GLOBALS.php' (include_path='.:') in /home/rpivps/www/rpinet.com/wforum/index.php on line 13

So, figuring that the symlinks were not working, I removed them and put a physical copy of GLOBALS.php in both places. That, at least changed my error log message slightly to:

[Fri Mar 14 23:28:09 2008] [error] [client 71.6.3.234] PHP Fatal error: Unknown: Failed opening required '/home/rpivps/www/rpinet.com/wforum/adm/index.php' (include_path='.:') in Unknown on line 0
[Fri Mar 14 23:28:42 2008] [error] [client 71.6.3.234] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required './GLOBALS.php' (include_path='.:') in /home/rpivps/www/rpinet.com/wforum/index.php on line 13

The actual GLOBALS.php file is owned by rpivps (my userid). Root is listed as the symlink owner. Can that have something to do with the problem?
Re: Moving whole website to a different server [message #40532 is a reply to message #40521] Mon, 17 March 2008 03:39 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
IT sounds like the web server does not have access to the files. Try chmoding all .php files 666

FUDforum Core Developer
Re: Moving whole website to a different server [message #40535 is a reply to message #40532] Mon, 17 March 2008 18:14 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Thank you.
Upon changing the php files in the adm folder from 600 to 666, my login screen came up. Now, however, it does not seem to want to accept my administrative login and password! the error_log for the first several login attempts reads:

[Mon Mar 17 18:02:06 2008] [error] [client 71.6.3.234] PHP Notice: Only variable references should be returned by reference in /usr/local/forumdata/include/theme/default/db.inc on line 211, referer: http://rpivps.securesites.net/wforum/adm/admloginuser.php?rid=0&S=54ef7 7c493bc7b98f941601902063f13
[Mon Mar 17 18:02:06 2008] [error] [client 71.6.3.234] PHP Notice: Only variable references should be returned by reference in /usr/local/forumdata/include/theme/default/db.inc on line 211, referer: http://rpivps.securesites.net/wforum/adm/admloginuser.php?rid=0&S=54ef7 7c493bc7b98f941601902063f13
[Mon Mar 17 18:02:07 2008] [error] [client 71.6.3.234] PHP Notice: Only variable references should be returned by reference in /usr/local/forumdata/include/theme/default/db.inc on line 211, referer: http://rpivps.securesites.net/wforum/adm/admloginuser.php?rid=0&S=54ef7 7c493bc7b98f941601902063f13

Is there a default username/password, or a way I can check for it in a table? Or is the trouble caused by a problem with db.inc?


Re: Moving whole website to a different server [message #40536 is a reply to message #40535] Mon, 17 March 2008 22:35 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
Those are notices and can be ignore. Are you using the login/password from the original forum install? Have you tried other people's logins?

FUDforum Core Developer
Re: Moving whole website to a different server [message #40538 is a reply to message #40536] Mon, 17 March 2008 23:48 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Thanks for the reply.

Yes, I am using the same login from the original install.
I tried a second and third userid, after testing out the passwords on the "old" installation, and upon putting the same info into the login panel, I generated this message on the login screen above the login box in red letters:

Only administrators with proper access credentials can login via this control panel

The above message stays on the screen if I use another non-administrator id, but when I go back to the administrator id, theh red message disappears. It seems to know that it is an administrator, but won't complete the login.

Somehow, I don't think the system is correctly getting access to all of the table data. I say this because I have manually selected the first hundred or so records from my fud261_users table, and my administrator login is the second one in the table (after Anonymous Coward whose password is 1). The table appears to be in good order, with the password field reading a consistent number of gibberish characters for all the entries.

Another possible clue: a Google "bot" is repeatedly generating "Fatal Error" messages (along with some Notice messages) in the log file that say:

[Mon Mar 17 23:34:41 2008] [error] [client 66.249.73.71] PHP Notice: Only variable references should be returned by reference in /home/rpivps/www/rpinet.com/wforum/index.php on line 214
[Mon Mar 17 23:34:41 2008] [error] [client 66.249.73.71] PHP Notice: Only variable references should be returned by reference in /home/rpivps/www/rpinet.com/wforum/index.php on line 214
[Mon Mar 17 23:34:41 2008] [error] [client 66.249.73.71] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/rpivps/www/rpinet.com/wforum/theme/default/index.php' (include_path='.:') in /home/rpivps/www/rpinet.com/wforum/index.php on line 1145

Can I override the password in the table somehow?
Or is there still some lurking permissions issue blocking access?

[Updated on: Tue, 18 March 2008 17:54]

Report message to a moderator

Re: Moving whole website to a different server [message #40549 is a reply to message #40538] Tue, 18 March 2008 18:13 Go to previous messageGo to next message
Ilia is currently offline  Ilia   United States
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What is the users_opt field value for the admin user?

FUDforum Core Developer
Re: Moving whole website to a different server [message #40552 is a reply to message #40549] Tue, 18 March 2008 20:17 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Users_opt field value for administrator is 5405687

But now my situation has changed slightly. I found a messages file in /usr/local/forumdata/thm/default/tmpl which had only 600 permissions. After changing it to 666, my administrator screen did finally show up!

However, I don't think the theme rebuild worked because it generated the following message:

Missing Message entry custom_avatar_queue inside i18n/english/msg

Plus, the forum home page won't display.
I found a msg file at /usr/local/forumdata/thm/default/i18n/english, and I tried peeking at it with vi. It does appear to have a line in it which has the string - custom_avatar_queue followed by some space and then Custom Avatar Queue. Can you tell me what is going on? And what to do?

[Updated on: Wed, 19 March 2008 01:14]

Report message to a moderator

Re: Moving whole website to a different server [message #40557 is a reply to message #40552] Wed, 19 March 2008 19:15 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
I think I may be learning a little.

I looked further into the status of files on the web root path, and I found out that the msg file above was 600. Upon changing it to 666 the message changed to say it couldn't write to actions.php. That led me on further permissions hunts, and I changed the default directory from 700 to 775, and so on with pdf.php, and rdf.php (644 --> 664). Somehow, I must have gotten confused and neglected to look at these permissions. The last few diagnostic messages were actually helpful, whereas the earlier ones seemed misleading!

Now, everything seems to work properly. Once again, thank you for the encouragement and assistance!

Should I be concerned to tighten some of the permissions back up?

[Updated on: Wed, 19 March 2008 19:30]

Report message to a moderator

Re: Moving whole website to a different server [message #40561 is a reply to message #40557] Thu, 20 March 2008 00:11 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
You can tighten them but only if you change the file permissions so that the owner of the web files is the web server user.

FUDforum Core Developer
Re: Moving whole website to a different server [message #40600 is a reply to message #40561] Mon, 24 March 2008 17:36 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Everything seems to be working on my moved site, except when I go to the post form to insert a message, the message icons and smiley shortcuts don't show up. Instead the little graphic placeholder is repeated. Sad Is there a path or permission issue involved?
Re: Moving whole website to a different server [message #40601 is a reply to message #40600] Mon, 24 March 2008 18:09 Go to previous messageGo to next message
Ilia is currently offline  Ilia   United States
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Did you update the file paths inside GLOBALS.php ? If so, rebuild the theme...

FUDforum Core Developer
Re: Moving whole website to a different server [message #40603 is a reply to message #40600] Mon, 24 March 2008 20:46 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
I have a sense that some of this trouble may be due to moving the site domain name. Anyway, yes, I edited the GLOBALS.php file and changed the $WWW_ROOT value to reflect the original (now re-oriented) domain name, and I checked the other values, which were correct in the GLOBALS.php file. So, I went in to the control panel and rebuilt the theme.
It may not have rebuilt, because I noticed in the control panel itself, the $WWW_ROOT_DISK path was not the value in the GLOBALS.php file. In fact, somehow, it was the value that was where the forum was found on the OLD SERVER. I changed the value to be correct. After a couple more rebuild attempts, I noticed the "set" button below Globals on the control panel. So, I again pasted the correct value in the $WWW_ROOT_DISK field, clicked on "set" and rebuilt the theme again. This time, it left the correct path showing on the control panel.
However, the icons and smileys are still not showing up on the post form. It sure does feel like a path error, but where to look?
Re: Moving whole website to a different server [message #40605 is a reply to message #40603] Tue, 25 March 2008 20:19 Go to previous messageGo to next message
Ilia is currently offline  Ilia   United States
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Make sure that GLOBALS.php in the admin and forum's web root directory are symlinks to the GLOBALS.php inside the include directory.

FUDforum Core Developer
Re: Moving whole website to a different server [message #40617 is a reply to message #40605] Fri, 28 March 2008 19:22 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Well, I have checked and rechecked the GLOBALS.php file and the symlinks, which both say:
lrwxr-xr-x 1 rpivps www 40 Mar 15 01:07 GLOBALS.php -> /usr/local/forumdata/include/GLOBALS.php
I CD'd to the respective folders and edited the GLOBALS.php file and in both cases found the content identical to the actual GLOBALS.php file at the above path.
I notice that clicking on one of the little placeholder icons generates an error (displayed in the footer or status bar), as does each of the placeholders for smileys, and as does the show all smileys link.
Except for participants not being able to insert these icons and smileys, the site seems to be running strong, including the accurate display of at least one smiley with sunglasses (which has been there for a long time) on my forum home page.
I hope you can give me a tip or two. I can't imagine the site working so well with a basic GLOBALS.php error, and yet, some sort of path error seems to make sense. Is there a chance that yet another permission issue may be involved? I did change all the file ownership to my userid. Thanks!
Re: Moving whole website to a different server [message #40626 is a reply to message #40617] Sun, 30 March 2008 14: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
Have you tried rebuilding the theme via the theme manager?

FUDforum Core Developer
Re: Moving whole website to a different server [message #40628 is a reply to message #40626] Sun, 30 March 2008 19:38 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
I have rebuilt the theme using the theme manager many times now, and the result seems the same every time: no icons/smileys.

But... I just got it! With some guesswork help from my ISP tech support. The clue came with a whole slew of messages like this:
[Mon Mar 31 16:28:18 2008] [error] [client 198.65.168.24] (13)Permission
denied: file permissions deny server access:
rpinet.com/wforum/images/smiley_icons/icon_redface.gif,
referer:
http://www.rpinet.com/wforum/index.php?t=post&reply_to=22742&rid=47 8&S=49d82ee55f564e6d1c9f46cd8d9e178e

I went into this directory:
rpinet.com/wforum/images/smiley_icons
All the image files were at 600 permission. I ran this command chmod 755 *

Then, I went into this directory:
rpinet.com/wforum/images/message_icons
All the image files were at 600 permission. I ran this command chmod 755 *

The icons and smileys now show up like they are supposed to.
How the permissions suddenly got set so restricted remains a mystery to me, but the board is up and running. Thanks again for all your help.

[Updated on: Mon, 31 March 2008 16:58]

Report message to a moderator

Re: Moving whole website to a different server [message #40680 is a reply to message #40628] Wed, 02 April 2008 19:50 Go to previous message
voisardf is currently offline  voisardf   Switzerland
Messages: 3
Registered: March 2008
Location: Switzerland
Karma: 0
Junior Member
hello,

I need to move my FUDforum (2.7.6) installation to a new ISP and encounter some of the problems you described... and solved ... and others too. Rolling Eyes
So given the fact you succeded the migration could I ask you to provide a little step by step explanation for all the poor souls out there (like me Wink) how to achieve this victory ?

I would really appreciate any help!

Many thanks in advance!
François

[Updated on: Wed, 02 April 2008 19:50]

Report message to a moderator

Pages (2): [ «    1  2]  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: disable poll
Next Topic: query string for subject/body
Goto Forum:
  

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

Current Time: Tue May 14 22:37:02 GMT 2024

Total time taken to generate the page: 0.02214 seconds