Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#37 2004-03-24 19:38:51
- mapu
- Member
- From: Munich, Germany
- Registered: 2004-03-16
- Posts: 141
Re: G1.17 Released
Yeah, I have got the same problem as emili.
The categories show up in the articles, but they don’t show up, when I want to write a new article and choose a category.
Also the lists of categories (in the organise-tab) is empty now. But when I want to create a category I have created before the update I get the message “category XXX already exists”, so I don’t think, they are lost at all.
Offline
#38 2004-03-24 19:48:43
- jonas
- New Member
- Registered: 2004-03-24
- Posts: 3
Re: G1.17 Released
> can you check to see if you have any categories (article, image or link) in your database with blank names?
Dean, I found some empty categories “root” after downgrading to g16, but i just deleted them and it’s ok.
Offline
Re: G1.17 Released
Also having a problem updating from g1.16 to g1.17. I installed g1.16 this morning, then got to work and realized g1.17 was out. Copied all the files over, then tried to run _g117update.php and get the following error:
Fatal error: Call to undefined function: rebuild_tree() in /path/to/textpattern/_g117update.php on line 30
Note: renamed the path for privacy.
Am I missing a file that is needed? I re-uploaded everything just in case.
When I go back into textpattern I have a new category in articles, links and images named root. I also am missing ability to add keywords, the extra month options and some other features that I wanted to try out.
Rayne
mama love
Offline
Re: G1.17 Released
Erk .. problems galore here.
_g117update.php failed on line 8 (link_identifier set to True? I don’t quite get that) so I ended up with a fragmented txp_category table.
Logged into the mysql monitor and executed the queries that didn’t get run, and then created a php script to rebuild the trees.
Same problem on two sites, on two completely different servers. I believe I was running g1.16 (fully updated etc) – but I’ve got a mysqldump of the moments before the collision.
One site was legacy, the other new at g1.15.
Any ideas what went wrong?
drew mclellan
Offline
Re: G1.17 Released
Okay, some problems being caused by the patch on the patch on the patch of the patch of the update script.
Fixes looming.
text*
Offline
Re: G1.17 Released
I had a similar problem to emili and mapu, when I upgraded from 1.16 to 1.17 using the update script, I got the following message:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /Library/WebServer/Documents/textpattern/_g117update.php on line 8
updated database for Textpattern g1.17
Looking at the DB using phpMyAdmin, it was clear that all the database changes were done, except setting the parent to ‘root’ on all of my existing categories.
I simply edited each record, adding ‘root’ to the parent. Then I modified the g117update script to only re-run the rebuild_tree() lines.
Textpattern is now working as expected in most ways. I do notice that some of my ALLCAPS elements are not getting styled to smallcaps them, and when I switch from Preview to Text in the Write panel, the date of the article is being reset to 4pm on 12/31/1969.
Offline
Re: G1.17 Released
Regarding the new features, it seems to me that hierarchical categories makes it even more necessary to allow more than two categories per post. Is this something that will be changed?
Minor complaint aside, the velocity at which Textpattern is evolving and improving is simply stunning. I’m really in awe of Dean…
Offline
Re: G1.17 Released
Okay, here’s a script that should clean up any problems people are experiencing from running the g117 update scripts <del>slapped together</del> released in the last few hours.
Upload it to your textpattern directory, then run yoursite/textpattern/_g117fix.php in a browser.
text*
Offline
#45 2004-03-24 21:04:26
- mapu
- Member
- From: Munich, Germany
- Registered: 2004-03-16
- Posts: 141
Re: G1.17 Released
Dean, thx! You’re awesome!
Offline
Re: G1.17 Released
Beautiful, Dean.
Worked like a charm. Thank you.
Offline