At the writing of this tutorial I was upgrading from version 2055 to the latest version 7249.

The simplest way to upgrade is to use the subversion command:

[html]
svn update -r {revision} {path}
[/html]

This merges all of your changes with the new version.

Manual Upgrade

Due to having a very old version, manual upgrade was the only option. To do this I carried out the following:

1. Take a copy of the live site over to a development version. I would suggest having a copy of include/config.php on your desktop.

2. Download the latest version to a temp dir on the dev server

3. Overwrite the current files on the dev server with the new version

4. Browse to your dev site URL and enter the the database, spider and scramble details from the old include/config.php

5. Confirm all is OK within ResourceSpace – Team Center > System > Installation Check

TROUBLESHOOTING

  • /var/www/resourcespace/include/db.php line 997: unserialize() [function.unserialize]: Error at offset 0 of 72 bytes

MySQL – delete the config column from the plugins table

http://groups.google.com/d/msg/resourcespace/sU2EnMTJB_8/k7OHGXasAAAJ

  • /var/www/resourcespace/include/header.php line 418: Use of undefined constant __DIR__ – assumed ‘__DIR__’

Either change __DIR__ to (__FILE__) or upgrade PHP

http://groups.google.com/d/msg/resourcespace/sU2EnMTJB_8/k7OHGXasAAAJ

  • Parse error: syntax error, unexpected T_FUNCTION in /var/www/resourcespace/pages/team/team_system_console.php on line 398

Upgrade PHP to the latest version – PHP 5.6

http://groups.google.com/forum/#!topic/resourcespace/3H4cpCOEC4I

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@matthewc424.sg-host.com.