Getting this error when calling a file from parent theme into child theme in WordPress:
Warning: require_once(framework/recaptchalib.php) [function.require-once]: failed to open stream: No such file or directory in  ChildTheme/contact.php on line 6

Fatal error: require_once() [function.require]: Failed opening required ‘framework/recaptchalib.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in ChildTheme/contact.php on line 6

You just replace this code: 

        <?php require_once(‘framework/recaptchalib.php’); ?>

with this code : 

       <?php locate_template( array( ‘framework/recaptchalib.php’ ), true ); ?>