PDA

View Full Version : Cannot modify header information Error after CVS Update


Taffman
16-02-05, 08:16 PM
I'm now getting the following errors following the latest CVS update:

Warning: Cannot modify header information - headers already sent by (output started at /home/www/2mbs.net/dotproject/includes/main_functions.php:510) in /home/www/2mbs.net/dotproject/index.php on line 94

Warning: Cannot modify header information - headers already sent by (output started at /home/www/2mbs.net/dotproject/includes/main_functions.php:510) in /home/www/2mbs.net/dotproject/index.php on line 95

Warning: Cannot modify header information - headers already sent by (output started at /home/www/2mbs.net/dotproject/includes/main_functions.php:510) in /home/www/2mbs.net/dotproject/index.php on line 96

Warning: Cannot modify header information - headers already sent by (output started at /home/www/2mbs.net/dotproject/includes/main_functions.php:510) in /home/www/2mbs.net/dotproject/index.php on line 216

Seems to originate from main_functions.php:510

Reverting to an old snapshot (about 2 months old) works fine!

Any ideas anyone?

ajdonnison
17-02-05, 01:24 PM
Wait a little while and grab the next snapshot (it will be updated in the next 24 hours). There were a few hassles with some of the Windows workarounds and we are backing them out now.

Taffman
17-02-05, 07:57 PM
Ok many thanks.. Keep up the goo work :-)

Dai

Taffman
18-02-05, 11:58 PM
Still the same problem. any idea on which files are affected so I can roll back perhaps?

cyberhorse
19-02-05, 12:43 AM
how do you update your version? any "M"s?

Taffman
19-02-05, 03:51 AM
I use Tortoise do update a sandbox on my local PC, then upload the files via FTP to my ISP.
Is there a better way?

Taffman
19-02-05, 05:20 AM
Just deleted everything and FTP all the latest CVS, getting a page full of funky errors!
But if I roll back to an earlier copyu of CVS all is fine?

Check out http://www.2mbs.net/dotproject/ to see what I mean?

Taffman
22-02-05, 07:51 PM
Anyone have any further ideas on this, I'm kinda of stuck?

cyberhorse
22-02-05, 11:46 PM
it's all caused by a missing table - run the upgrade_latest.sql file on your db server.

Taffman
23-02-05, 10:51 PM
Just tried this and got the following error:

__________________________________________________ ____
Error

SQL-query :

ALTER TABLE `projects` ADD `project_departments` CHAR( 100 )

MySQL said:


#1060 - Duplicate column name 'project_departments'

__________________________________________________ ____

As this is a new install with no valuable project data, perhaps I should delete all tables and try a fresh install?