WordPress.org

Ready to get started?Download WordPress

Forums

WPBook Lite
Comments not importing as cron not running (6 posts)

  1. csimpson
    Member
    Posted 1 year ago #

    Hi John

    Any idea where i can start to investigate why the cron job is not running to import comments made on facebook to website? - i can post to group and page fine!

    Ive looked in debug file and it only details actions taken when posting to facebook.

    Last few entries

    2012-08-21 20:19:58 : publish_to_facebook running, target_admin is 647375209
    2012-08-21 20:19:58 : Post ID is 5258
    2012-08-21 20:19:58 : My permalink is http://www.f*******************
    2012-08-21 20:19:58 : Function does not exist, or no thumb
    2012-08-21 20:19:58 : Post thumbail is
    2012-08-21 20:19:58 : Post share link is
    2012-08-21 20:19:58 : Past stream_publish, fb_response is
    2012-08-21 20:19:58 : Group access token is A******************
    2012-08-21 20:19:58 : Publishing to group 2*****************
    2012-08-21 20:19:58 : Publishing to group, image is
    2012-08-21 20:20:00 : Just published to group via api, fb_response is Array
    (
        [id] => 2**********************8
    )
    
    2012-08-21 20:20:00 : Publishing to page 1*************
    2012-08-21 20:20:00 : Publishing to page, image is
    2012-08-21 20:20:01 : Just published as page to api, fb_response is Array
    (
        [id] => 1********************8
    )
    
    2012-08-23 08:20:37 : publish_to_facebook running, target_admin is 647375209
    2012-08-23 08:20:37 : Post ID is 5264
    2012-08-23 08:20:37 : My permalink is http://www.f********************
    2012-08-23 08:20:37 : Function does not exist, or no thumb
    2012-08-23 08:20:37 : Post thumbail is
    2012-08-23 08:20:37 : Post share link is
    2012-08-23 08:20:37 : Past stream_publish, fb_response is
    2012-08-23 08:20:37 : Group access token is A***********************************************D
    2012-08-23 08:20:37 : Publishing to group 2****************
    2012-08-23 08:20:37 : Publishing to group, image is
    2012-08-23 08:20:39 : Just published to group via api, fb_response is Array
    (
        [id] => 2*******************
    )
    
    2012-08-23 08:20:39 : Publishing to page 1***************
    2012-08-23 08:20:39 : Publishing to page, image is
    2012-08-23 08:20:40 : Just published as page to api, fb_response is Array
    (
        [id] => 1*******************
    )

    settings are:
    Stream Debug Options
    tick- Enable WPBook to create a debug file
    tick- Show errors posting to Facebook Stream

    not ticked - Disable Facebook SSL verification

    Stream Comment Options
    tick - Import comments from Facebook Walls

    tick - Automatically approve imported Wall comments

    For how many days should WPBook look for comments on Facebook Walls?:

    What email address should WPBook associate with imported comments? - no email

    tick - Show Facebook avatars on imported comments

    http://wordpress.org/extend/plugins/wpbook-lite/

  2. johneckman
    Member
    Plugin Author

    Posted 1 year ago #

    If debugging is enabled, you should see a wpbook_debug.txt in the directory with your plugin. (This is different than the wpbook_pub_debug.txt file which tracks publishing)

    Can you use a plugin like Core Control to see if wp-cron is running and to try running the wpbook_import_comments() task attached to wpbook_cron_job?

    Comment imports relies on WordPress' built in wp-cron, so if that isn't running it will not happen.

  3. csimpson
    Member
    Posted 1 year ago #

    thanks john, just installed core control as there is no wpbook_debug.txt file anywhere in plugin folder(s). Ill keep posted, thanks

  4. csimpson
    Member
    Posted 1 year ago #

    just run cron with aid of Core Control, and I do now see the debug file.

    however:

    2012-09-07 17:59:56 : Cron Running
    2012-09-07 17:59:56 : Access token is AAADV3yPklSUBALtjgq8yJZBTfE4wbcv7ZB0TRb91ZA6xlhhhnR4Ak0AShXpw86ZAY3zbjGzwZCvjZBItaGYfeXYz6oZAsCGJZBdqRfHJECZCTMwZDZD
    2012-09-07 17:59:56 : response is Array
    2012-09-07 17:59:56 : error type is
    2012-09-07 17:59:56 : error message is
    2012-09-07 17:59:56 : Getting posts, SQL was Select ID FROM wp_posts WHERE post_date BETWEEN '2012-09-05 17:59:56' AND '2012-09-07 17:59:56'
    2012-09-07 17:59:56 : No posts to examine
    2012-09-07 18:02:38 : Cron Running
    2012-09-07 18:02:38 : Access token is AAADV3yPklSUBALtjgq8yJZBTfE4wbcv7ZB0TRb91ZA6xlhhhnR4Ak0AShXpw86ZAY3zbjGzwZCvjZBItaGYfeXYz6oZAsCGJZBdqRfHJECZCTMwZDZD
    2012-09-07 18:02:39 : response is Array
    2012-09-07 18:02:39 : error type is
    2012-09-07 18:02:39 : error message is
    2012-09-07 18:02:39 : Getting posts, SQL was Select ID FROM wp_posts WHERE post_date BETWEEN '2012-09-05 18:02:39' AND '2012-09-07 18:02:39'
    2012-09-07 18:02:39 : No posts to examine

    after posting, and making a comment on post, no comments are coming in. This did work but has stopped.

    regards Craig

  5. johneckman
    Member
    Plugin Author

    Posted 1 year ago #

    Hmm. This means there's a bug in 1.5.1, sorry.

    I will look into it this afternoon

  6. johneckman
    Member
    Plugin Author

    Posted 1 year ago #

    Just tagged 1.5.2 - should show up in the repository shortly.

    Let me know if that doesn't solve your import problem

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic