• Resolved sushidread

    (@sushidread)


    I was testing a new website with Chrome (latest build), everything working fine (no new plugin installed during the test) when suddendly when I try to post a comment, after pressing the “reply” button it stops on a blank wp-comments-post.php page.

    I am testing on localhost with MAMP. The funny thing is on the other browsers installed in the same machine (Safari, FF) it is working regularly.

    I have tried to overwrite the wp-comments-post.php file from a wordrpess install, clear the cache, reboot, reboot MAMP, but nothing. I also checked the file wp-comments-post.php in the root is not blank and Akismet is disabled.

    any ideas? thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sushidread

    (@sushidread)

    Also just tried to disable plugins, same results.

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Ten theme to rule out any theme-specific problems.

    resetting the plugins folder.

    Thread Starter sushidread

    (@sushidread)

    Just tried:

    – deactivate ALL plugins: blank page.

    – switched to twenty ten: blank page.

    – resetting plugins: blank page.

    Now I’m really lost, I have tried every advice I found on google (add hidden field to the form, remove blank lines at end of file, etc…) but none works.

    The strange issue is with other browsers on the same mac is working!
    Tried also to re-install chrome….same problem.

    Maybe I can try to put the website online and check if it works (maybe a mamp or cache problem on localhost).

    This is a long-running and rather odd issue that I had happen to me a while back. After much searching in Google I came upon this little nugget:

    Have a look at your theme’s functions.php file and make sure there are no extra carriage returns after the very last line. Also check your wp-config.php file.

    Hope that helps

    Peter

    Thread Starter sushidread

    (@sushidread)

    Thanks Peter,
    but I checked both and they are ok, no CR at EOF.

    This solution was good to me when I wasn’t able to access admin anymore, but for my problem is not working.

    I continue to look at the strange issue that in one browser is showing a blank page and in the others not, that’s very strange, never happened before.

    Thread Starter sushidread

    (@sushidread)

    Problem solved. It was an unclosed div. Lesson learned: first validate your code completely, then ask for help ??

    Thank you Peter and esmi anyway!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wordpress 3.1 blank page after submitting comment’ is closed to new replies.