When I attempt to visit the admin page, I get the following error.....
Fatal error: Call to undefined function finder_ui_info() in /****/sites/all/modules/finder/modules/finder_ui/plugins/export_ui/finder_ui.class.php on line 86
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | finder-Load_common_inc_directly-1881198-2.patch | 911 bytes | Drave Robber |
Comments
Comment #1
Drave Robber commentedFirst of all, I'd do a quick check for integrity of files in
modules/finder_ui/includes- do file sizes match these?(By the way, another one of your issues - #1932538: 500 error after updating from 7.15 to 7.20 - sounds pretty much like broken file, too)
Comment #2
Drave Robber commentedIf
common.incis OK, could also try the attached patch.(This normally should not be needed as
finder_uiloadsfinder.incwhich in turn loadscommon.inc- so this is just trying to play it safe)Comment #3
herd45 commentedDrave,
Thank you for responding and for the patch.
All of the files match up with the versions on drupalcode.org. I also re-downloaded the module and I'm still getting the same error.
I was not able to add the patch. Netbeans gave a "The patch cannot be applied to the selected content response"
Comment #4
Drave Robber commentedBeing an old-school text editor user, I'm not really familiar with NetBeans;
but the potential fix I have in mind is a one-liner anyway, so we might as well insert it manually.
To recap the background:
finder_ui_info()function that the error is about resides in/modules/finder_ui/includes/common.inc;finder_ui.class.phpmakes sure to loadfinder.inc, which in turn loadscommon.inc;finder_inc()which in turn usesctools_include()which in turn uses PHP'srequire_once;common.incaround in different directories);Based on this, my suggestion is to try loading the right file more explicitly by adding a line
after line 17 of
finder/modules/finder_ui/plugins/export_ui/finder_ui.class.php(betweenfinder_inc()andctools_include()calls).Comment #5
Drave Robber commentedAlso, are there other suspicious errors in 'Recent log events'? E.g. along the lines of 'Failed to open stream (...)'.
Comment #6
Drave Robber commentedNo activity for four weeks - I reckon the OP either gave up or found another solution/workaround (if this is the case, you're welcome to share it).
I for one could not reproduce this from the start.