Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: saosangmo on December 19, 2014, 04:27:29 AM

Title: Missing message icon, bug?
Post by: saosangmo on December 19, 2014, 04:27:29 AM
hi,

After I convert SMF 2.0.9 to 2.1 in some topic, message icon don't display.

You can see it here http://opencms.edu.vn/index.php/topic,68.msg1011.html#new
Title: Re: Missing message icon, bug?
Post by: Shambles on December 19, 2014, 04:58:29 AM
Your message icon, for some reason, is being requested as

http://opencms.edu.vn/Themes/default/images/post/.png  (note the "/.png")


I don't know 2.1 so cannot assist further at this time.

Title: Re: Missing message icon, bug?
Post by: margarett on December 19, 2014, 05:21:35 AM
I would have to assume that your post, before upgrade, was using a post icon not present in 2.1.

Check in your database, table smf_messages (replace "smf_" with your actual prefix) for the "icon" column. See if any of those is empty or null ;)
Title: Re: Missing message icon, bug?
Post by: saosangmo on December 19, 2014, 11:17:36 PM
Thank everybody, I see this issue.
Title: Re: Missing message icon, bug?
Post by: Hj Ahmad Rasyid Hj Ismail on December 24, 2014, 12:06:31 AM
Quote from: margarett on December 19, 2014, 05:21:35 AM
I would have to assume that your post, before upgrade, was using a post icon not present in 2.1.

Check in your database, table smf_messages (replace "smf_" with your actual prefix) for the "icon" column. See if any of those is empty or null ;)
Shouldn't the upgrade cover that? Or are we missing or ignoring that in the upgrade?
Title: Re: Missing message icon, bug?
Post by: Arantor on December 24, 2014, 12:08:12 AM
Well, icon being empty is not a case SMF supports out of the box, nor is it designed to support it.

That said, it would be possible to add a query to all branches of the upgrade (and even fix it during 1.1 to 2.0 upgrade for the different upgrade paths, at least in theory, since there will be migrations from 1.1 to 2.0 once 1.1 goes EOL)