Update not working

Permalink
I am working for a guy who hadn't updated his C5 since 2011. I began updating it and got to 5.5.2.1. When i did this update there was not dashboard on the backend and I wasn't able to edit. I did some research and added some code and the editor came back. I tried to download the 5.6.3.3 and it seemed to download it to the updates file, but when I try to update on C5 i get the error below. So I can download the update but not upload it. Can someone help please.

5.6.3.3
Warning: Cannot modify header information - headers already sent by (output started at /home/hunterftpftp/devittlaw.com/updates/concrete5.5.2.1/concrete/controllers/dashboard/system/backup_restore/update.php:57) in /home/hunterftpftp/devittlaw.com/updates/concrete5.5.2.1/concrete/libraries/controller.php on line 356

 
jasteele12 replied on at Permalink Reply
jasteele12
Since the error includes /updates/concrete5.5.2.1/ it does not appear that it is reading the 5.6.3.3 update.

Check your /config/site.php and make sure you have disabled all cache (and made a database backup) BEFORE you attempt the update.

I'd be interested in what code you had to change to get the editor/dashboard back after the upgrade to 5.5.2.1

Be aware that there may be some overrides/blocks that are not compatible with 5.5.2.1
hunt3124 replied on at Permalink Reply
Hi, thank for your help. Below is what is added

This problem is usually caused by not having this line in your footer.php <?php Loader::element('footer_required');
If you check in your theme folder you will find a folder named elements, in there is your footer.php file. Open it and make sure its there, if not add it, and you should be right as rain,
<?php Loader::element('footer_required');

So are you wanting me to clear the cache of just the site.php folder? If so, how do i do that?
jasteele12 replied on at Permalink Reply
jasteele12
Immediately remove your attachment above (never publish your database credentials online)!

You probably want to change the database username/password too :-P

As your config/site.php shows, the site is still running 5.5.2.1

1. Disable all cache: http://devittlaw.com/index.php/dashboard/system/optimization/cache/...

2. Clear the cache

3. Backup the database

4. Upgrade to 5.6.3.3
hunt3124 replied on at Permalink Reply
skype name hunt31241
hunt3124 replied on at Permalink Reply
update already in updates folder
jasteele12 replied on at Permalink Reply
jasteele12
As you can see here, 5.6.3.3 does not exist: http://devittlaw.com/updates/
hunt3124 replied on at Permalink Reply
ok, so i still need to download first?
hunt3124 replied on at Permalink Reply
Also, I backed the site up manually a few days ago, do i need to do it again. Backing up via the dashboard has not been working
jasteele12 replied on at Permalink Reply
jasteele12
Don't know what to add to my post above, maybe you need to re-read it.

Follow the directions in the order given.
mhawke replied on at Permalink Reply
mhawke
Can you upgrade directly from 5.5.2.1 -> 5.6.3.3?

Whenever I've upgraded a client's site from 5.5, I've had more success walking up through each version.
jasteele12 replied on at Permalink Reply
jasteele12
Good question. I've upgraded many sites (none before 5.4x) and never had a problem following this method, after turning off/clearing cache, disable Pretty URLs, and database backup (and files just because I'm paranoid and like to have a backup of everything):

1. Update to the last same major version (i.e. 5.4.x to 5.4.2.2), backup

2. Update to the next major final version (5.5.2.1), backup and repeat (5.6.3.3)

3. Enable Pretty URLs again and test

4. Turn caching back on (rarely ever full page unless blocks allow), backup

This does not include any overrides that may disrupt the process, of course...
hunt3124 replied on at Permalink Reply 1 Attachment
Still not luck, I cleared and turned off cache, and disabled pretty url's. When I click "check for updates" I get the same error message. And when I try to download 5.6.3.3 i get the following error message. The weird part was I was able to update to 5.5.2.1 except that the dashboard wouldn't show up. I fixed that by adding the code but now i am completely stuck.

Thanks for your help everyone, this is so frustrating, I wish my client had Wordpress.
mhawke replied on at Permalink Reply
mhawke
You can try to force the upgrade again by entering this into your browser:

/index.php/tools/required/upgrade?force=1
mhawke replied on at Permalink Reply
mhawke
Are there actually files inside you /updates/concrete5.6.3.2/ folder? These update folders appear to be empty. Could there be a permissions problem with the /updates folder that doesn't allow the new core files to be installed there?

http://www.devittlaw.com/updates/...
hunt3124 replied on at Permalink Reply
there are a bunch of files in the updates folder
mhawke replied on at Permalink Reply
mhawke
If it were my site, I would manually upgrade from 5.5.2.1 -> 5.6.0 and then from 5.6.0->5.6.3.3

http://www.concrete5.org/documentation/how-tos/developers/manually-...

I have had problems jumping from 5.5 over top of the 5.6.0 version.
jasteele12 replied on at Permalink Reply
jasteele12
There are empty index.html files in the updates folders.

It appears 5.6.3.2 is there:
http://www.devittlaw.com/updates/concrete5.6.3.2/concrete/tools/...

But for some reason (permissions maybe?) it thinks it's current at 5.5.2.1:
http://www.devittlaw.com/index.php/tools/required/upgrade...

Very strange...
hunt3124 replied on at Permalink Reply 1 Attachment
Still not luck, I cleared and turned off cache, and disabled pretty url's. When I click "check for updates" I get the same error message. And when I try to download 5.6.3.3 i get the following error message. The weird part was I was able to update to 5.5.2.1 except that the dashboard wouldn't show up. I fixed that by adding the code but now i am completely stuck.

Thanks for your help everyone, this is so frustrating, I wish my client had Wordpress.