• Hi there. Well, this is ironic. I just posted a thread in here about content not being displayed in large posts on my blog and it wouldn’t display my post, I’m guessing it was because it was too long! WTF?

    Anyway, so I’ll split it into two posts here.

    My site is here:

    https://kahotep.net/newswatch/

    Here’s a link to a test post I created which displays all the content I’ve fed into the posting area:

    test post

    and then, here’s a link to a slightly longer post, which will not display the content (even though it’s there in my html editor in the admin area).

    january 2008

    is there some arbitrary memory limit in force in version 2.6.5? I’ve been using 2.5.1 for a while and I know I’ve posted much larger articles/posts than that with no problem whatsoever… any help would be appreciated. thanks ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter zuberi

    (@zuberi)

    here’s the actual code for the second post, as it appears in my editor (note: I may have to split it into two posts in here, since i think there’s a limit… the irony!)

    `
    [huge chunk of code moderated – please use a pastebin serviced]

    Thread Starter zuberi

    (@zuberi)

    code for second post (split into three posts on here)

    [huge chunk of code moderated – please use a pastebin service]

    Thread Starter zuberi

    (@zuberi)

    okay, i get it. code has been pastebinned here:

    https://pastebin.ca/1296391

    Thread Starter zuberi

    (@zuberi)

    well. I just spoke to my host (bluehost) and they increased my memory size, but that didn’t seem to resolve the problem. the only workaround that I’ve figured out is to post say 50 lines of code, then publish/save. then post the next 50 below (in the same post), then publish/save, then post the next 50 below (in the same post), then publish/save… etc. etc. etc. ad nauseum. how annoying!

    Thread Starter zuberi

    (@zuberi)

    but.. i’d also like to add – for the benefit of anyone else who is experiencing this seemingly anomalous stupidity – that there seems to be a cutoff point at 225 lines of code. If I add a 226th, the entire content of the post disappears in the blog (though not in the admin posting area). This is one of the most annoying things I’ve ever come across on wordpress! oh… and I’ve just verified that one of the articles I posted over on my other blog (v. 2.5.1) is 666 lines of code (I know scary huh!?), when viewed in dreamweaver. So why was I able to publish that, if I’m not able to publish 225 lines of code in v.2.6.5? I mean seriously? What the…

    Thread Starter zuberi

    (@zuberi)

    honestly, I’m really surprised that no-one seems to care about this.

    Just because no one responds doesn’t mean no one cares. Not everyone has an answer for everything. Increasing the memory_limit isn’t enough to fix your problem. Find the php.ini in your root directory and increase the following settings:
    post_max_size
    upload_max_filesize
    Also double check that your memory_limit is higher than 8M
    Then go into your cPanel and click on “PHP Config” and make sure that the option to use a single php.ini throughout your directories is selected. If you don’t want to use a single php.ini, you will need to copy the php.ini with your specific changes into all subdirectories that need the functionality of the changes made above.
    If that doesn’t work….. ?

    Thread Starter zuberi

    (@zuberi)

    Unfortunately, I’ve already implemented all those well thought out recommendations and the problem is still there… thanks for responding though.

    I notice this thread hasn’t been active for 5 months so have you found a fix to this problem? Please say yes! It’s driving me crazy and everywhere I search I’m finding the same results, all suggestions work temporarily or fail.
    My latest plan is to try installing wordpress on my other host server and on my local server to see if it is purely wordpress, purely server, or a combination of both.
    Hopefully I find something…

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘blog will not display longer posts’ is closed to new replies.