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.
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
-
Accepted Answer
0I 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 -
Accepted Answer
-
Accepted Answer
0the 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 -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0oh, 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 -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Hello 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 -
Accepted Answer
0wow... 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
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »