Boo-urns Posted January 31, 2007 Share Posted January 31, 2007 I had everything going smoothly in PHP 4, i try to transfer it to a different host (yes changed the connection on the pages etc...it did connect) I am getting these errors on the page.Warning: include(../Connections/conn_mypetwork.php) [function.include]: failed to open stream: No such file or directory in /home/mypetwor/public_html/staging/profile.php on line 1Warning: include() [function.include]: Failed opening '../Connections/conn_mypetwork.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mypetwor/public_html/staging/profile.php on line 1Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/mypetwor/public_html/staging/profile.php:1) in /home/mypetwor/public_html/staging/profile.php on line 5Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mypetwor/public_html/staging/profile.php:1) in /home/mypetwor/public_html/staging/profile.php on line 5Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/mypetwor/public_html/staging/profile.php on line 10Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/mypetwor/public_html/staging/profile.php on line 12I'm guessing once it all get fixed the bottom 4 Warnings will clear up. If anybody could point me in the right direction it would be appreciated. Thanks,Corey Quote Link to comment Share on other sites More sharing options...
Boo-urns Posted February 1, 2007 Author Share Posted February 1, 2007 Well i got it to connect but now i'm getting session_start() errors.Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mypetwor/public_html/staging/profile.php:5) in /home/mypetwor/public_html/staging/profile.php on line 6 ??? Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 1, 2007 Share Posted February 1, 2007 What is on lines 1-6?In the future, you need to post code AND errors. We can't do much with only one or the other. 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.