Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-23 16:11:01

warmrobot
Member
From: Moscow, Russia
Registered: 2007-01-22
Posts: 31
Website

Warning: Data too long for column 'user_html' at row 1 update txp_page

Hello!

I try to paste a big piece of code (HTML+JS) into page template and get this message:

Warning: Data too long for column ‘user_html’ at row 1 update txp_page

And nothing was added. :-(

What is it? Any workarounds of this? What limits for code pieces in Txp? It is very siginificant for one of my pages.

My version: 4.0.4 (r2439)

Offline

#2 2007-06-23 19:36:11

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

Re: Warning: Data too long for column 'user_html' at row 1 update txp_page

It’s a MySQL text field, so it’s limited to 64kB.
Have you considered storing the Javascript in an external file?

Offline

#3 2007-06-24 01:45:53

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Warning: Data too long for column 'user_html' at row 1 update txp_page

…or even just in a form.

Offline

Board footer

Powered by FluxBB