adamlg Posted July 4, 2011 Posted July 4, 2011 im using a pre made script that has very little support you can view the problem errors here http://url4u.tk/account/register. or here: Warning: include() [function.include]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/captcha_config.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u177154682/public_html/captcha.php on line 19 Warning: include(/usr/local/apache/htdocs/captcha_config.php) [function.include]: failed to open stream: Operation not permitted in /home/u177154682/public_html/captcha.php on line 19 Warning: include() [function.include]: Failed opening '/usr/local/apache/htdocs/captcha_config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/u177154682/public_html/captcha.php on line 19 Warning: shuffle() expects parameter 1 to be array, null given in /home/u177154682/public_html/captcha.php on line 25 any help would be appreciated
jje Posted July 4, 2011 Posted July 4, 2011 Look at this code: /usr/local/apache/htdocs/captcha_config.php You do not have access to that, since you are only permitted to access files within your own home directory*, like: /home1/adamlg/public_html/captcha_config.php *with some exceptions
Guest Geoff Posted July 4, 2011 Posted July 4, 2011 You need to change the include location to the captcha_config.php file.
adamlg Posted July 4, 2011 Author Posted July 4, 2011 thanks a lot! i was going cross-eyed all night trying to figure it out. finally got it resolved. thanks to all who replied.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now