Content Stats Modules Break my Site.

0
After installing the content stats plugin, content stats k2 plugin and supporting modules i have found that only the "Content Statistics Ranking" module actually works.

Both mod_content_statistics_compare and mod_content_statistics_individual cause maximum execution errors.

Here is the sum of errors i am receiving:

###########################################################

Notice: Undefined variable: more_where in C:\xampp\htdocs\workbench\modules\mod_content_statistics\helper.php on line 93

Notice: Undefined variable: more_left_join in C:\xampp\htdocs\workbench\plugins\contentstats\com_k2\com_k2.php on line 447
Notice: Undefined variable: where_selector in C:\xampp\htdocs\workbench\plugins\contentstats\com_k2\com_k2.php on line 450
Notice: Undefined variable: category_id in C:\xampp\htdocs\workbench\plugins\contentstats\com_k2\com_k2.php on line 613

Notice: Undefined variable: more_where in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 110
Notice: Undefined variable: more_where in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 111
Notice: Undefined variable: more_where in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 112
Notice: Undefined variable: more_where in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 113
Notice: Undefined index: 2011-02-01 in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 172
Notice: Trying to get property of non-object in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 172
Notice: Undefined index: 2011-03-01 in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 172
Notice: Trying to get property of non-object in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 172
Notice: Undefined index: 2011-04-01 in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 172
Notice: Trying to get property of non-object in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 172
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 172


Notice: Undefined variable: more_where in C:\xampp\htdocs\workbench\modules\mod_content_statistics_individual\helper.php on line 87
Notice: Undefined variable: more_where in C:\xampp\htdocs\workbench\modules\mod_content_statistics_individual\helper.php on line 89
Notice: Undefined index: 2011-02-01 in C:\xampp\htdocs\workbench\modules\mod_content_statistics_individual\helper.php on line 151
Notice: Trying to get property of non-object in C:\xampp\htdocs\workbench\modules\mod_content_statistics_individual\helper.php on line 151
Notice: Undefined index: 2011-03-01 in C:\xampp\htdocs\workbench\modules\mod_content_statistics_individual\helper.php on line 151
Notice: Trying to get property of non-object in C:\xampp\htdocs\workbench\modules\mod_content_statistics_individual\helper.php on line 151
Notice: Undefined index: 2011-04-01 in C:\xampp\htdocs\workbench\modules\mod_content_statistics_individual\helper.php on line 151
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\workbench\modules\mod_content_statistics_individual\helper.php on line 151

###############################################################

I would appreciate help resolving this matter ASAP.

Thanks
Responses (5)
  • Accepted Answer

    Thursday, August 09 2012, 01:49 PM - #Permalink
    0
    hello!

    these are not errors, these are runtime NOTICES, it's not something you should worry about

    what you need to do is to disable (or decrease) the error reporting level on Joomla global configuration (set it to "none" for instance)

    can you try that?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 09 2012, 01:54 PM - #Permalink
    0
    errrrm ....

    I believe these are errors:

    Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\workbench\modules\mod_content_statistics_compare\helper.php on line 172

    and

    Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\workbench\modules\mod_content_statistics_individual\helper.php on line 151

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 09 2012, 01:57 PM - #Permalink
    0
    hmm... yes indeed they are. this is strange... it makes no sense that one of these modules is exhausting the execution time (30seconds!), these modules usually don't take more than 1 second to render...!
    is this happening only with the K2 plugin?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 09 2012, 02:07 PM - #Permalink
    0
    Turning off the plugin gives me this:

    ################################################

    500 - JDatabaseMySQLi::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 5' at line 1 SQL=LIMIT 5

    ################################################


    Which i guess is expected as there is no longer any plugin present but when i go back into the modules i get this JS error (from the module manager):


    ##################################################
    Uncaught TypeError: Cannot read property 'length' of undefined select.js:108
    changecriteriaselect select.js:108
    (anonymous function) select.js:38
    (anonymous function) mootools-core-uncompressed.js:4424
    implement mootools-core-uncompressed.js:220
    Array.implement.each mootools-core-uncompressed.js:337
    invoke.fireEvent mootools-core-uncompressed.js:4422
    domready



    and then this when i try to save the settings:


    Uncaught TypeError: Cannot call method 'isValid' of null index.php:50
    Joomla.submitbutton index.php:50
    onclick


    so something is obviously going seriously wrong here.

    Cheers
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 09 2012, 02:12 PM - #Permalink
    0
    no.. I didn't tell you to turn off the plugin! (specially if you have a module working with that plugin)

    what I said is to try to create a module to display data from a diferent component (not K2), but something else, to see if the execution time error still apears.

    the error you're seeing now is because you have a module set up to display K2 data but the K2 plugin is disabled..! it's normal that it crashed (just re-activate it!)

    I see you are in localhost... is there anyway I can check this online?

    the K2 plugin you're using is exactly the same we have active here, in this demo site, and as you can see it works just good... so must be only some missconfiguration..!
    The reply is currently minimized Show
Your Reply