Problem with private messaging [message #21563] |
Fri, 03 December 2004 21:39 |
Mathieu
Messages: 47 Registered: December 2004
Karma: 0
|
Member |
|
|
I'm trying to make a recently transferred forum work on a new server. The FUDforum version is 2.3.5.
Everything seems to work all right: I can post messages, edit them, send an e-mail... But I have a problem with private messaging.
I can read old PMs, but when I try to send a private message, or if I store it in the drafts folder, then I get an empty message.
However, if I look at the file containing all private messages, I can read the message. The problem is in the table "fud23_pmsg": everything seems OK, but the private message length stored in it is zero, which explains why I get an empty message!
So, I'm trying to understand why this is happening: all forum files are owned by user and group Apache run as (nobody), the messages directory permissions are set to 700, the permissions of the files containing private messages and forum messages are both set to 600.
Please, could someone try to help me?
Mathieu
|
|
|
|
|
Re: Problem with private messaging [message #21572 is a reply to message #21569] |
Sat, 04 December 2004 02:03 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The messages will be ignored.
As far as problems with an upgrade most people don't have any however once in a while some system setting causes an issue. However, in most situations it is perfectly safe, even more so if you do a backup of the forum 1st so you have a quick restore path.
FUDforum Core Developer
|
|
|
|
Re: Problem with private messaging [message #21581 is a reply to message #21580] |
Sun, 05 December 2004 17:19 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can safely remove all data from that table.
DELETE FROM fud23_action_log;
query would take care of that for you.
FUDforum Core Developer
|
|
|
|
Re: Problem with private messaging [message #21583 is a reply to message #21582] |
Sun, 05 December 2004 18:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, the upgrade script is going to run for a while since it needs to many things for a forum this old. You can re-run it again, until you get a success output.
FUDforum Core Developer
|
|
|
|
Re: Problem with private messaging [message #21586 is a reply to message #21585] |
Sun, 05 December 2004 20:09 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If you modified the database structure of the forum such as adding new fields to tables, you should definately check that option.
FUDforum Core Developer
|
|
|
Re: Problem with private messaging [message #21588 is a reply to message #21586] |
Sun, 05 December 2004 21:21 |
Mathieu
Messages: 47 Registered: December 2004
Karma: 0
|
Member |
|
|
I didn't modify the database structure: I don't think removing all entries in a table (fud23_action_log) changes the structure. So, unless someone else did, as I wasn't maintaining this forum on the old server, I chose not to use this option.
Here's what I get now:
Beginning SQL Upgrades
SQL Upgrades Complete
Creating Avatar Cache
Notice: Undefined offset: 6 in /home/www/htdocs/nolwenn/public_html/forum/upgrade.php on line 1252
Notice: Undefined offset: 6 in /home/www/htdocs/nolwenn/public_html/forum/upgrade.php on line 1253
Populating pdest field for private messages
Reserving id for anon users
Adding GLOBAL Variables
Compiling theme default
DUPE: SECTION -> approved_avatar_title found in /srv/www/htdocs/nolwenn/forumdata/thm/french/tmpl/avatar_msg.tmpl (now parsing /srv/www/htdocs/nolwenn/forumdata/thm/french/tmpl/users_adm.tmpl)
I have to tell you: srv is a symlink to home. I know this may be not really clean, but I wanted to have the same path as on the old server: there are three partitions on the new server hard drive, one for /home (the biggest one), one for /, and a swap partition.
Do you have any idea of what I should do now?
[Updated on: Sun, 05 December 2004 21:48] Report message to a moderator
|
|
|
Re: Problem with private messaging [message #21589 is a reply to message #21588] |
Sun, 05 December 2004 23:19 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Ok, you're just about done.
Remove the /srv/www/htdocs/nolwenn/forumdata/thm/french/tmpl/users_adm.tmpl file, go into the admin section of the forum and rebuild the theme.
If that goes without errors, then run the consistency checker, once that runs you are done.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
|
|
Re: Problem with private messaging [message #21607 is a reply to message #21605] |
Mon, 06 December 2004 17:42 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Now you need to run the consistency checker, once that completes it's run you are done with the upgrade.
FUDforum Core Developer
|
|
|
|
Re: Problem with private messaging [message #21609 is a reply to message #21608] |
Mon, 06 December 2004 18:06 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The consistency checker will take a while to run, let be as long as "page loading" graphic is spinning or whatever. If you have output buffering enable it won't print anything until it is done.
FUDforum Core Developer
|
|
|
|
|
|
|