Forums

Site Statistic Plugin (21 posts)

  1. carlonicora
    Member
    Posted 6 years ago #

    Hi all!
    I have developed a little plugin for Site Statistic.
    If you want to try it just download it at http://www.fchouse.com or http://www.fchouse.com/archives/fchs-the-first-public-beta-release-of-my-open-source-statistic-plugin-for-wordpress/

    Bye

    Carlo

  2. piginzen
    Member
    Posted 6 years ago #

    Cool! Looks like a feature rich stats plugin... I will definitely check this one out!

  3. Jaycos
    Member
    Posted 6 years ago #

    That's nice. I finally got installed ip2nation. Some features of the Plugin don't work at my site, but it looks really nice so far.

  4. carlonicora
    Member
    Posted 6 years ago #

    Hi Jaycos!
    What is not working? If you need I can help! Have you followed the the installation procedures?
    Come on http://www.fchouse.com/fchs-plugin/ or contact me!
    The installation procedure is a little mess, because it was done (until now) only for internal purposes.
    If you have found any difficulty tell me, so I will update the little How-To!
    Bye Bye

    Carlo

  5. Jaycos
    Member
    Posted 6 years ago #

    Hi Carlo,
    Visits and Historical Stats are doing well. But Visited Pages delivers
    Most Accessed Pages Today
    Warning: Invalid argument supplied for foreach() in /is/htdocs/**mypath**/www/wp-content/plugins/wp-fchs.php on line 1181
    Number of Visits Page

    Most Accessed Pages
    Warning: Invalid argument supplied for foreach() in /is/htdocs/**mypath**/www/wp-content/plugins/wp-fchs.php on line 1206
    Number of Visits Page

    And Visited Categories, Today Referrals and Searches deliver errors as well. But Complete Referrals and Other Stats are working.

    Note: **mypath** replaces my real path...

  6. Jaycos
    Member
    Posted 6 years ago #

    One error's reason is pretty clear:

    WordPress database error: [Table 'dbxxxx-blog.wp_FCHS_Details' doesn't exist]
    SELECT COUNT(DET_POS_Id) as 'Count', cat_name, cat_id FROM wp_FCHS_Details, wp_post2cat, wp_categories WHERE post_id=DET_POS_Id AND category_id=cat_ID AND DET_POS_Id<>'' GROUP BY category_id ORDER BY cat_name;

    This is because I use a database prefix (wp_01_ instead of wp_) and your plugin cannot deal right with that. Nevertheless it installed by itself the tables wp_01_FCHS_Bots, wp_01_FCHS_Details, wp_01_FCHS_Searches
    and wp_01_FCHS_Visits

  7. carlonicora
    Member
    Posted 6 years ago #

    Hi Jaycos!
    I've found a stupid bug (in two functions I have written wp_tablename instead of working with "tableprefix" :(
    As soon as I will fix it at home I will publish the corrected version!
    This is for the "tablename" problem, but I'm still inspecting the first bug you told me in the visited pages...

    ...mumble...

    I will try to get rid of it also!

    Bye and thanks for the cue!

  8. carlonicora
    Member
    Posted 6 years ago #

    Hi All!
    The silly bug of the table name has been solved (sorry).
    Can you tell me, Jaycos, if after upgrading to version 0.3.1 (http://www.fchouse.com/wp-fchs.rar) you will still have the same problems?

    Bye
    Carlo

  9. Jaycos
    Member
    Posted 6 years ago #

    Hi carlonicora,
    it's much better now. But a few errors are still there:

    Most Accessed Pages Today
    Warning: Invalid argument supplied for foreach() in /is/htdocs/**mypath**/www/wp-content/plugins/wp-fchs.php on line 1199
    Number of Visits Page

    Today Referrals
    Warning: Invalid argument supplied for foreach() in /is/htdocs/**mypath**/www/wp-content/plugins/wp-fchs.php on line 1351
    Number of Visits Page

    Latest Searches
    Warning: Invalid argument supplied for foreach() in /is/htdocs/**mypath**/www/wp-content/plugins/wp-fchs.php on line 1769
    Date of Search Searched String Search Engine

    Top Searches
    Warning: Invalid argument supplied for foreach() in /is/htdocs/**mypath**/www/wp-content/plugins/wp-fchs.php on line 1769
    Number of Searches Searched String Search Engine

    I hope that helps you making this great plugin even better!

  10. carlonicora
    Member
    Posted 6 years ago #

    Hi Jaycos,
    I have created a new blog, with some different settings (TablePrefix like yours for example), but I'm unable to recreate the same errors...
    Those are referring to the "foreach" that cycles throug the database:
    (1199) Most Visited pages today
    (1351) Most referral pages today
    (1769) Latest Searches

    Being unable to replicate the problem I am in the middle of the mist... do you use permalinks? do your server returns correctly the function "date('YmdHis')" as "YYYMMDDHHMMSS"? (can u try in a php page with a simple "echo date('YmdHis');"?
    the strange thing is that even with empty recordset there are no errors in my testblog, and this excludes that an empty field would crash... do you change anything on the db?

    (ok, I'm trying all the questions I have in my mind, even stupid ones..)

    Bye

    Carlo

  11. Jaycos
    Member
    Posted 6 years ago #

    Yes, the date-function is working correctly... :-/
    So maybe it's not a prob of your code. Maybe some some other plugins i use are responsible for that?

  12. resiny
    Member
    Posted 6 years ago #

    looks great

  13. carlonicora
    Member
    Posted 6 years ago #

    Jaycos,
    I don't think that other plugins should be responsible for something that doesn't work in some view!
    I will check on it to find some fixes to your problem! If someone get the same error or is able to find any hint I've missed.... I'm here! :)

    BTW, thank you resiny!

  14. carlonicora
    Member
    Posted 6 years ago #

    Hi All!
    Latest news... the foreach problem means that I have been dumb! :) The problem should be now solved with the version 0.3.2.
    I'm working on a big redraw of the entire application with ajax, I hope to post something the next week!

    Bye

    Carlo

  15. Jaycos
    Member
    Posted 6 years ago #

    YESSS! Thanks for the fix! I cannot expect the ajaxed version! :-)

  16. Jaycos
    Member
    Posted 6 years ago #

    Just a little bit more feedback:
    a) I've got hits from http://search.blogger.com/, but they are not listed under searches.
    b) I am not sure if "visited pages" is working well. In Historical Stats it says "Page Visited: 2932", but in "visited pages" only 2 posts of my blog are listed with one hit each.

    I hope this helps you to perfect your FCHS-plugin!

  17. carlonicora
    Member
    Posted 6 years ago #

    Hi Jaycos,
    a) The search engine controller have only few SearchEngine. blogger.com is not in one of them. I will add some configurations also for this part in the next version. (it will take a little bit, because I have a lot of things to do in this period). The method now used takes the definitions from a list of static Search Engines def, in the future I will make them expandable and customizable! :)
    b) When I access the root of you site it is not a visited page, I can get the pages visited only when someone click on a single post (or on a category). Normally you get the click on a page only when you read the comments, when you post a comment or when the post is only partially visible in the main page.
    For example:
    http://www.fchouse.com
    is NOT a visited page, because it is the root
    http://www.fchouse.com/fchs-plugin/
    IS a page, because it is a defined one, not the root.

    I do not keep track of the root pages, but if you look at the "Visits" and you expand one of them you will be able to see what that specific visitor have seen, and in a lot of them you will see the root!!!

    Am I correct?

    Bye

    Carlo

  18. Jaycos
    Member
    Posted 6 years ago #

    On the visits page i see, that e.g. a user visited 20 pages. When i click on details i see all 20 pages the user visited. Here i see only time and path ( /?p=40, /?author=16 and so on), post name is empty.
    But under visited pages i see only 2 posts (now their title is mentioned) with one visit each.
    The visited pages feature is not important to me. I just wanted to tell you...

  19. carlonicora
    Member
    Posted 6 years ago #

    Hi jaycos,
    can you check on the FCHS_Details table and tell me if the DET_POS_Id field is filled with values?
    As you told me it should be set only for two visits, and the rest has to be NULL values. it should mean that the statistic engine fails somewhere when it tries to get the post id from the page!
    Let me know if the Details table is ok or not!
    Bye
    Carlo

  20. Jaycos
    Member
    Posted 6 years ago #

    Hi Carlo,

    you are right, there are only two entries in that field. 28 and 33, the two posts i see in the statistic.

  21. carlonicora
    Member
    Posted 6 years ago #

    Hi Jaycos,
    in these days I really have no time to track down FCHS!
    Sorry!
    I hope to be on line again soon! :(

    Check the plugin part that check the post number! You can find the problem there!

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags