[Vtigercrm-developers] 5.1.0 to 5.2.0RC Migration (vts-projects)

Alan Lord (News) alanslists at gmail.com
Tue Aug 17 05:37:49 PDT 2010


Hi all,

After having a couple of email conversations with Musavir & Prasad, I 
thought this discussion should really be on the list so it's searchable 
and useful to anyone else.

I've been doing a few test migrations from 5.1.0 to 5.2.0RC. With our 
own company's live crm (using a backup of course!) I ran into an 
interesting issue...

I had installed, some time ago, the vts-projects[1] modules onto our 
vtiger 5.1.0 installation (version 1.5 by the looks of it).

After using the small fix Holbi suggested[2], I managed to migrate this 
system to 5.2.0 but unfortunately there were some 'conflicts' between 
the vts-project modules and the new project modules included with 5.2.0.

Prasad pointed me to an earlier thread on this list[3] to help with 
removing vtlib-based custom modules. We don't have any important data in 
the vts-project modules so ideally I would like to remove them 
altogether prior to performing the migration to 5.2.0.

Using [3] I successfully removed the Deadline, Operation and Project 
modules then I manually deleted the corresponding module directories.

I also then dropped the tables associated with the three modules above, 
but I'm struggling with the final piece.

There seems to still be a reference somewhere in the db that is asking 
for these modules in detail view, but I can't see it. I checked the 
vtiger_relatedlists table but could see no obvoius relationships. I am 
getting the following warnings displayed when entering a Detail View of 
the following modules ONLY:

Accounts:
Warning: get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 43 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 541 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 43 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 541 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 43 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 541 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 43 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 541

Contacts:
Warning: get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 43 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 541 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 43 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 541

Potentials:
Warning: get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 43 Warning: 
get_class() expects parameter 1 to be object, string given in 
/var/www/tolcvt510/include/utils/ListViewUtils.php on line 541 Edit

I can only assume these are somehow linked to the removed Project 
modules. This is all on vtiger 5.1.0.

Any suggestions and ideas greatfully received.

Cheers

Al


[1] http://forge.vtiger.com/projects/vts-projects/
[2] http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6810
[3] 
http://lists.vtigercrm.com/pipermail/vtigercrm-developers/2009-March/014769.html

-- 
The Open Learning Centre
http://www.theopenlearningcentre.com




More information about the vtigercrm-developers mailing list