Error

0
Hello, I installed the component mod_content_statistics_compare_1.3.0_pro.zip is showing the following error: Warning: Invalid argument supplied for foreach() in /home/governoe/public_html/modules/mod_content_statistics_compare/helper.php on line 207

See the link: http://www.governoeletronico.net/educacao

How do I solve this problem?

NOTE: Please tell me in detail, because I am Brazilian and I do not know very well English.
Responses (16)
  • Accepted Answer

    Tuesday, December 06 2011, 04:59 PM - #Permalink
    0
    hello
    have you installed the CORE plugin?
    and some extension plugins?

    what are the content providers selected on your MODULE?

    can you make an screenshot?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, December 06 2011, 08:20 PM - #Permalink
    0
    I installed the following components and plugins:
    plg_contentstats_com_content_1.3.0.zip
    plg_contentstats_1.3.1.zip
    mod_content_statistics_1.3.0_pro.zip
    mod_content_statistics_compare_1.3.0_pro.zip
    mod_content_statistics_individual_1.3.0_pro.zip

    In the content provider I used the "Articles (com_content)"

    note: this problem only appears in the category and not in article
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, December 06 2011, 09:44 PM - #Permalink
    0
    hello! what is the problem?

    if you select "category views" and "current category" it will only display results on a category page. do you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 07 2011, 09:31 AM - #Permalink
    0
    the problem is that is showing the following error message:

    Warning: Invalid argument supplied for foreach() in /home/governoe/public_html/modules/mod_content_statistics_compare/helper.php on line 207

    See the link: www.governoeletronico.net/educacao
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 07 2011, 09:43 AM - #Permalink
    0
    hello!

    yes, I see that. the problem is seems like the second data pack ("Serviço") is not well configured

    WHAT do you have selected here as the data provider? what are your parameters?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 07 2011, 10:11 AM - #Permalink
    0
    Ok, I would like to compare the amount of views the category with the amount of current views of the current article.

    How should I set?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 07 2011, 03:45 PM - #Permalink
    0
    oh, well, in that case the error shows because this page in particular is NOT an article page, so when you say "current article views" it gets and empty result in this page (because it's a category page).
    you will see what you want only on the article page itself, like this:
    http://www.governoeletronico.net/educacao/acesso-virtual-ao-acervo-artistico-cultural-dos-palacios-do-governo-do-estado-de-sao-paulo-sp

    this is an article page so there's no problem. do you know what I mean?

    but in any case you can just disable warnings on your error reporting level ( joomla backend) to get ride of the warning.

    do you know what I 'm talking about?

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 07 2011, 05:01 PM - #Permalink
    0
    yes, I understand, is just that.

    but I disable warnings in the error report (joomla backend) and yet the error message still appears.

    Is there another way to hide this error?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 07 2011, 05:02 PM - #Permalink
    0
    do you have access to your php.ini file?
    you can do it there just by adding:

    ERROR_REPORTING = E_ERROR
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, December 08 2011, 08:54 AM - #Permalink
    0
    I did not find the php.ini, I do not have on my website. Is there another way?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, December 08 2011, 11:03 AM - #Permalink
    0
    usually, if you don't find it, you can just create it ( a blank file) on your root. yes there is a small thing I can try if you want, but I would need FTP access to do it. can you send me details?
    at joomlastatistics@gmail.com
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 09 2011, 08:54 AM - #Permalink
    0
    ok, I've sent email to you

    thank
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 09 2011, 11:07 AM - #Permalink
    0
    hello!
    I added a quick fix. can you try?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 09 2011, 11:36 AM - #Permalink
    0
    Okay, now solved this problem completely. Thank you very much
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, January 14 2012, 05:27 PM - #Permalink
    0
    Hello Germi, is now showing the following error:


    Table '. / Governoe_gen / jos_content_statistics' is marked as crashed and Should Be Repaired SQL = INSERT INTO `jos_content_statistics` (`component`, `reference_id`, `type`, `ip`, `user_id`) VALUES ('com_content', '195 ', '1', '177 .33.58.32 ', '0')

    see: www.governoeletronico.net/servicos-publicos

    Please help me
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, January 14 2012, 05:30 PM - #Permalink
    0
    wow... this is an error on your MySQL server... it's actually not an issue of content statistics, is just that there was an error to the server and it affected this table (and maybe others..)! a crashed table should be repaired. do you have access to a MySQL manager (phpMyAdmin perhaps?) you should go there and hit "repair"

    but to be honest, I don't know if reparing the table will result in erasing all the stored data in the statistics table...! :S
    The reply is currently minimized Show
Your Reply