Monday 21 March 2016

Drupal 7 - Mac Os - Mamp Fatal error: require_once(): Failed opening required ‘*’ (include_path='.:/Applications/MAMP/bin/php/php5.5.22/lib/php') in *includes/bootstrap.inc on line 3211

I needed to rebuild the registry and had a 'Bus 10' error with the 'Registry Rebuild' that's listed in modules.

To solve this on index.php add at the bottom


registry_rebuild
();


This is fine for fixing on local but if you're doing this on local but if you need to do it on a server a much better solution is to use the module https://www.drupal.org/project/registry_rebuild

And then

$ drush registry-rebuild
Just as a foot note I also got this message


Fatal error: Call to undefined function video_embed_field_property_info_callback() in */profiles/commons/modules/contrib/entity/modules/field.info.inc on line 30


To fix this I had to install the Video Embed Field Module and enable from drush.





No comments: