old announcements?
Posted by Steve H
old announcements? November 30, 2007 02:44PM |
Registered: 20 years ago Posts: 237 |
After upgrading to 5.2, I notice that my old announcements cannot be found. Are they still there somewhere? Are they lost or is there a way to bring them forward during the upgrade?
I just tried to move an announcement on my old installation, thinking maybe i could convert it to a regular message before upgrading, but now I seem to have broken it. Well, maybe. I got an error which I unfortunately didn't make a note of. It said something about a duplicate message. Then I backed up and tried to edit it instead, and it said message not found.
So I went to look for it in the forum I'd moved it to. Then all the newflags in the forum I tried to move it to got reset. (everything showed as NEW) However when I went to that forum I was able to edit the announcement and change it to Sticky, and now it seems to be un-announcified. :P
Oh look, I now moved the now Sticky ex?announcement to another forum, and got this:
OK, so I found a way to break an old version, but the question remains... how are we *supposed* to handle old announcements when upgrading?
I just tried to move an announcement on my old installation, thinking maybe i could convert it to a regular message before upgrading, but now I seem to have broken it. Well, maybe. I got an error which I unfortunately didn't make a note of. It said something about a duplicate message. Then I backed up and tried to edit it instead, and it said message not found.
So I went to look for it in the forum I'd moved it to. Then all the newflags in the forum I tried to move it to got reset. (everything showed as NEW) However when I went to that forum I was able to edit the announcement and change it to Sticky, and now it seems to be un-announcified. :P
Oh look, I now moved the now Sticky ex?announcement to another forum, and got this:
Quote
Duplicate entry '4-7-26' for key 1: UPDATE phorum_user_newflags SET forum_id = 7 where message_id IN(26)
OK, so I found a way to break an old version, but the question remains... how are we *supposed* to handle old announcements when upgrading?
Re: old announcements? November 30, 2007 03:05PM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: old announcements? November 30, 2007 03:49PM |
Registered: 20 years ago Posts: 237 |
Hrm. Ok. Couple questions then. Sorry for being dense...
1. How was I supposed to know that? I don't see any mention of it in the upgrade instructions?
2. I had to delete .htaccess before it would even let me run the script. (not exactly a no-brainer) Perhaps that should be in the instructions as well?
3. Does it really need to be a separate step? Couldn't it be part of the normal admin upgrade process?
4. I've run it now, but I still can't find my announcements. Where did they go? I even used the search feature to try to find them with no luck. Is convert_announcements.php supposed to have any output? When I ran it I just got a blank page.
1. How was I supposed to know that? I don't see any mention of it in the upgrade instructions?
2. I had to delete .htaccess before it would even let me run the script. (not exactly a no-brainer) Perhaps that should be in the instructions as well?
3. Does it really need to be a separate step? Couldn't it be part of the normal admin upgrade process?
4. I've run it now, but I still can't find my announcements. Where did they go? I even used the search feature to try to find them with no luck. Is convert_announcements.php supposed to have any output? When I ran it I just got a blank page.
Re: old announcements? November 30, 2007 03:56PM |
Admin Registered: 23 years ago Posts: 4,495 |
Quote
stevehealy
1. How was I supposed to know that? I don't see any mention of it in the upgrade instructions?
Read my mind. =)
Quote
2. I had to delete .htaccess before it would even let me run the script. (not exactly a no-brainer) Perhaps that should be in the instructions as well?
You should have run it from a console and not a web page. You probably want to put that .htaccess file back.
Quote
3. Does it really need to be a separate step? Couldn't it be part of the normal admin upgrade process?
Well, in 5.2 announcements are an option. It is a module. So, we don't force that upgrade step on people. We just need to document it.
Quote
4. I've run it now, but I still can't find my announcements. Where did they go?
Well, that is a good question. There should be an Announcements forum now that have the messages in it.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: old announcements? November 30, 2007 05:01PM |
Registered: 20 years ago Posts: 237 |
Quote
brianlmoon
Well, in 5.2 announcements are an option. It is a module. So, we don't force that upgrade step on people. We just need to document it.
That would be fine, except that in previous versions, announcements were a feature, not an option. By not addressing them, anyone who upgrades is going to scratch their heads and wonder where their announcements have gone.
Re: old announcements? December 01, 2007 02:02AM |
Admin Registered: 23 years ago Posts: 4,495 |
Yeah, I have added documentation to the upgrade.txt file about this. These are the things we discover while Phorum is in beta. So, thanks for your contribution.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Sorry, only registered users may post in this forum.