Forums

[resolved] 9498 words in a page won't show up (13 posts)

  1. blueyez
    Member
    Posted 3 years ago #

    why ?

    i copy paste the text, i submit, no error pops up
    i go to my website and i see only the post title
    i go back to re-edit my post, and i find only the title

    why the content is not submitted to mysql ?

    i manually inserted the hole text in mysql:

    post_content longtext

    filed.. and mysql says:

    Showing rows 0 - 8 (9 total, Query took 0.0010 sec)

    what can i do ? doesn't mysql support my hole text in only one row ?

  2. mrmist
    Forum Janitor
    Posted 3 years ago #

    It certainly should support it. I just did a 10000 character test post no probs. The database longtext is good for some massive number of characters, and, though I don't know what is used, I guess the PHP variable is large enough, too.

    Anything odd about your text?

    I doubt that inserting it directly into the db is going to work well, to be honest.

  3. blueyez
    Member
    Posted 3 years ago #

    is there a difference between normal post and pages ?

    i am using the text into a page

    here is text ( zip ):

    http://www.2shared.com/file/3772776/bc4124ee/text.html

    I doubt that inserting it directly into the db is going to work well, to be honest.

    tried :(

  4. mrmist
    Forum Janitor
    Posted 3 years ago #

    Hmm, yeah. It doesn't like your text does it?

    Anyway, if you enter the text without the ------ it seems to work then.

  5. Chris_K
    Member
    Posted 3 years ago #

    Checked error/server logs? I'd suspect your server is running mod_security and it doesn't like something it is seeing in your post.

  6. blueyez
    Member
    Posted 3 years ago #

    i get no error logs from php :(
    and yes my hosting got mod_security

  7. mrmist
    Forum Janitor
    Posted 3 years ago #

    Checked error/server logs? I'd suspect your server is running mod_security and it doesn't like something it is seeing in your post

    Fairly sure I'm not. :)

    It does seem like an odd parsing error to do with the dashes in his original text file.

  8. blueyez
    Member
    Posted 3 years ago #

    i can't use iframe in html post?

    tried to use

    <iframe src ="domain.eg/wp-content/uploads/lg333.html" width="100%">
    </iframe>

    and doesn't show up, the code disappears afther submit :|

    wtf is wrong ?

    loading direct link to file works and brings the hole text

  9. blueyez
    Member
    Posted 3 years ago #

    should i try to change:

    .
    ,
    :
    (
    )

    into html code ?

    by the way

    i pasted the text into ms office 2003 and its got 31 pages... huge ?

  10. mrmist
    Forum Janitor
    Posted 3 years ago #

    You don't need to change anything into html or use an iframe.

    It works if you past your entire original text into the editor, so long as you remove the --------- bits.

    Quite *why* I'm yet to discover.

  11. blueyez
    Member
    Posted 3 years ago #

    i tried that all ready

    i splited the test in 2 posts and works
    my hosting / wordpress blocks me somewhere
    i will ask my hosting provider
    who knows...

  12. Chris_K
    Member
    Posted 3 years ago #

    @blueyez - if you were to search these forums (or the web in general) for ways to work-around or disable mod_security, you might find a solution. I believe there are some methods that involve dropping a few lines into the .htaccess file, for instance.

    Might be worth a shot?

  13. mrmist
    Forum Janitor
    Posted 3 years ago #

    Yup. You will still need to edit the text, though. My test box doesn't have mod security and I wasn't able to save the original text into a post unedited.

Topic Closed

This topic has been closed to new replies.

About this Topic