<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Message bodies gone after upgrade</title>
        <description> Hi, I have encountered a problem when upgrading from 5.1.22 to 5.2.7: the bodies of certain messages are not shown, even though they are in the DB. I have not been able to find any pattern for the missing ones, need help on this one.

I include an example of a row in forums_messages where phorum fails to show the body, only author subject and nothing:

The URL for that message is: [motorpsycho.fix.no]

mysql&amp;gt; select * from forums_messages where subject like &amp;#039;%Empty Bottle&amp;#039; and author=&amp;#039;Ivan&amp;#039;;
+------------+----------+--------+-----------+--------+----------------------------------------+---------------------------------------------------------------------------------------------------------------------+-------+----------------------------+--------+-------------------------------------------+-------------+---------+--------------+----------------+------+------------+--------+-----------+--------+-------------------+----------------+---------------+-------+-----------------+
| message_id | forum_id | thread | parent_id | author | subject                                | body                                                                                                                | email | ip                         | status | msgid                                     | modifystamp | user_id | thread_count | moderator_post | sort | datestamp  | meta   | viewcount | closed | recent_message_id | recent_user_id | recent_author | moved | threadviewcount |
+------------+----------+--------+-----------+--------+----------------------------------------+---------------------------------------------------------------------------------------------------------------------+-------+----------------------------+--------+-------------------------------------------+-------------+---------+--------------+----------------+------+------------+--------+-----------+--------+-------------------+----------------+---------------+-------+-----------------+
|      50658 |        4 |  50653 |     50653 | Ivan   | Re: 2008-06-22: Chicago - Empty Bottle | wow! 15 years!! you were veeeery patient. that must be like christmas, birthday.....altogether.
i´m happy for you! |       | p57A1C46B.dip.t-dialin.net |      2 | 7977dd6f0f12f65e6246d7333a46e8b5.Setlists |           0 |      21 |            0 |              0 |    2 | 1214265760 | a:0:{} |         0 |      0 |                 0 |              0 |               |     0 |               0 | 
+------------+----------+--------+-----------+--------+----------------------------------------+---------------------------------------------------------------------------------------------------------------------+-------+----------------------------+--------+-------------------------------------------+-------------+---------+--------------+----------------+------+------------+--------+-----------+--------+-------------------+----------------+---------------+-------+-----------------+
1 row in set (0.20 sec)</description>
        <link>https://www.phorum.org/support/read.php?61,131838,131838#msg-131838</link>
        <lastBuildDate>Sat, 10 Oct 2026 15:31:20 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,131838,131846#msg-131846</guid>
            <title>Re: Message bodies gone after upgrade</title>
            <link>https://www.phorum.org/support/read.php?61,131838,131846#msg-131846</link>
            <description><![CDATA[ Thanks, Axumandias, looks like it&#039;s fixed. I needed to include<br />
&quot;charset&quot;       =&gt;  &quot;utf8&quot; <br />
in include/db/config.php]]></description>
            <dc:creator>vegardh</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Sat, 12 Jul 2008 11:52:00 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,131838,131845#msg-131845</guid>
            <title>Re: Message bodies gone after upgrade</title>
            <link>https://www.phorum.org/support/read.php?61,131838,131845#msg-131845</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>vegardh</strong><br />
It&#039;s the same database, same box etc. as before the upgrade.</div></blockquote>
<br />
What version of MySQL are you running?  I found an upgrade to v5 worked best for me.<br />
<br />
As far as charset, check your /include/db/config.php for the charset there, then be sure that your MySQL collation is the same, not only for the database as a whole, but also each table.  Finally, make sure the $PHORUM[&quot;DATA&quot;][&#039;CHARSET&#039;] in your include/lang/YOURLANG.php file is also set to the same charset.]]></description>
            <dc:creator>Joe Curia</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Sat, 12 Jul 2008 11:34:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,131838,131844#msg-131844</guid>
            <title>Re: Message bodies gone after upgrade</title>
            <link>https://www.phorum.org/support/read.php?61,131838,131844#msg-131844</link>
            <description><![CDATA[ Maurice: did not solve it. <br />
Thomas: could you be more specific, I don&#039;t know what to check. It&#039;s the same database, same box etc. as before the upgrade.]]></description>
            <dc:creator>vegardh</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Sat, 12 Jul 2008 11:10:56 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,131838,131840#msg-131840</guid>
            <title>Re: Message bodies gone after upgrade</title>
            <link>https://www.phorum.org/support/read.php?61,131838,131840#msg-131840</link>
            <description><![CDATA[ and did you check charsets?]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Sat, 12 Jul 2008 05:49:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,131838,131839#msg-131839</guid>
            <title>Re: Message bodies gone after upgrade</title>
            <link>https://www.phorum.org/support/read.php?61,131838,131839#msg-131839</link>
            <description><![CDATA[ Did you try with the default emerald template to rule out a templating problem?<br />
The same goes for modules.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Sat, 12 Jul 2008 05:48:13 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?61,131838,131838#msg-131838</guid>
            <title>Message bodies gone after upgrade</title>
            <link>https://www.phorum.org/support/read.php?61,131838,131838#msg-131838</link>
            <description><![CDATA[ Hi, I have encountered a problem when upgrading from 5.1.22 to 5.2.7: the bodies of certain messages are not shown, even though they are in the DB. I have not been able to find any pattern for the missing ones, need help on this one.<br />
<br />
I include an example of a row in forums_messages where phorum fails to show the body, only author subject and nothing:<br />
<br />
The URL for that message is: [<a href="http://motorpsycho.fix.no/comeonin/forums/read.php?4,50653,50658#msg-50658" target="_blank"  rel="nofollow">motorpsycho.fix.no</a>]<br />
<br />
mysql&gt; select * from forums_messages where subject like &#039;%Empty Bottle&#039; and author=&#039;Ivan&#039;;<br />
+------------+----------+--------+-----------+--------+----------------------------------------+---------------------------------------------------------------------------------------------------------------------+-------+----------------------------+--------+-------------------------------------------+-------------+---------+--------------+----------------+------+------------+--------+-----------+--------+-------------------+----------------+---------------+-------+-----------------+<br />
| message_id | forum_id | thread | parent_id | author | subject                                | body                                                                                                                | email | ip                         | status | msgid                                     | modifystamp | user_id | thread_count | moderator_post | sort | datestamp  | meta   | viewcount | closed | recent_message_id | recent_user_id | recent_author | moved | threadviewcount |<br />
+------------+----------+--------+-----------+--------+----------------------------------------+---------------------------------------------------------------------------------------------------------------------+-------+----------------------------+--------+-------------------------------------------+-------------+---------+--------------+----------------+------+------------+--------+-----------+--------+-------------------+----------------+---------------+-------+-----------------+<br />
|      50658 |        4 |  50653 |     50653 | Ivan   | Re: 2008-06-22: Chicago - Empty Bottle | wow! 15 years!! you were veeeery patient. that must be like christmas, birthday.....altogether.<br />
i´m happy for you! |       | p57A1C46B.dip.t-dialin.net |      2 | 7977dd6f0f12f65e6246d7333a46e8b5.Setlists |           0 |      21 |            0 |              0 |    2 | 1214265760 | a:0:{} |         0 |      0 |                 0 |              0 |               |     0 |               0 | <br />
+------------+----------+--------+-----------+--------+----------------------------------------+---------------------------------------------------------------------------------------------------------------------+-------+----------------------------+--------+-------------------------------------------+-------------+---------+--------------+----------------+------+------------+--------+-----------+--------+-------------------+----------------+---------------+-------+-----------------+<br />
1 row in set (0.20 sec)]]></description>
            <dc:creator>vegardh</dc:creator>
            <category>Phorum Support</category>
            <pubDate>Sat, 12 Jul 2008 05:42:02 -0500</pubDate>
        </item>
    </channel>
</rss>
