Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2018-11-15 14:55:02

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: transfer over 1600 articles

and it is online:)

I still need to do a lot of work though:(


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#22 2018-11-15 15:08:43

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,159
Website

Re: transfer over 1600 articles

colak wrote #315261:

and it is online:)

Yes: 1 / 167 pages!


TXP Builders – finely-crafted code, design and txp

Offline

#23 2018-11-15 15:27:32

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: transfer over 1600 articles

jakob wrote #315262:

Yes: 1 / 167 pages!

It’s an old site:)


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#24 2018-11-15 17:56:07

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: transfer over 1600 articles

A new problem appeared with some phantom img tag appearing in a short-tag preventing validations from all pages which include a vimeo cookie.

“Sample page”

That empty img tag should not be there!

Got it!


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#25 2018-11-15 18:09:36

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: transfer over 1600 articles

The rubber duck strikes again!


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#26 2018-11-16 08:41:31

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: transfer over 1600 articles

There seems to be a problem.

In the article_list of the blog section. All articles are listed just fine (10/page) up to p56 but from p57 onwards the number of articles appearing seems to be random

for example

p57 shows 7 articles
p60 just 1
p63 shows 3 articles

I have no idea why this is happening unless I made a mistake when I was merging the dbs.

As a second point, according to the count using <txp:article_custom section="blog" pageby="1" pgonly /> the blog section in theory has 1662 articles so the 167 pages is correct.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#27 2018-11-16 08:57:55

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,458
Website

Re: transfer over 1600 articles

Please humour me a moment. If you know of an article that you expect to show up on those pages with missing entries, find it in the admin side, open it in the Write panel and just save it. Does it then appear in the list on the site?

If so, it’s a random textile encoding issue that we see from time to time. Never got to the bottom of it.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#28 2018-11-16 09:24:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: transfer over 1600 articles

Bloke wrote #315288:

Please humour me a moment. If you know of an article that you expect to show up on those pages with missing entries, find it in the admin side, open it in the Write panel and just save it. Does it then appear in the list on the site?

If so, it’s a random textile encoding issue that we see from time to time. Never got to the bottom of it.

Good catch Stef! Indeed it does… So I’ll have to re-save over 1000 articles again? Or is there a way to do this automatically?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#29 2018-11-16 09:55:22

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,458
Website

Re: transfer over 1600 articles

colak wrote #315289:

So I’ll have to re-save over 1000 articles again? Or is there a way to do this automatically?

Ouch, 1000 articles is going to hurt. You could try sed_textile_upgrade after backing up. I’ve had mixed results. Sometimes it works a treat and other times it doesn’t. You might be lucky: it trawls through your database and fakes a “save” on all articles.

There might be a better way to do it.

I really wish I understood why this happens. But then I also wish I understood why Textile sometimes screws up simple lists and renders things like:

1. item 1
2. item 2

# item 3

4. item 4
...

Deleting the ‘#’ marks and newlines surrounding the broken entry, then typing them in again and saving the article fixes it. Merely saving again doesn’t. Does the same with asterisk lists sometimes too… but not all the time. Does it in articles and on the forum here for me occasionally. Totally weird.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#30 2018-11-16 11:59:44

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: transfer over 1600 articles

I had that issue with lists too! I always thought that it was a problem with my server.

I have used sed_textile_upgrade and no cigar:( I have also saved 1000+ articles again… Some of the pages with problems are OK now but there still seem to be a lot which are not appearing in the list view

p68 for example has 9 articles, p 70, only two… These are just from random clicks.

I used to use a lot of html in my posts in the early days, and I am not sure if that is part of the issue.

I’ll have to do some digging in, and report back.

Meanwhile, is there a way to check if the structure of the sql textpattern table is OK, or would it just not work if there was a problem there?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

Board footer

Powered by FluxBB