Bug: Blank Screens and Fatal error: Call to undefined function lookup_ca()
I am posting this in the OpenVPN forum because it seems related to http://redmine.pfsense.org/issues/1927. Moderators, please feel free to move this if need be.
I am encountering a bug which results in me being unable to access most areas of the pfSense web UI. Almost all pages show blank screens (empty HTTP bodies in responses), except for the Dashboard, User Manager, and maybe a few others, I did not check everything. When I try logging out and accessing one of the affected URLs directly, I am properly redirected to the login screen. After logging in, I am redirected to the desired page which (only then) shows "Fatal error: Call to undefined function lookup_ca() in /etc/inc/auth.inc on line 650". If I access the same page after a regular login (without redirect), the error message is not shown and I get the blank screen.
I try to recap how I got there. Unfortunately, I did not note the steps exactly, and I have no way of getting back to check.
- Overall, I was trying to connect pfSense to my OpenLDAP server.
- I am using LDAPS, so I went to System -> Cert Manager and installed a new CA certificate (I was using the CA and Intermediate from StartSSL)
- Then, I added the LDAP server in System -> User Manager -> Servers. Here I selected the certificate and used port number 636, LDAPS, and Version 3. I am using a pretty standard LDAP layout but I think my problem is not related to LDAP itself as the connection is not even made.
When googling for my error message "Fatal error: Call to undefined function lookup_ca() in /etc/inc/auth.inc on line 650", I find a bug that seems only remotely related: http://redmine.pfsense.org/issues/1927. So I wanted to discuss this here first before I make a comment on #1927 or file a new bug.
Any feedback or help would be greatly appreciated. I am happy to perform any checks/tests you propose in order to analyze this. Overall, our pfSense box seems to be operating normally. However, I am kind of stuck as I don't know how to escape this situation with most of the pages being blank. I do have a backup of our box configuration, but I'd like to avoid re-installing everything from scratch.
I am using "2.0-RELEASE (i386) built on Tue Sep 13 18:02:53 EDT 2011", Platform "nanobsd (1g)" on an ALIX.2D13.
This seems to be fixed in 2.0.1. I was able to upgrade to 2.0.1 using the console and everything works fine now.