Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Reports section

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: 2917 Views
  • dio5
    Avatar
    Community Member
    501 Posts

    Reports section Link to this post

    Before adding this to the tickets on open.silverstripe.com I was wondering what the reports section in the cms (stable 2.2.2) is supposed to do and if I am the only one where it doesn't work and gives me a fatal error

    "Fatal error: Class 'Report_StatsReport' not found in blablabla\cms\code\ReportAdmin.php on line 70"

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Reports section Link to this post

    broken for me as well....

  • mbellino
    Avatar
    Community Member
    32 Posts

    Re: Reports section Link to this post

    same here..

    the class "Report_StatsReport" is commented out in the file
    ../ecommerce/code/reports/Report.php

    remove the comment and it works

    cheerio

    mario

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Reports section Link to this post

    This was caused by ManifestBuilder trying to get classes, even if they're commented out. It was fixed in a later version of sapphire:

    http://open.silverstripe.com/changeset/52327

    It's also been removed in ecommerce trunk, so it shouldnt be a problem for future releases!

    Cheers,
    Sean

  • inlive
    Avatar
    Community Member
    5 Posts

    Re: Reports section Link to this post

    Hello,

    I cnt find the way to fix it.

    cms/code/ReportAdmin.php on line 70
    at what line can i change and in what file?
    ----------------------------
    - Line 70 Reportadmin -       

    if($report != 'Report') $processedReports[] = new $report();?
    ----------------------------

    - Line 70 Report.php -

       $sort = array("Order.ID"=>"DESC"),

    -----------------------------

    who can help?

    see original files attached.

    Thanx!

  • inlive
    Avatar
    Community Member
    5 Posts

    Re: Reports section Link to this post

    HELP WANTED!!

    I STILL GET AN ERROR!

  • runnerman
    Avatar
    Community Member
    24 Posts

    Re: Reports section Link to this post

    Are you using the stable version (0.5.2) or a trunk version of the module?

    The reports section of the trunk version doesn't work, I read it's being redesigned for the next stable release (0.6). I believe the fix mentioned above is only for the stable version, which is why the line numbers mentioned in the fix don't match with what you're looking at.

    2917 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.