Forum Replies Created

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

    (@meezohd)

    [WP-Ajaxify-Comments] Initializing version 0.24.1 wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Found jQuery 1.11.0 wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Found jQuery blockUI 2.6 wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Found jQuery Idle Timer plugin wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Attach form... wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Search comment form (selector: '#commentform')... Found: e.fn.init[1] wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Search comments container (selector: '#commentslayout')... Found: e.fn.init[1] wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Search respond container (selector: '#respond')... Found: e.fn.init[1] wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Search comment paging links (selector: '.pagination a')... Found: e.fn.init[4] wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Search comment links (selector: '#comments a[href*="/comment-page-"]')... Found: e.fn.init[10] wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Initialization completed wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Replace comment form... wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Comment has been posted wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Found comment URL 'https://localhost/players/robin-van-persie.htm/comment-page-5#comment-99' in X-WPAC-URL header. wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Found unapproved state '0' in X-WPAC-UNAPPROVED wp-ajaxify-comments.js?ver=0.24.1:79
    [WP-Ajaxify-Comments] Replace comment form... wp-ajaxify-comments.js?ver=0.24.1:79
    Thread Starter meezohd

    (@meezohd)

    >>> I meant your website is working fine now

    Thread Starter meezohd

    (@meezohd)

    its working fine now …

    there no errors at all…

    could you please explain how a message or an error is shown to the end-user ?

    like what exactly happen after i submit a comment ?

    because it seems for me that there is no action…. just the cursor changes to downloading and then the new comment appears

    thanks

    Thread Starter meezohd

    (@meezohd)

    your website is not working !

    im working on my localhost server and using a theme called wordpress-bootstrap-master ….

    Thread Starter meezohd

    (@meezohd)

    just noticed something….
    i think its just a small mistake on line 31 !!

    $this->set_language(empty($_REQUEST['lang']) ? $this->get_preferred_language() : $this->model->get_language($_REQUEST['lang']));

    it should be:

    $this->set_language( empty( $_REQUEST['lang'])) ? $this->get_preferred_language() : $this->model->get_language($_REQUEST['lang'] );

    you forgot to close
    empty( $_REQUEST['lang']

    correct me if i am wrong please !

    Thread Starter meezohd

    (@meezohd)

    if i delete line 30 and 31 on polylang/frontend/choose-lang.php

    everything seems to work fine !!

    could you please explain what this code does ?

    if (PLL_AJAX_ON_FRONT || false === stripos($_SERVER['SCRIPT_FILENAME'], 'index.php'))
                    $this->set_language(empty($_REQUEST['lang']) ? $this->get_preferred_language() : $this->model->get_language($_REQUEST['lang']));

Viewing 6 replies - 1 through 6 (of 6 total)