Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Topic closed
4.01 upgrade disaster
!
Just upgraded to 4.01 and all my archives have disappeared
http://www.jameslomax.com/archivephoto/2005/10
I assume this is something to do with using rss_suparchive being incompatible with 4.01 but its not something I can correct myself.
1) any ideas?
2) where can I get a back version of 4.0?
Offline
Re: 4.01 upgrade disaster
It is not recommended to use 4.0.0.
Maybe disabling 404 support will be a temporary workaround until the archive-plugin is adapted to 4.0.1+
Open publish.php and find
<code> // Stats: found or not
$out[‘status’] = ($is_404 ? ‘404’ : ‘200’);
</code>
replace with
<code> // Stats: found or not
$is_404 = false;
$out[‘status’] = ($is_404 ? ‘404’ : ‘200’);
</code>
Haven’t tested it, but it may be worth a shot.
Offline
Re: 4.01 upgrade disaster
OK just done that – all it does is keep the index page there when you click on “archives”, rather than bringing up a 404.
Is that what you intended?
Public notice: I’m not a coder! I don’t understand suggestions like this but can only follow them while I’m ‘in the dark’.
Basically, I need a very simple resolution or will have to go back to 4.0 – I don’t have the knowledge or skills to modify txp that many people here have. My diagnosis that rss_suparchive is clashing with 4.1 may or may not be correct. It makes sense to me, because as far as I know it’s what was building the archives – and doing it quite happily, using 4.0
Thanks for a quick response – this is disastrous!
Offline
Re: 4.01 upgrade disaster
I guess the question is:
What changes were made in the 4.0-4.1 development that might be the cause of this, in relation to the archive plugin (or anything else).
Offline
Re: 4.01 upgrade disaster
Update: I found I had a version of 4.0 on my hard drive which I’ve re-loaded, so my site is functioning again. Phew. And a lesson learnt there: keep copies of previous versions of TXP – you might need them!
The problem remains though: what gives, when I upgrade to 4.01?
Thanks.
Offline
Re: 4.01 upgrade disaster
I think if you check the plug-in thread you will find that it’s the method of dealing with dates that has changed and the plug-in hasn’t been updated to take account of this yet. It can be a problem with a few plug-ins that are date-reliant. You are advised to upgrade to 4.0.1 but I know your site is reliant on the monthly archives so sticking with 4.0.0 until the plug-in is updated is your other option. It’s a bit “swings and roundabouts” for you I’m afraid. :(
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: 4.01 upgrade disaster
OK thanks Stuart. And presumably when I move to 4.01 and upgrade the plugin when its available, all the archive files its built will be intact, and simply be handled by the new plugin with no problems? Be a disaster if the uninstall/install/upgrade process wrecked the archive files.
Offline
Re: 4.01 upgrade disaster
There aren’t any “archive files”. There aren’t any files. There’s just index.php. Always and forever index.php.
You cooin’ with my bird?
Offline
Re: 4.01 upgrade disaster
Yes I understand that – the point you’re making is “semantic”, unrelated to the issues here. Dont want this to get confusing. When I said ‘files’ I meant….the coding, whatever, that does the…whatever.
Offline
Re: 4.01 upgrade disaster
Yes but don’t forget that additional hack for it. And if that is broken I’ll have to check what Rob has changed and modify it again.
Last edited by thebombsite (2005-10-19 22:11:38)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: 4.01 upgrade disaster
OK thanks – guess we’ll have to wait on Rob. I was wondering about that! Didn’t understand what you did, but recalled that you did something to it.
Offline
Pages: 1
Topic closed