I was doing some work on a wordpress site and another programmer had also been working on it. I was doing the design work, he was doing some custom PHP scripts. (we don’t know each other.)
Some of his code was inserted in the wrong place and I made a few changes that I was confident I could undo if they broke the site. 5 hours later I go to log in and all admin screens are blank white. The site is still up and running though.
I tried to switch out the files I altered via ftp, but I must be forgetting something because it is still not working.
I checked the error log on the server and found one fatal error:
[01-Mar-2012 11:25:34] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home5/bestbik1/public_html/silvertoday/wp-content/themes/genesis/lib/init.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home5/bestbik1/public_html/silvertoday/wp-content/themes/streamline/functions.php on line 3
I am not experienced enough at PHP to know how to proceed to get the admin back up and working.
- What does each part of this error mean specifically?
and - What steps do I take to correct or troubleshoot?
UPDATE
Finally gave in and did a fresh install of the most recent version of the Genesis theme framework. Everything works again. Wanted to find the bug, but sometimes you gotta move on. Thanks everybody!
It looks to me like you’re using a child theme of the Genesis theme framework. Certainly, you’ve got a
functions.phpfile in your “streamline” theme that’s trying to include Genesis’sinit.php, which is normally the first line of any Genesis child theme’sfunctions.php.Assuming that your theme is a Genesis child theme, it looks like your Genesis theme install has become corrupt, with its
lib/init.phpmissing or having the wrong permissions. I’d try removing the Genesis theme and reinstalling it (which may mean deleting and re-uploading thewp-content/themes/genesisfolder.)(You didn’t uninstall the Genesis theme, did you? If you’re using a Genesis child, Genesis has to be installed even if it’s not the “active” theme.)