Update Error

Permalink
I am getting an error when I have C5 check for updates. I just upgraded to the latest version (5.5.2.1). I mean its not a huge problem as I can just upgrade manually but I would like to know whats wrong.

Here is the error that I am getting when I click "Check for Updates".

5.5.2.1
Warning: Cannot modify header information - headers already sent by (output started at /home/simley/www/www/concrete/controllers/dashboard/system/backup_restore/update.php:57) in /home/simley/www/www/concrete/libraries/controller.php on line 356

Thanks for your help!

 
cgsmith replied on at Permalink Reply
cgsmith
Hi jdo2010,

I am also getting that error message with the same offending line in Concrete5.

It will help to see what the developers think.

To make the error go away. Comment out line 57 of update.php in

concrete/controllers/dashboard/system/backup_restore/update.php

public function check_for_updates() {
      Config::clear('APP_VERSION_LATEST', false);
      //print Update::getLatestAvailableVersionNumber();
      $this->redirect('/dashboard/system/backup_restore/update');
   }
jdo2010 replied on at Permalink Reply
Does that make updating work again?
cgsmith replied on at Permalink Reply
cgsmith
I think it would work.

You will have to message a developer about this thread. I am not sure if the Update::getLatestAvailableVersionNumber(); has to run or not in order for the interface to recognize an update is available.