Opened 3 years ago
Closed 3 years ago
#1503 closed Defect (fixed)
Search plugin causes WSOD on upgrade to 1.7
| Reported by: | cash | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | Elgg 1.7 |
| Component: | Core | Version: | 1.6 |
| Severity: | blocker | Keywords: | |
| Cc: | brettp | Difficulty: |
Description
The old /engine/lib/search.php and the new /mod/search/start.php both define the functions search_init() and search_page_handler().
The names in the plugin need to be changed or an empty search.php needs to be in the lib directory or the library files need to be loaded from a list rather than dynamically.
Change History (2)
comment:1 Changed 3 years ago by brettp
- Priority changed from normal to critical
comment:2 Changed 3 years ago by brettp
- Resolution set to fixed
- Status changed from new to closed
(In [svn:3927]) Fixes #1503, fixes #1474: Library files are loaded using a hard-coded list to better deal with removed files. Also, ~4% performance increase per page load on my server!
Note: See
TracTickets for help on using
tickets.

Just noticed this too. +1 for loading from a static list. It would also give a slight performance gain from not having to scan a directory on each page load.