WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 404 when posting formatting or HTML (18 posts)

  1. aaronwebber
    Member
    Posted 11 months ago #

    Good morning, afternoon or evening!

    I seem to have a rather strange problem. This problem developed without me changing anything on the site at all.

    Since the problem has developed I have:
    - Upgraded to 3.6
    - Clean install of WordPress
    - Cleared cache
    - Deactivated all plugins
    - Switched to the Twenty Twelve theme
    - Re-saved Permalink Settings
    - Applied a number of 'fixes' to .htaccess
    - Checked 'General Settings' are correct
    - Removed any 'Update Services' in 'Writing Settings'

    Now, onto the problem.

    If I write a post with no formatting or HTML it will post just fine.

    If I add any formatting or a single bit of HTML (be it Bold, Underline... anything!) it will not post and will return a WordPress 404 error.

    When editing the post the address is http://diverse-events.com/wp-admin/post.php?post=300&action=edit

    When pressing 'update' it displays the 404 error page with the address bar showing: http://diverse-events.com/wp-admin/post.php

    I appreciate any help :-)

  2. aaronwebber
    Member
    Posted 11 months ago #

    The .htaccess contains:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
  3. aaronwebber
    Member
    Posted 11 months ago #

    The error log shows:

    [13-Aug-2013 09:43:19 America/Chicago] PHP Warning: Module 'json' already loaded in Unknown on line 0

  4. aaronwebber
    Member
    Posted 11 months ago #

    mod_rewrites is enabled by my host.

  5. aaronwebber
    Member
    Posted 11 months ago #

    I have installed a completely fresh wordpress. I still have the same problem.

    If I post with no formatting, perfect.

    If I add formatting I get a 404 error when pressing 'update' or 'publish'

    Would this be a problem with my hosting provider?

  6. Christiaan Conover
    Member
    Posted 11 months ago #

    It could be a problem with your hosting provider. Who are you hosting with?

  7. aaronwebber
    Member
    Posted 11 months ago #

    pacifichost.com - I have opened a ticket with them in the hope they are able to resolve something.

    I have checked the PHP info (http://aaronmonk.co.uk/info.php) but, being honest, I'm unsure what to look for.

  8. aaronwebber
    Member
    Posted 11 months ago #

    Response from Pacific Host.

    This is because of modsecurity.
    We have disabled the problematic rules for you.

    Everything works a charm now!

  9. aaronwebber
    Member
    Posted 11 months ago #

    It seems I am mistaken.

    Although I can now add formatting - I am unable to add hyperlinks or any media (pictures)

    It returns the same error.

  10. esmi
    Forum Moderator
    Posted 11 months ago #

    Have you tried:

    - switching to the default theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

  11. aaronwebber
    Member
    Posted 11 months ago #

    As previously mentioned I have installed a completely fresh, out of the box, no plugins wordpress to my server and it gives the same errors.

    This fresh install has no plugins or changed themes and I get the very same problem.

  12. esmi
    Forum Moderator
    Posted 11 months ago #

    Please try the two other steps.

  13. aaronwebber
    Member
    Posted 11 months ago #

    All three steps have been taken.

    The error is also on a new, never been used blog, with no posts, no plugins and no content.

    But, all of these steps have been taken.

  14. esmi
    Forum Moderator
    Posted 11 months ago #

    Then I can only assume that this is a server/hosting issue as no one else seems to be having the same problem. Have you asked your hosts about it? Have you checked your site's error logs for messages (your hosts should be able to help you in accessing your site's error logs)?

  15. aaronwebber
    Member
    Posted 11 months ago #

    As previously mentioned

    I have opened a ticket with them in the hope they are able to resolve something.

    and

    The error log shows:

    [13-Aug-2013 09:43:19 America/Chicago] PHP Warning: Module 'json' already loaded in Unknown on line 0

  16. aaronwebber
    Member
    Posted 11 months ago #

    To summarise so far:

    Since the problem has developed I have:
    - Upgraded to 3.6
    - Cleared cache
    - Deactivated all plugins
    - Switched to the default theme
    - Re-saved Permalink Settings
    - Applied a number of 'fixes' to .htaccess
    - Checked 'General Settings' are correct
    - Removed any 'Update Services' in 'Writing Settings'
    - Got the same results on a completely clean, never been used before install of WordPress

    So I am able to post html/formatting but now NOT able to post images or hyperlinks.

  17. aaronwebber
    Member
    Posted 11 months ago #

    I am now able to post images, hyperlinks and formatting but if I post something longer than around 1000 characters I get the same 404 error on post!

  18. aaronwebber
    Member
    Posted 10 months ago #

    My host did some fancy things with modsecurity and everything is fixed.

Reply

You must log in to post.

About this Topic