We have moved to Github. Please open tickets there.

Opened 3 years ago

Closed 3 years ago

#2563 closed Defect (fixed)

new autoloading classes causes WSOD if exception occurs before core classes are registered

Reported by: cash Owned by: ewinslow
Priority: high Milestone: Elgg 1.8.0
Component: Core Version: Github Master
Severity: critical Keywords:
Cc: brettp Difficulty: trivial

Description

I would have the autoloading function fall back and look for a core class if one is not found in the map. A related issue is that the auto loading function needs to be defined sooner. Maybe it should be done in the elgg_lib.php script so it is available ASAP in the boot process. That might be the solution to this rather than the fall back.

Change History (2)

comment:1 Changed 3 years ago by cash

This was breaking the installer so I fixed it.

comment:2 Changed 3 years ago by cash

  • Resolution set to fixed
  • Status changed from new to closed

(In [svn:7091]) Fixes #2563 - setup autoload in elgglib.php so exceptions and other classes are available as soon as possible

Note: See TracTickets for help on using tickets.