17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2768 Views |
-
Reports section

1 June 2008 at 10:35pm
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"
-
Re: Reports section

14 June 2008 at 2:21am Last edited: 14 June 2008 2:26am
same here..
the class "Report_StatsReport" is commented out in the file
../ecommerce/code/reports/Report.phpremove the comment and it works
cheerio
mario
-
Re: Reports section

15 July 2008 at 6:25pm Last edited: 21 July 2008 8:31pm
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 -
Re: Reports section

21 October 2008 at 5:26am
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!
-
Re: Reports section

7 November 2008 at 5:04am Last edited: 7 November 2008 5:12am
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.
| 2768 Views | ||
|
Page:
1
|
Go to Top |






