Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-08-17 17:31:53

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

Empty articles after update

Hello,
I imported my db dump I had as backup, then uploaded all the files. Well now the website is visible, but if I want to edit some article, the pane is empty. I guess saving the empty article overwrites the existing one, so I will not do that. Diagnostics is ok.

Thanks for any help.

Offline

#2 2015-08-17 18:12:16

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Empty articles after update

Check if the dump contains articles.
Check in the database if it contains articles.

Probably one or both don’t contain articles, or you’re connecting to a different database or using a different table prefix.

Offline

#3 2015-08-18 08:03:30

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

Re: Empty articles after update

Thanks ruud, the textpattern table does contain articles, and they are visible on the frontend, but I just cannot edit them…

Can I see the SQL done by the admin somehow? Sort of debug thing?

Last edited by Manaus (2015-08-18 10:16:49)

Offline

#4 2015-08-18 10:49:57

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Empty articles after update

Sure, switch to debug mode in the preferences and then view the source code / HTML of the page.

Offline

#5 2015-08-18 10:58:05

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Empty articles after update

Did you check your diagnostics? Something may have gone wrong with the uploading of the files for which case your will be able to remedy by uploading those files again


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2015-08-18 11:49:19

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

Re: Empty articles after update

NAILED! — I had latin1 instead of utf8 in config.php

Offline

#7 2015-08-18 12:10:38

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Empty articles after update

Strange that this only affected the admin side. Thanks for letting us know what caused it.

Offline

#8 2015-08-18 12:17:27

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 251
Website

Re: Empty articles after update

Well actually I had all those question marks in the frontend, did not think they were related. Doing debug in the admin I saw a SQL error breaking the flow, but did not investigate the error content.

Offline

Board footer

Powered by FluxBB