WordPress.org

Ready to get started?Download WordPress

Forums

Stream
[resolved] Not displaying any changes (27 posts)

  1. Damon Cook
    Member
    Posted 6 months ago #

    I've had this plugin enabled on a "staging" development site for almost a week. I'm running WP 3.8 and Stream 0.8. The only user account on the site is WP user 1, super admin user. Dozens of posts have been created and edited over the past week, but when I visit Stream dashboard there is no activity listed. What gives?

    The only thing I can think of is, does the "Search Engine Visibility: Discourage search engines from indexing this site" have to be unchecked for this plugin to work?

    Please advise.

    http://wordpress.org/plugins/stream/

  2. Frankie Jarrett
    Member
    Plugin Author

    Posted 6 months ago #

    Hi Damon!

    When Stream is activated it creates 3 new database tables. Based on what you just described it sounds like it could be that your server environment is preventing new tables from being created.

    If you are able, go check your WordPress database tables (using phpMyAdmin or something) and look for wp_stream, wp_stream_context, and wp_stream_meta. If they aren't there, then you will need to contact your database administrator/hosting company.

    Please keep us posted!

  3. Damon Cook
    Member
    Posted 6 months ago #

    Frankie,
    Yes, I see 3 db tables were created 12/12: wp_stream_meta, wp_stream, wp_stream_context. Still no information displaying on the Stream dashboard. I just upgraded to 0.8.1

    Please advise.

  4. Frankie Jarrett
    Member
    Plugin Author

    Posted 6 months ago #

    Hey Damon, just re-reading your first comment, I see that you mentioned you are a "Super Admin".

    It should be noted that the plugin doesn't fully support Multisite yet. We are tracking it as an issue in GitHub (#65).

    There is already a support forum topic for this: http://wordpress.org/support/topic/network-multisite?replies=4

  5. Damon Cook
    Member
    Posted 6 months ago #

    I misspoke. I'm not running multisite, but just an individual site. I just meant user 1, Admin role.

  6. Frankie Jarrett
    Member
    Plugin Author

    Posted 6 months ago #

    Hey Damon, just spoke with all the other lead devs for Stream and none of us are able to replicate what you are describing here. Also, it seems this issue may be isolated because it hasn't been reported by any other users yet.

    So I guess the only thing left to do is get more information from you in hopes it might point us in some kind of direction:

    1. PHP version
    2. MySQL version
    3. WordPress version
    4. Stream plugin version
  7. Damon Cook
    Member
    Posted 6 months ago #

    Sure, of course:
    1. PHP 5.3.27
    2. MySQL 5.5.9
    3. WordPress 3.8
    4. Stream 0.8.2

    I'm going to try installing on another site on our hosting to see if the issue persists throughout our Linux box, and will report back briefly.

  8. Damon Cook
    Member
    Posted 6 months ago #

    I just tried on another one of our sites.

    This site had the following configuration:
    1. PHP 5.3.27
    2. MySQL 5.5.9
    3. WordPress 3.7.1
    4. Stream 0.8.2

    I installed Stream, went and created a new Post and saved as a Draft, then visited Stream dashboard and saw nothing. Am I not using it correct? I was logged in as Admin.

    I verified that the three Stream tables were created in the db.

  9. Frankie Jarrett
    Member
    Plugin Author

    Posted 6 months ago #

    Very strange indeed, can you enable WP_DEBUG to see if there are any errors being thrown?

    If this is a production site and you can't do that, please take a look at the server's PHP error log.

  10. Damon Cook
    Member
    Posted 6 months ago #

    Ah, here we go...error log says:
    WordPress database error Field 'ip' doesn't have a default value for query INSERT INTO vi3pl_stream (created,summary) VALUES ('2013-12-13 13:23:54',' logged out') made by wp_clear_auth_cookie, do_action('clear_auth_cookie'), call_user_func_array, WP_Stream_Connector::callback, call_user_func_array, WP_Stream_Connector_Users::callback_clear_auth_cookie, WP_Stream_Connector::log, WP_Stream_Log->log, WP_Stream_DB->insert

    Not sure what this implies though.

  11. Frankie Jarrett
    Member
    Plugin Author

    Posted 6 months ago #

    Thanks for the info, Damon.

    Since we can't reproduce this, it would be great if you could try some things for us here to see if we can resolve these errors.

    Open the includes/log.php file. And scroll to the bottom.

    1) Change the 'ip' argument like so: https://gist.github.com/fjarrett/8058052#file-gistfile1-php-L30

    2) And add these two lines before the $recordarr: https://gist.github.com/fjarrett/8058052#file-gistfile1-php-L18-L19

  12. Damon Cook
    Member
    Posted 6 months ago #

    Ok, I modified the file with both edits. Deactivated, re-activated plugin, deleted Post, and went to Stream dash and there is nothing recorded.

  13. Frankie Jarrett
    Member
    Plugin Author

    Posted 6 months ago #

    And does the same error appear in the PHP log, or a different one?

  14. Damon Cook
    Member
    Posted 6 months ago #

    I tried disabling all plugins on the site, and this did not resolve either.

    To make things weirder and more confusing I tried installing on a third site on same server and it works. This site is PHP: 5.3.27, MySQL: 5.0.96, WP 3.8, with Stream 0.8.2. However, I did notice on this site that there are so far 5 entries for Stream, and under the IP column nothing is listed.

  15. Frankie Jarrett
    Member
    Plugin Author

    Posted 6 months ago #

    OK on the last site you tried (the one where Stream worked), did you also modify the log.php file on that site?

    If yes, try using the plugin as-is without the gist changes I gave you and see if the IP appears in the records.

  16. Damon Cook
    Member
    Posted 6 months ago #

    No error seems to have stopped. I just have a few entries for:
    [20-Dec-2013 17:44:30 UTC] Use Google Libraries: Another plugin has registered or enqued a script before the "init" action. Attempting to work around it.

    Which aren't related, but that is why I tried disabling all plugins to narrow the debugging, but didn't help.

  17. Frankie Jarrett
    Member
    Plugin Author

    Posted 6 months ago #

    @Damon Any chance you are using a IPv6 address?

    An issue has just been raised for this: https://github.com/x-team/wp-stream/issues/146

  18. Damon Cook
    Member
    Posted 6 months ago #

    I don't believe so, but checking. Get right back at ya. Thanks!

  19. Damon Cook
    Member
    Posted 6 months ago #

    Here is response from our server admin: "Cpanel doesn’t have any ip6 ip ranges so my assumption would be no. Not sure if somehow it thinks its enabled"

  20. Damon Cook
    Member
    Posted 5 months ago #

    I just set up a new site on our hosting and installed latest Stream, and problem still exists. I can't figure out for the life of me what the issue is. Could it be something we've got configured on our hosting? I guess I don't know enough about server configuration to even speculate.

    New site's error log:
    [15-Jan-2014 14:07:33 UTC] WordPress database error Field 'ip' doesn't have a default value for query INSERT INTO vnek_stream (created,summary) VALUES ('2014-01-15 14:07:33',' logged out') made by wp_clear_auth_cookie, do_action('clear_auth_cookie'), call_user_func_array, WP_Stream_Connector::callback, call_user_func_array, WP_Stream_Connector_Users::callback_clear_auth_cookie, WP_Stream_Connector::log, WP_Stream_Log->log, WP_Stream_DB->insert
    [15-Jan-2014 14:12:15 UTC] WordPress database error Field 'ip' doesn't have a default value for query INSERT INTO vnek_stream (object_id,author,created,summary) VALUES (1,'1','2014-01-15 14:12:15','SysAdmin logged in') made by wp_signon, do_action('wp_login'), call_user_func_array, WP_Stream_Connector::callback, call_user_func_array, WP_Stream_Connector_Users::callback_wp_login, WP_Stream_Connector::log, WP_Stream_Log->log, WP_Stream_DB->insert

  21. Frankie Jarrett
    Member
    Plugin Author

    Posted 5 months ago #

    Hi Damon, do you happen to have a completely different server you can test on?

    Just trying to help eliminate variables and that seems like the logical next step.

  22. Damon Cook
    Member
    Posted 5 months ago #

    Sure! I installed Stream 1.0.2 in my local MAMP configuration and works like a charm. PHP 5.5.3, MySQL 5.5.33, WP 3.8.

  23. Frankie Jarrett
    Member
    Plugin Author

    Posted 5 months ago #

    Hey Damon, we've just released v1.1.3 which includes a fix for the IP column in the database. I think it might resolve your issue.

    Can you test it out for us?

  24. Damon Cook
    Member
    Posted 5 months ago #

    Working like a charm now. Thanks!

  25. Frankie Jarrett
    Member
    Plugin Author

    Posted 5 months ago #

    Awesome! Sorry for the delay with this...it took us a while to uncover what was happening. I appreciate your patience!

  26. Damon Cook
    Member
    Posted 5 months ago #

    no problem! Glad it is resolved, and will be using on all my future sites, as I love for client work.

  27. Frankie Jarrett
    Member
    Plugin Author

    Posted 5 months ago #

    That's great to hear! Thanks so much. If you do have a quick moment to write a review for Stream we would greatly appreciate it!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.