adamlg Posted July 4, 2011 Share 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 Quote Link to comment Share on other sites More sharing options...
jje Posted July 4, 2011 Share 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 Quote Link to comment Share on other sites More sharing options...
Guest Geoff Posted July 4, 2011 Share Posted July 4, 2011 You need to change the include location to the captcha_config.php file. Quote Link to comment Share on other sites More sharing options...
adamlg Posted July 4, 2011 Author Share 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. Quote Link to comment Share on other sites More sharing options...
Guest Geoff Posted July 4, 2011 Share Posted July 4, 2011 Glad your problem got solved! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.