ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problem posting any long docs

November 29, 2010 2:29pm

Subscribe [3]
  • #1 / Nov 29, 2010 2:29pm

    fastpete

    12 posts

    Hi guys

    I’ll pay good money to fix this headache if I have to! You are welcome to look around; I can email a user name and password. 

    The website is http://truejustice.org

    Pasting into Publish anything over say 3 paras has been a big problem here for a long time. It has been driving me crazy.

    I have several other large EE sites and on none of them does this ever happen.

    After the new post hangs for 30-60 seconds in Firefox (actually Seamonkey) after clicking Submit ot Update, I get a “document blank” message. In IE I get a “cant see the site” kind of message.

    This happens whether its a Word or a text document or a capture of text from another site.  It happens whether there are blockquotes or none at all. I try hard to strip out any invisible underlying codes.

    Professional EE license is now version 1.6.8 which has been through several upgrades. Its a multiblog but there are no add-ons or modules.

    In Output Preferences “Force URL Query String” has to be “yes” for this hoster and I have this setting in index.php:

    // URI Type… $qtype = 2;

    Very many thanks in advance!!  We go back a long time together.

    Pete

  • #2 / Nov 29, 2010 6:58pm

    Sue Crocker

    26054 posts

    Hi, Pete.

    Chances are you’re running into a limitation of the available size for that custom field. By default, EE1.x (and 2.x) use the TEXT fieldtype.

    See: http://ellislab.com/forums/viewthread/142337/

    Does that help?

  • #3 / Nov 29, 2010 7:59pm

    fastpete

    12 posts

    Thank you Sue.

    Ingenious! I will remember this for future reference. However to test this I just posted 100 paras of pig latin (12527 words, 64468 bytes) on several of my EE sites and they all took it without blinking.

    That is probably 3-4 times as large as any post I have tried or ever would, so it looks like the MySQL field is a big one.

    This is the text I am trying to get up, and I see now it wont be accepted on any of my EE sites

    http://truejustice.org/temp.txt

    Will it take on your test sites? It was lifted (for the author) from a phpBB site but I have the same problem with Word docs. I have tried to strip it of invisible codes by putting it into Notepad.

    Could it be the hoster firewall?

  • #4 / Nov 30, 2010 3:51am

    John Henry Donovan

    12339 posts

    fastpete,

    I don’t see anything unusual with that text and it should post fine.
    Try without the first linked image and see if that works.

    and I see now it wont be accepted on any of my EE sites

    Do you get an error or blank page?

    Can you check with your host to see if you have mod_security restrictions in place?

  • #5 / Nov 30, 2010 7:10pm

    fastpete

    12 posts

    Can I reply usefully tomorrow?! The hoster is whitelisting the site on the firewall to see if that was the cause. If yes I’ll cut and paste excatly how the firewall was the cause as it might be one for the Wiki.

  • #6 / Dec 01, 2010 9:23am

    Sue Crocker

    26054 posts

    Sure, let us know what you find out. We’ll be here.

  • #7 / Dec 01, 2010 11:21am

    fastpete

    12 posts

    Okay! My searches suggest this is a rare occurrence though I do see brief mention in the documentation - the introductory line there might benefit from further explanation.

    The hoster is the largest of the Windows hosters and my EE sites run usually problem free on asp.net space. Their technical support is terrific.

    MySQL databases are created from the console. I asked them to look over the database for the site to see if there was a reason there why long cut and paste posts were not taking. They emailed me thus:

    “The symptoms you are describing led me to check our SRX firewall which is set up to block possible SQL Injection attempts. I am showing that it has blocked some queries and I believe it could be blocking your updates [ie new posts]. If you can write back with your IP address it will allow me to verify this and I can send a white list request to allow you to make these updates.”

    Later they emailed me to say the IP # for the site is on the SRX whitelist and when I tested, the problem is indeed gone - posts “take” in the blink of an eye. 

    Should I also adjust or correct correct something in the php? I have really hardly touched it before and anyway there were updates since then and the problem persisted.

    Interesting area hoster firewalls and the prevention of SQL injections. New to me but I like it. EE and the hoster sure have added great value over the years. Perhaps you should demand a percentage… Date of my EE adoption: was it early 2003? A week or two after it was offered in trial. After years of struggling. Dont go away you guys.

  • #8 / Dec 02, 2010 3:18am

    John Henry Donovan

    12339 posts

    fastpete,

    Should I also adjust or correct correct something in the php?

    If everything is working now then it’s fine, leave it be for now.

    Dont go away you guys.

    We don’t intend to 😊

    Glad you are up and running again.
    Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases