firedrop84 Posted January 6, 2007 Share Posted January 6, 2007 Hi All,I have a problem with one of the functions that I am using in my website. The function basically forth staff to shift on/off. I test it into three cmputers that they show me different errors.The first computer it works fine unless if there isn't any row in the database. it displays an error when I try to shift on. The error is:Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\CBDHealthSpa\test.php:130) in C:\Program Files\xampp\htdocs\CBDHealthSpa\test.php on line 147The second computer it display a debug error any time i try to shift on/off. The debug it attached into the message.The third computer it works find for the first time when I shift on/off. The second time or even more it dsipaly the same debug error.I have attached a zip file that contains the php code and a screen shot of the debug error. Any one can help me with this.Regards,firedrop[attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/33069-different-problems-in-different-computers/ Share on other sites More sharing options...
fert Posted January 6, 2007 Share Posted January 6, 2007 change[code]<?php session_start();[/code]to[code]<?phpob_start();session_start();[/code]andchange[code]shift_on_off();[/code]to [code]shift_on_off();ob_end_flush();[/code] Link to comment https://forums.phpfreaks.com/topic/33069-different-problems-in-different-computers/#findComment-154091 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.