Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2015-06-28 15:13:56

mmelon
Member
Registered: 2006-03-02
Posts: 95

Re: textpattern error adding new custom field after upgrade

no. it gets to the preview but then the yellow install button does

internal_error “Data too long for column ‘version’ at row 1”
in /home/pbxrlqbp/public_html/textpattern/lib/txplib_db.php at line 95.
adminErrorHandler()
textpattern/lib/txplib_db.php:95 trigger_error()
textpattern/lib/txplib_db.php:118 safe_query()
textpattern/include/txp_plugin.php:401 safe_update()
textpattern/include/txp_plugin.php:34 plugin_install()
I’m sorry. I’m afraid I can’t do that. I think plugin plugin_install is no safe operation at this time.

starting to regret being brave and upgrading the core :(

Mike

Offline

#17 2015-06-28 15:24:41

mmelon
Member
Registered: 2006-03-02
Posts: 95

Re: textpattern error adding new custom field after upgrade

it’s almost certainly this http://forum.textpattern.com/viewtopic.php?id=39382

Offline

#18 2015-06-28 15:33:54

mmelon
Member
Registered: 2006-03-02
Posts: 95

Re: textpattern error adding new custom field after upgrade

ok to wrap up. I upgraded my core to 4.5.7. Trying to add a custom field after using GLZ 1.3.0 killed my textpattern. Stef graciously helped me fix it. GLZ 1.3.0 no longer works properly on 4.5.7 because of an issue with input attribute names. I couldn’t upgrade to 1.4.0-beta1 because my SQL server is running in strict mode. In the above post Gocom solved it for someone else by saying increase the size of the version column in txp_plugin to 255. Now seems fine.

Phew! My neck and back hurt!

Mike

Offline

#19 2015-06-28 15:38:03

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,513
Website GitHub

Re: textpattern error adding new custom field after upgrade

mmelon wrote #292202:

internal_error “Data too long for column ‘version’ at row 1”

Bobbins, the plugin version field probably can’t handle the fact that Gerhard’s version string is rather long or is defined oddly in the plugin. He’s done some non-standard things in the Github version of the plugin that need “compiling” into a complete plugin. So yeah, follow Gocom’s advice. Simplest all round.

Humbug. I have a version in my development environment but it’s labelled v1.5.0 so I’m not sure if it’s even production ready. Can’t remember how far I got with tweaking it to fix the bugs.

Man, this is a mess.


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

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#20 2015-06-28 22:18:01

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: textpattern error adding new custom field after upgrade

There’s a “max_custom_fields” preference as well – it seems to be set to the total number of CFs defined. Would be worth checking that it’s set correctly.

Offline

Board footer

Powered by FluxBB