Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2005-11-06 13:27:23

stefan koopmanschap
Member
Registered: 2005-09-14
Posts: 10

Re: [contrib] Pivot -> Textpattern converter

OK, I have documented what I did a bit. Check my weblog

Sorry for the delay. I hope this will be useful to people.

Offline

#12 2005-11-07 14:11:12

Destry
Moderator
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,197
Website

Re: [contrib] Pivot -> Textpattern converter

Thanks for the start on this, stefan.

I’m not a PHP guru, so I wouldn’t really know where to go with “finishing” it, but hopefully someone will pick it up a bit. By the same token, I’m not sure how I would even make use of it as it is now. You say you “documented what you did a bit”, but I don’t see any documentation, I just see the PHP file. What do I do with it? Some basic steps would be useful. How did you use it yourself?

“Anyway, since my conversion already worked, I’ll leave further development to the Textpattern community.”

That cracks me up.


The text persuades, the *notes prove。

Offline

#13 2005-11-07 20:26:19

stefan koopmanschap
Member
Registered: 2005-09-14
Posts: 10

Re: [contrib] Pivot -> Textpattern converter

heh. well, I documented the code meaning I left comments on what happens where ;)

how it works right now is: place it above your pivot root folder (the same folder where you see the pivot/ folder), then edit the converter file to the place where you uploaded textpattern, install textpattern first (!!) and make sure the config file contains the correct database information, then run the converter by going to it using a browser. that should do it :)

Offline

#14 2005-11-18 21:09:24

catch-22
New Member
Registered: 2005-08-05
Posts: 4

Re: [contrib] Pivot -> Textpattern converter

Well, I tried this, but my posts don’t show up. I get a lot of errors stating that tables don’t exist. I’m sure this shouldn’t happen, but what am i doing wrong then? I followed your instructions correctly…

Offline

#15 2005-11-19 08:32:09

stefan koopmanschap
Member
Registered: 2005-09-14
Posts: 10

Re: [contrib] Pivot -> Textpattern converter

did you first install textpattern to the database, before running the converter script?

Offline

#16 2005-11-19 20:39:27

catch-22
New Member
Registered: 2005-08-05
Posts: 4

Re: [contrib] Pivot -> Textpattern converter

Yes I did.

To be more precise, the script returns the following messages repeatly:

Table ‘drielen_thomas.textpattern’ doesn’t existTable ‘drielen_thomas.txp_discuss’ doesn’t exist

Is it something I did wrong, or maybe it’s the preferences of my webhost? I’m a php-n00b, so I’m just guessing… :)

Offline

#17 2005-11-19 21:15:50

stefan koopmanschap
Member
Registered: 2005-09-14
Posts: 10

Re: [contrib] Pivot -> Textpattern converter

quite weird, it does seem that either textpattern wasn’t installed correctly, or to another database. the errors seem to indicate that the textpattern-related database tables don’t exist.

Offline

#18 2005-11-20 11:00:58

catch-22
New Member
Registered: 2005-08-05
Posts: 4

Re: [contrib] Pivot -> Textpattern converter

I just realised something. The database to where the pivot-files have to imported is in another domain than the pivot-files currently. They are on the same webhost however, so I didn’t think it was a problem.

If this is the problem (again, just guessing…), I think the database information I set in the converter-file has to be different. Right now it says:

$path_to_textpattern = ‘/home/drielen/domains/tnt-text.nl/public_html/textpattern/’;

while the orginal pivot-folder en the converter-file itself are in /home/drielen/domains/van16hoog.nl/public_html/pivot/

Hope this helps to solve the problem…

Offline

#19 2005-11-23 13:39:46

Destry
Moderator
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,197
Website

Re: [contrib] Pivot -> Textpattern converter

Any of you who have insight to add to this Pivot to TxP user docs effort, please do.


The text persuades, the *notes prove。

Offline

Board footer

Powered by FluxBB