Upgrade from 5.5.2.1 to 5.6.0 (toolbar error)

Permalink
I have copied a live site to my local MAMP 3.0.6 environment (db / alle files ). The site still works fine. I have tried to update the site to 5.6.0 and used the following approach:

1. clear cache
2. rename the core concrete folder to 'concrete_old'
3. copied the 5.6.0 concrete core folder to the root (to replace the old one)
4. run the update script (http://localhost:8888/sitename/index.php/tools/required/upgrade)


The updated was successfully installed but the toolbar is blank. In the console I can see the following error:

Uncaught SyntaxError: Unexpected token <
//happens in the file page_controls_menu_js.php on line 55
Call to undefined method Page::getPendingAction()


I have repeated this a few times with a clean install but that does not work.

MAMP info
PHP Version 5.5.14
MAMP Version 3.0.6



Does anyone know how to solve this issue?

Thanks.

 
rge replied on at Permalink Reply
Tried the same process with another website. Same error occurs. Can't find any solutions on the form. I have created a new page type without any css and JavaScript includes to check if their was an error in our own code. Without success.

<?php defined('C5_EXECUTE') or die("Toegang geweigerd."); ?>
<!DOCTYPE html>
<html lang="en">
<head>
   <meta charset="UTF-8">
   <title>Test pagina</title>
   <?php Loader::element('header_required'); ?>
</head>
<body>
   <h2>dit is de test pagina</h2>
   <?php Loader::element('footer_required'); ?>
</body>
</html>


Even when I keep updating till the final version 5.6.3.2 the error still exists. The updates them selves are getting installed without an error.
WebcentricLtd replied on at Permalink Reply
hello - do you have any plugins installed?

Or - are you using APC?
rge replied on at Permalink Reply
Hello,

There are some add-ons installed, I removed them to see if it would fix the problem. I don't make use of APC.

I am now going to test how the update runs with a clean install (5.5.2.1 to 5.6.0). If that is successful I wil do a clean install but with the imported database.

Have you bin enable to do the update successfully?
WebcentricLtd replied on at Permalink Best Answer Reply
ok - do you have an override in siteroot/tools?
Have you restarted Apache?

Reason I ask is - getPendingAction() does not appear in the codebase for 5.6 upwards so it is strange to be seeing it -the tool file giving that error should not be uding that method in versions later thsn 5.5.

I'd do exactly waht you said though. Upgrade a vanilla instance - try importing your upgraded db into a vanilla insrance at the same level as what you upgraded to.
rge replied on at Permalink Reply
You are right getPendingAction() does not exist in Concrete 5.6.0. I searched trough all file and it indeed exist in the root/tools folder. The bar now works :).

Thanks allot.