|
|
Re: Moving whole website to a different server |
Mon, 17 March 2008 19:48 |
|
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?
|
|
|
Re: Moving whole website to a different server |
Tue, 18 March 2008 16:17 |
|
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?
|
|
Re: Moving whole website to a different server |
Wed, 19 March 2008 15:15 |
|
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?
|
|
|
Re: Moving whole website to a different server |
Mon, 24 March 2008 13:36 |
|
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. Is there a path or permission issue involved?
|
|
|
Re: Moving whole website to a different server |
Mon, 24 March 2008 16:46 |
|
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 |
Fri, 28 March 2008 15:22 |
|
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 |
Sun, 30 March 2008 15:38 |
|
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.
|
|
Re: Moving whole website to a different server |
Wed, 02 April 2008 15:50 |
|
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.
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 ) how to achieve this victory ?
I would really appreciate any help!
Many thanks in advance!
François
|
|