Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-11-10 17:06:44
- vickilh
- Member
- Registered: 2007-10-30
- Posts: 96
"Last updated:" not working after migration
I’ve just migrated a version 1.0 Textpattern to a new machine with v. 4.0.5 Textpattern. I’ve gotten everything straightened out so far except for the “Last updated” that is displayed after an article.
It worked fine in 1.0, but in 4.0.5, all of the article posted dates are displayed as “Last Updated: j F y.”
I’ve tried updating the article to see if the new date will display, but it stays the same.
Any ideas about how to fix this?
Many thanks!! Vicki
Offline
Re: "Last updated:" not working after migration
Looks like a plugin problem, assuming “j F y” is the date format in which the last updated time is normally displayed.
Offline
#3 2007-11-10 17:58:16
- vickilh
- Member
- Registered: 2007-10-30
- Posts: 96
Re: "Last updated:" not working after migration
There’s only one plug-in: stw_category_tree, version 0.4
I looked at the plug-in code, nothing about date or posted. I turned off the plug-in, the bad date displayed was still the same.
Also noticed that when a did a (non-txp) site search, it’s now displaying “XXX days ago” instead of the DMY. But at least it’s picking up the date here!
I checked the DB, the dates look ok.
thanks!! Vicki
Offline
Re: "Last updated:" not working after migration
Can you post the part of the template/page/form that would output the last modified date?
Offline
#5 2007-11-10 18:20:11
- vickilh
- Member
- Registered: 2007-10-30
- Posts: 96
Re: "Last updated:" not working after migration
AHA! I went to “Diagnostics” and saw that my site URL was still the old one. (I had updated this, but then had to re-import my old Txp database and forgot to update it again.)
Once I corrected this, the Posted dated for “Last updated” on form worked correctly!
Thanks! Vicki
p.s. I’m still having the Search problem, I’ll put that in another post.
Offline