I have a Magento development environment setup on a virtual box server with a git repo in the root web directory. I've been using this setup for almost a year. Yesterday I checked out master and now if I go to the home page I get a blank white page (view source shows nothing is returned). No errors are in var/log
or var/report
. I've cleared var/cache
and verified my permissions pare properly set. The same branch is checked out on our live site and QA, and both work just fine.
If I go to a product page, the bulk of the page is there, but lots of CSS and JS is missing. I have found that it's trying to load http://example.com/mage/translate.js
instead of http://example.com/js/mage/translate.js
. So it appears that the config value for the js
folder isn't being loaded.
If I go to the admin the login page loads the inputs and dies with this error
Warning: include(Mage/Captcha/Model.php): failed to open stream: No such file or directory
This is caused by these lines
$type = $this->getConfigNode('type');
$this->_captcha[$formId] = Mage::getModel('captcha/' . $type, array('formId' => $formId));
in Mage_Captcha_Helper_Data
(lines 71 & 72). The issue is that $type
is coming back as null
when it should get the default from the Captcha config.xml
. I've checked that the config file is there and its loaded by Varien_Simplexml_Config::loadFile()
.
Can anyone offer any suggestions as to what I may have done to my server to mess it up this badly?