WordPress.org

Ready to get started?Download WordPress

Forums

[WPTouch] Not Posting Mobile Comments (6 posts)

  1. brancht
    Member
    Posted 3 years ago #

    Just added WPTouch. It appears to run fine. When publishing comments, it shows that the comment was published, but the comments never show up (they're not awaiting moderation). I logged in as an administrator on WPTough with the same results. When switching off the mobile view, it will post form the mobile device.

  2. brancht
    Member
    Posted 3 years ago #

    Found the following error in my site error log:

    /home/homes4ha/public_html/thebranchteam/wp-comments-post.php' not found or unable to stat

    Looks like the script is not looking the right directory for the script.

    Tom

  3. brancht
    Member
    Posted 3 years ago #

    comments.php in default theme:

    Line 92 - <form action="<?php echo get_option('url'); ?>/wp-comments-post.php" method="post" id="commentform">

    I changed it to:

    <form action="<?php echo get_option('url'); ?>/wordpress/wp-comments-post.php" method="post" id="commentform">

    It works fine.

    get_option('url') must be the issue but I don't have time to chase it down. Must be a bad call of some kind.

    Tom

  4. brancht
    Member
    Posted 3 years ago #

    Changed it to:

    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"

    Works fine using SITEURL rather than URL.

    I'm guessing URL is not valid but SITEURL references the correct path in the WP-OPTIONS table.

    Tom

  5. dalemugford
    Member
    Posted 3 years ago #

    The bug is fixed in the latest release.

  6. brancht
    Member
    Posted 3 years ago #

    Thanks!

    Tom

Topic Closed

This topic has been closed to new replies.

About this Topic