Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-02-13 09:17:03

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Dump import throws error for Null on body content of article

I’m trying to import a dump file. I’m getting an error

MySQL said: Documentation

  1. - Column ‘Body’ cannot be null

I’m assuming it’s talking about the <txp:body /> content. It references a particular article, but the article has body content saved, nothing out of the ordinary.

What’s the error about?

Offline

#2 2009-02-13 13:02:21

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

Re: Dump import throws error for Null on body content of article

searching for mysql error 1048 returns results regarding a mysql bug

Last edited by colak (2009-02-13 13:02:48)


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

Offline

#3 2009-02-13 13:44:05

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Dump import throws error for Null on body content of article

That bug’s from 2005. I sure hope that was fixed by now. :)

This might be related to some other oddness I’ve been experiencing. I don’t know.

Things I’ve noticed on this particular install I’m working with:

  1. Null issue with dump importing (noted above)
  2. Delete buttons missing from next to pages I’ve created.
  3. No Create Thumbnail controls in the edit mode of uploaded images. (It exists in my own site installation, but not this one I’m working with. Both are 4.0.8 (r3085).)
  4. Mysterious styling overriding my CSS styles, but only for one particular article in the section. All other articles with same CSS not affected. (Had to delete and recreate article to get rid of the ghost impact, as it were)

I have no idea why these things are the way they are, but it’s not normal that I can tell. The MySQL for the local site (problems exhibited) is 5.0.45 while my online version is 5.0.65-log. Have no idea.

Oh, the dump import, however is also 5.0.65-log so no correlation on that point at least. Maybe it was corrupted locally though before dumping. No idea.

Offline

#4 2009-02-13 17:09:41

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Dump import throws error for Null on body content of article

Import issue solved. The dump was corrupt by CoCoa MySQL, which is about to be uninstalled permanently.

Command-line rules !

Offline

#5 2009-02-15 21:00:03

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Dump import throws error for Null on body content of article

Destry wrote:

Delete buttons missing from next to pages I’ve created.

I’m guessing the reason this is happening is because when creating new pages I’m copying pages that were initially copied from the default page, which of course has no delete button. The inability to delete seems to pass on to pages copied from the parent default. If true, this is bad. I now have some pages I want to delete and can’t, apparently, without going into phpMyAdmin. :(

I would vote this be changed in the next release.

Offline

#6 2009-02-16 05:34:57

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Dump import throws error for Null on body content of article

Destry wrote:

Delete buttons missing from next to pages I’ve created.

You will not be able to delete pages which are in use by any section, plus the page named error_default. So you’d first have to reassign a distinct page to the sections affected.

No Create Thumbnail controls in the edit mode of uploaded images. (It exists in my own site installation, but not this one I’m working with. Both are 4.0.8 (r3085).)

This is a symptom of a hosting environment which lacks the GD graphics library. Visit diagnostics and look for this line: GD Image Library: unavailable.

Offline

#7 2009-02-16 08:12:43

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Dump import throws error for Null on body content of article

Thanks wet. I’m comforted by solid explanations; even if it reveals the lobotomy I had in 87.

Offline

Board footer

Powered by FluxBB