Home > PHP > CodeIgniter: Your recaptcha.php file does not appear to contain a valid configuration array

CodeIgniter: Your recaptcha.php file does not appear to contain a valid configuration array

October 28th, 2013 Leave a comment Go to comments

For those who have run into this problem as I do, check the settings for PHP marker (<? and <?=).
If not activated, you will see this error because they are placed in reCAPTCHA scripts.

Modify “<?” into “<?php” and “<?=” into “<?php echo” and everything will be fine.
The other option is to allow shorter markers.

Categories: PHP Tags: ,
  1. No comments yet.
  1. No trackbacks yet.