Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Issue with statistics: Blank page

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2442 Views
  • BladedThoth
    Avatar
    Community Member
    2 Posts

    Issue with statistics: Blank page Link to this post

    I'm not sure what is wrong; It appears that the statistics page is broken somehow on my install. Whenever I click on the Statistics tab, I get nothing; A blank page. Viewing source reveals there is nothing either. I'm running 2.2.1 right now, so I'm up to date. I've also tried running ?flush=1 and /db/build?flush=1 as well, to no avail. I can't seem to find any sign of something malfunctioning either. Any suggestions?

    Thanks in advance!
    BT

    ADD: Got the log working, and I got the following error:
    [17-Feb-2008 07:35:16] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 46 bytes) in /<webhome>/sapphire/core/model/DataObject.php on line 1472

    Any ideas?

  • BladedThoth
    Avatar
    Community Member
    2 Posts

    Re: Issue with statistics: Blank page Link to this post

    Still trying to figure this one out; It appears a memory limit issue; However, I don't know how far I'd have to increase, and more bothersome of an idea, why does this page need more than 30MB memory to run? Any ideas?

  • jam13
    Avatar
    121 Posts

    Re: Issue with statistics: Blank page Link to this post

    Statistics module is badly broken.

    It fetches the _entire_ PageView table into memory, which fails once you have a few days/weeks worth of traffic logged.

    IMHO it should be completely removed for three reasons:

    1) It's currently useless
    2) To make it useful would require a lot of work
    3) Most people would use a third party webstats program (like Google Analytics) anyway

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Issue with statistics: Blank page Link to this post

    we're aware of the issues with the reporting code in its current state, it will probably become a module on its own on the long run - you definetly get more features with google analytics as it stands.

  • saimo
    Avatar
    Community Member
    67 Posts

    Re: Issue with statistics: Blank page Link to this post

    Google analytics has one drawback though as far as I know (but I have never tried it):
    It uses JavaScript, which some people (like me) have disabled by default and where it is not necessary.

    2442 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.