bearbug2003 Posted June 6, 2006 Share Posted June 6, 2006 Hi AllI have a site developed using dream weaver/php and mysql, all runs perfectly on my Windows XP PC.I am trying to get it running on the web now and after uploading and attempting to log in I get all sorts of errors including-----------------------------------------------------------------------------------------------------------------------Warning: session_start(): open(/home/intranet/sessions//sess_e70774060aff2acc28aa63d02ad988a2, O_RDWR) failed: No such file or directory (2) in /home/intranet/www/php/pass-db.php on line 6Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/intranet/www/php/pass-db.php:2) in /home/intranet/www/php/pass-db.php on line 6Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/intranet/www/php/pass-db.php:2) in /home/intranet/www/php/pass-db.php on line 6Warning: main(.\setup.php): failed to open stream: No such file or directory in /home/intranet/www/php/pass-db.php on line 9Fatal error: main(): Failed opening required '.\setup.php' (include_path='.:/usr/share/pear') in /home/intranet/www/php/pass-db.php on line 9Warning: Unknown(): open(/home/intranet/sessions//sess_e70774060aff2acc28aa63d02ad988a2, O_RDWR) failed: No such file or directory (2) in Unknown on line 0Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/intranet/sessions/) in Unknown on line 0.I have used relative paths throughout the code, and strangely enough the /home/intranet part of the path isn't something I have used anywhere and it works perfectly on the PC at homeMany thanks in advance Link to comment https://forums.phpfreaks.com/topic/11304-php-errors/ Share on other sites More sharing options...
trq Posted June 6, 2006 Share Posted June 6, 2006 It would appear there may bve a problem with the server session.save_path, also looks like you may have coded your site with register globals switched off.I would ask the host about the session.save_path problem. Link to comment https://forums.phpfreaks.com/topic/11304-php-errors/#findComment-42330 Share on other sites More sharing options...
bearbug2003 Posted June 10, 2006 Author Share Posted June 10, 2006 [!--quoteo(post=380519:date=Jun 6 2006, 03:13 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ Jun 6 2006, 03:13 AM) [snapback]380519[/snapback][/div][div class=\'quotemain\'][!--quotec--]It would appear there may bve a problem with the server session.save_path, also looks like you may have coded your site with register globals switched off.I would ask the host about the session.save_path problem.[/quote]Thanks Thorpe - looks like that has helped! Link to comment https://forums.phpfreaks.com/topic/11304-php-errors/#findComment-43906 Share on other sites More sharing options...
legohead6 Posted June 10, 2006 Share Posted June 10, 2006 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/intranet/www/php/pass-db.php:2) in /home/intranet/www/php/pass-db.php on line 6Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/intranet/www/php/pass-db.php:2) in /home/intranet/www/php/pass-db.php on line 6MAke sure the first thing on the first line of your page is <?PHP no <html> before it or anthing then on the second line SESSION_START(); Link to comment https://forums.phpfreaks.com/topic/11304-php-errors/#findComment-43907 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.