[2014-01-07 23:34:34] (ERROR @ /var/www/vhosts/domain.com/httpdocs/core/xpdo/cache/xpdocachemanager.class.php : 365) PHP warning: copy(/var/www/vhosts/domain.com/httpdocs/manager/assets/ext3/adapter/jquery/ext-jquery-adapter-debug.js): failed to open stream: Permission denied [2014-01-07 23:34:34] (ERROR @ /setup/index.php) xPDOCacheManager->copyFile(): Could not copy file /var/www/vhosts/domain.com/httpdocs/core/packages/core/modContext/065691d0e4db2ae48028476000a1de3f/0/assets/ext3/adapter/jquery/ext-jquery-adapter-debug.js to /var/www/vhosts/domain.com/httpdocs/manager/assets/ext3/adapter/jquery/ext-jquery-adapter-debug.js [2014-01-07 23:34:34] (ERROR @ /setup/index.php) Could not copy file /var/www/vhosts/domain.com/httpdocs/core/packages/core/modContext/065691d0e4db2ae48028476000a1de3f/0/assets/ext3/adapter/jquery/ext-jquery-adapter-debug.js to /var/www/vhosts/domain.com/httpdocs/manager/assets/ext3/adapter/jquery/ext-jquery-adapter-debug.js; could not create directory. [2014-01-07 23:34:34] (ERROR @ /var/www/vhosts/domain.com/httpdocs/core/xpdo/cache/xpdocachemanager.class.php : 365) PHP warning: copy(/var/www/vhosts/domain.com/httpdocs/manager/assets/ext3/adapter/prototype/ext-prototype-adapter-debug.js): failed to open stream: Permission denied [2014-01-07 23:34:34] (ERROR @ /setup/index.php) xPDOCacheManager->copyFile(): Could not copy file /var/www/vhosts/domain.com/httpdocs/core/packages/core/modContext/065691d0e4db2ae48028476000a1de3f/0/assets/ext3/adapter/prototype/ext-prototype-adapter-debug.js to /var/www/vhosts/domain.com/httpdocs/manager/assets/ext3/adapter/prototype/ext-prototype-adapter-debug.js [2014-01-07 23:34:34] (ERROR @ /setup/index.php) Could not copy file /var/www/vhosts/domain.com/httpdocs/core/packages/core/modContext/065691d0e4db2ae48028476000a1de3f/0/assets/ext3/adapter/prototype/ext-prototype-adapter-debug.js to /var/www/vhosts/domain.com/httpdocs/manager/assets/ext3/adapter/prototype/ext-prototype-adapter-debug.js; could not create directory. [2014-01-07 23:34:34] (ERROR @ /var/www/vhosts/domain.com/httpdocs/core/xpdo/cache/xpdocachemanager.class.php : 365) PHP warning: copy(/var/www/vhosts/domain.com/httpdocs/manager/assets/ext3/adapter/yui/ext-yui-adapter-debug.js): failed to open stream: Permission denied [2014-01-07 23:34:34] (ERROR @ /setup/index.php) xPDOCacheManager->copyFile(): Could not copy file /var/www/vhosts/domain.com/httpdocs/core/packages/core/modContext/065691d0e4db2ae48028476000a1de3f/0/assets/ext3/adapter/yui/ext-yui-adapter-debug.js to /var/www/vhosts/domain.com/httpdocs/manager/assets/ext3/adapter/yui/ext-yui-adapter-debug.js [2014-01-07 23:34:34] (ERROR @ /setup/index.php) Could not copy file /var/www/vhosts/domain.com/httpdocs/core/packages/core/modContext/065691d0e4db2ae48028476000a1de3f/0/assets/ext3/adapter/yui/ext-yui-adapter-debug.js to /var/www/vhosts/domain.com/httpdocs/manager/assets/ext3/adapter/yui/ext-yui-adapter-debug.js; could not create directory.
[2014-01-07 23:34:22] (ERROR @ /setup/index.php) Error 42S22 executing statement:
Array
(
[0] => 42S22
[1] => 1054
[2] => Unknown column 'modContext.rank' in 'field list'
)
[2014-01-07 23:34:22] (ERROR @ /setup/index.php) Could not prepare context: mgr[2014-01-07 23:34:31] (ERROR @ /setup/index.php) Error 42S22 executing statement:
Array
(
[0] => 42S22
[1] => 1054
[2] => Unknown column 'modContext.rank' in 'field list'
)
[2014-01-07 23:34:31] (ERROR @ /setup/index.php) Could not prepare context: mgr[2014-01-07 23:35:16] (ERROR @ /var/www/vhosts/domain.com/httpdocs/core/model/smarty/plugins/function.math.php : 27) User warning: math: missing equation parameter [2014-01-07 23:35:16] (ERROR @ /var/www/vhosts/domain.com/httpdocs/core/model/smarty/plugins/function.math.php : 27) User warning: math: missing equation parameter [2014-01-07 23:35:16] (ERROR @ /var/www/vhosts/domain.com/httpdocs/core/model/smarty/plugins/function.math.php : 27) User warning: math: missing equation parameter
This question has been answered by sean69. See the first response.
Sean, I assume that you've manually deleted all the files in the core/cache directory.
Did you clear the browser *cookies* as well? A leftover cookie can cause all kinds of mayhem.
From the error messages, though, it does look like a permission issue as Nic suggests, with the new files not always being copied over the old ones. Did you use FTP to transfer the files? There's a more reliable method described here: http://bobsguides.com/modx-upgrade-faq.html.
I'd also recommend disabling all plugins, in PhpMyAdmin if necessary (modx_site_plugins table) before running setup again. There are some plugins that could conceivably interfere with an upgrade.
well, I wish I could say I knew what was wrong, but I did fix it.I think the merging files part has gone wrong. If this was the case with the manager folder, it might as well be with the rest of the modx folders. I would make a back-up, zip (archive) it and download it to your local harddrive. Then merge the update files and run the setup in/on a different folder/server (localhost for example).
since none of the extras [but tinymce] had manager components - I just deleted the manager directory & copied the dist. files over, re-installed all the extras and got it working again.
Error updating table for class modResource Array ( [0] => 00000 [1] => [2] => ) Error updating table for class modTemplateVarResource Array ( [0] => 00000 [1] => [2] => )
Uncaught TypeError: Cannot call method 'getTopToolbar' of undefined