Ticket #2400 (closed defect: fixed)

Opened 9 months ago

Last modified 3 months ago

Fatal error in reports section of CMS - i18n::include_by_class() class not found

Reported by: sharvey Owned by: sharvey
Priority: critical Milestone: E-Commerce 0.6.0
Component: Modules - ecommerce Version: 2.2.2-rc2
Severity: medium effort / impact Keywords:
Cc: Hours:

Description

The below error can be reproduced by loading up the reports section, and clicking an order in the "Unprinted Orders" report - click the order number link, then press back in the browser, and this error should show:

FATAL ERROR: i18n::include_by_class: Class not found At line 1258 in C:\wamp\www\testsite\sapphire\core\i18n.php

user_error(i18n::include_by_class: Class not found,512) line 1258 of i18n.php

i18n::include_by_class() line 132 of Core.php

_t(EXPORTCSV,Export to CSV) line 139 of DataReport?.php

DataReport?->htmlExportButton() line 11 of OrderReport?.php

OrderReport?->FieldHolder?()

call_user_func_array(Array,Array) line 404 of ViewableData?.php

ViewableData?->XML_val(FieldHolder?1) line 72 of .cacheC..wamp.www.testsite.sapphire.templates.TabSetFieldHolder?.ss

include(C:\WINDOWS\Temp\silverstripe-cacheC--wamp-www-testsite\.cacheC..wamp.www.testsite.sapphire.templates.TabSetFieldHolder?.ss) line 197 of SSViewer.php

SSViewer->process(TabSet?) line 763 of ViewableData?.php

ViewableData?->renderWith(TabSetFieldHolder?) line 42 of TabSet?.php

TabSet?->FieldHolder?()

call_user_func_array(Array,Array) line 404 of ViewableData?.php

ViewableData?->XML_val(FieldHolder?1) line 62 of .cacheC..wamp.www.testsite.sapphire.templates.Includes.Form.ss

include(C:\WINDOWS\Temp\silverstripe-cacheC--wamp-www-testsite\.cacheC..wamp.www.testsite.sapphire.templates.Includes.Form.ss) line 197 of SSViewer.php

SSViewer->process(Form) line 763 of ViewableData?.php

ViewableData?->renderWith(Form) line 644 of Form.php

Form->forTemplate() line 420 of ViewableData?.php

ViewableData?->XML_val(EditForm?1) line 9 of .cacheC..wamp.www.testsite.cms.templates.Includes.ReportAdmin?_right.ss

include(C:\WINDOWS\Temp\silverstripe-cacheC--wamp-www-testsite\.cacheC..wamp.www.testsite.cms.templates.Includes.ReportAdmin?_right.ss) line 197 of SSViewer.php

SSViewer->process(ReportAdmin?) line 763 of ViewableData?.php

ViewableData?->renderWith(Array) line 368 of LeftAndMain?.php

LeftAndMain?->Right()

call_user_func_array(Array,Array) line 404 of ViewableData?.php

ViewableData?->XML_val(Right1) line 100 of .cacheC..wamp.www.testsite.cms.templates.LeftAndMain?.ss

include(C:\WINDOWS\Temp\silverstripe-cacheC--wamp-www-testsite\.cacheC..wamp.www.testsite.cms.templates.LeftAndMain?.ss) line 197 of SSViewer.php

SSViewer->process(ReportAdmin?) line 296 of Controller.php

Controller->defaultAction(index,Array) line 267 of Controller.php

Controller->run(Array)

Change History

Changed 9 months ago by sharvey

  • priority changed from medium to critical

This one's actually a critical issue, because it's stopping usage of the ecommerce reports.

Changed 9 months ago by sharvey

  • milestone set to E-Commerce 0.5.2-rc1

Changed 9 months ago by sharvey

One thing I forgot: Using 2.2.2rc3 and ecommerce trunk.

Changed 6 months ago by rlouis

The ecommerce reports section is gonna be cleaned as well to handle the new Order structure !

Changed 6 months ago by rlouis

  • owner changed from sharvey to rlouis

Changed 6 months ago by ischommer

Changed 6 months ago by jshipman

I'm not sure this is specifically related to the ecommerce module.

Changed 6 months ago by smagnusson

  • milestone changed from E-Commerce 0.5.2 to E-Commerce 0.6.0

Anthony Kenelley/WorldNZ has this issue and found it widespread in the system.

Changed 4 months ago by sharvey

  • owner changed from rlouis to sharvey

Changed 3 months ago by sharvey

  • status changed from new to closed
  • resolution set to fixed

This has been fixed on the latest ecommerce development version.

Note: See TracTickets for help on using tickets.