Tee
Tee
Offline
0
Hi Guys,

I'm just installed the latest version of content stats.

All modules and plugins work well except for the Content Statistics (RANKING) module. When I enable this module on a page the entire page is blank and white.

I've tried to modify each option in the config (also selecting different content providers) and still the front-end page is just pure white blank.

I've tried this on 2 seperate Joomla installations with the following setup:

1) Joomla 1.7.3 with Rockettheme Tachyon and Jomsocial 2.4.2
2) Joomla 2.5.2 with Joomlart JA Social and Jomsocial 2.4.2

My Firefox webmaster tools is not finding a css or javascript issue.

Please can you take a look to see if this is a bug with the module or let me know what other settings I can adjust?

Thanks and regards.
Responses (18)
  • Accepted Answer

    Thursday, March 22 2012, 10:48 AM - #Permalink
    0
    hello

    I think I maybe know what it is. we recently upgraded this plugin.
    would you be so kind to try the following?

    open /modules/mod_content_statistics/helper.php and go to line 125

    where you see this:

    mb_strlen

    please replace it for:

    strlen

    and same a couple lines below: where you see this:

    mb_substr

    replace for this:

    substr

    does this help? please let me know
    The reply is currently minimized Show
  • Accepted Answer

    Tee
    Tee
    Offline
    Wednesday, March 28 2012, 04:10 AM - #Permalink
    0
    Hi,

    Thanks for your reply.

    I've made the changes you suggested however they have not helped. The page is still blank white when I try view it via the frontend.

    Please let me know if there are any other options I can try?

    Thanks and regards.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 29 2012, 04:15 PM - #Permalink
    0
    could you enable error reporting? set it to the maximum.

    this way we may be able if some error is showing up and we'll know the problem.
    The reply is currently minimized Show
  • Accepted Answer

    Tee
    Tee
    Offline
    Thursday, March 29 2012, 09:52 PM - #Permalink
    0
    1) OK I've set error reporting to the maximum and this is what was returned for the Ranking module with a blank white screen:

    Notice: Undefined property: plgSystemContentstats::$is_robot in /chroot/home/mysite.com/html/plugins/system/contentstats/contentstats.php on line 310

    Notice: Undefined variable: groups in /chroot/home/mysite.com/html/plugins/contentstats/com_community/com_community.php on line 451

    Notice: Undefined variable: where_selector in /chroot/home/mysite.com/html/plugins/contentstats/com_community/com_community.php on line 462 Parse error: syntax error, unexpected $end in /chroot/home/mysite.com/html/modules/mod_content_statistics/tmpl/table.php on line 31

    2) ALSO, here are the error messages for the other modules (that do appear on the site):

    Notice: Undefined property: plgSystemContentstats::$is_robot in /chroot/home/mysite.com/html/plugins/system/contentstats/contentstats.php on line 310

    Notice: Undefined variable: more_where in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 87 Notice: Undefined index: 2011-10-01 in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 149 Notice: Trying to get property of non-object in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 149 Notice: Undefined index: 2011-11-01 in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 149 Notice: Trying to get property of non-object in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 149 Notice: Undefined index: 2011-12-01 in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 149 Notice: Trying to get property of non-object in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 149 Notice: Undefined index: 2012-01-01 in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 149 Notice: Trying to get property of non-object in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 149 Notice: Undefined index: 2012-02-01 in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 149 Notice: Trying to get property of non-object in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 149 Notice: Undefined variable: names in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/helper.php on line 198 Notice: Undefined variable: backcolors in /chroot/home/mysite.com/html/modules/mod_content_statistics_individual/tmpl/default.php on line 74 Article views over the past 6 months

    3) Lastly the following error message appears at the top of the admin screen in the admin when I click into any module to edit it:

    Notice: Undefined variable: one_of_us in /chroot/home/mysite.com/html/plugins/system/contentstats/contentstats.php on line 75


    Thanks and regards.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 30 2012, 07:54 AM - #Permalink
    0
    hello

    don't worry about the NOTICES.

    the problem is this one:

    462 Parse error: syntax error, unexpected $end in /chroot/home/mysite.com/html/modules/mod_content_statistics/tmpl/table.php on line 31

    this is quite strange, because I have checked this file several times and there are no error syntaxes

    have you somehow modified this file?

    in any case, can you just please go to module parameters and set a LAYOUT that is NOT the Table layout? this will most likely avoid this problem!
    The reply is currently minimized Show
  • Accepted Answer

    Tee
    Tee
    Offline
    Sunday, April 01 2012, 11:17 PM - #Permalink
    0
    Hi again,

    I haven't modified any of the files.

    I've tried all the layout options. The only options that work are the 'Google' chart bars and pie. All the other layouts give the error.

    Here are the errors for the bars and default layout:

    Parse error: syntax error, unexpected $end in /chroot/home/mysite.com/html/modules/mod_content_statistics/tmpl/bars.php on line 99

    Parse error: syntax error, unexpected $end in /chroot/home/mysite.com/html/modules/mod_content_statistics/tmpl/default.php on line 25

    Please let me know the next step to resolve this issue?

    Thanks and regards.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 02 2012, 07:32 AM - #Permalink
    0
    ok

    well the only way I can help oyu is taking a loot at it myself, at the code. could you end me Joomla and FTP access to the site?
    The reply is currently minimized Show
  • Accepted Answer

    Tee
    Tee
    Offline
    Thursday, April 19 2012, 12:48 AM - #Permalink
    0
    Hi again,

    I'm now focused on trying to get this module to work.

    I installed the Ranking module into a fresh Joomla 2.5.4 site with a fresh install of Jomsocial 2.6 and Joomlart ja social template.

    I'm using the jomsocial plugin and I've checked all my settings.

    Again I've tried the different layout options and the only ones that work are the google charts.

    The same errors appear as described before so it seems that this is a bug with your module.

    Please can you let me know how I can securely send you the login details so that you can take a look at my site?

    Thanks and regards.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 19 2012, 08:21 AM - #Permalink
    0
    send them at joomlastatistics@gmail.com
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 03 2012, 06:17 AM - #Permalink
    0
    I have encountered this error after I installed the Content Statistics (RANKING) module.

    Parse error: syntax error, unexpected $end in C:\xampp\htdocs\current\churchdemo\modules\mod_content_statistics\tmpl\default.php on line 26

    The content provider is K2.

    I see that 2 other people have reported this same, you've responded to them but have not suggested a solution in the forum.

    Please can you help ASAP. Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 03 2012, 10:25 AM - #Permalink
    0
    just a quick question: is you PHP short_open_tags directive set to ON on your server? can you check it?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 03 2012, 11:45 PM - #Permalink
    0
    Hello Germi,

    short_open_tag = Off

    Should this be on?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 03 2012, 11:58 PM - #Permalink
    0
    The default layout works ok with the short_open_tag = On. Thanks
    I think the short tags should be changed, I am not an expert so it is your call.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, September 27 2012, 10:05 PM - #Permalink
    0
    I have the same issue. I just purchased within the last week or so. I am glad I found this. Publishing this module basically gives a 500 error of server configuration issue.

    Working on Microsoft 2008 IIS7 server.
    Joomla 2.5.6

    What else can I provide to help this bet resolved?

    Thanks,
    TracyT
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 28 2012, 07:55 AM - #Permalink
    0
    can you check if your short_open_tags PHP directive is set to ON?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 28 2012, 07:19 PM - #Permalink
    0
    Thanks for your reply Germi.

    Here are my settings:
    ; short_open_tag
    ; Default Value: On
    ; Development Value: Off
    ; Production Value: Off

    Since this is a production server, I think they are off. Should I turn to on?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, September 29 2012, 01:35 PM - #Permalink
    0
    definitely! can you do that? :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, December 10 2012, 03:40 PM - #Permalink
    0
    Awesome. Everything works now...
    The reply is currently minimized Show
Your Reply