Guest Posted October 18, 2010 Posted October 18, 2010 I am getting the following warnigs when I launch my pages. Warning: file(home/*username*/public_html/banned/IP_Trapped.txt) [function.file]: failed to open stream: No such file or directory in /home/*username*/public_html/includes/secret.php on line 11 Warning: Invalid argument supplied for foreach() in /home/*username*/public_html/includes/secret.php on line 13 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/*username*/public_html/includes/secret.php:11) in /home/*username*/public_html/includes/functions/sessions.php on line 102 Here are the lines in question: secret.php line 11 - $IPtrap = file ('home/heathe70/public_html/banned/IP_Trapped.txt'); secret.php line 13 - foreach( $IPtrap as $blockip ) sessions.php line 102 - return session_start(); I have looked through the site and changed my file permissions for IP trapped and index to 777, I have checkd for white spaces, and I have tried using the given URL's as well as the absolute paths. I still get the same errors. Any suggestions????? Heather Quote
germ Posted October 18, 2010 Posted October 18, 2010 Any suggestions????? Heather Post in the IP Trap support thread (link below) IP Trap Support Thread Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
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.
Note: Your post will require moderator approval before it will be visible.