Hi!
This is my first post
I have been using vtiger for a year. It works great but unfortunately the lack of documentation and support, specially if you plan to modify or fix the code is very frustrating.
Most of the things vtiger lacks (like uploading files through REST api) seem to be already present in coreBOS so it would seem like a smart move.
My question is: Do the migration script works if you are in vtiger 6.3? I did some changes in the vtiger code, mainly fixes, the addition of custom modules and fields through vtlib, and finally some customizations to customerportal to allow custom modules.
What do you think? I see that CoreBOS customerportal code is completely different, do custom modules work?
Thank you! and hopefully I will find a new home for my projects.
PM
[url=//www.pinterest.com/pin/create/extension/][/url]
Hi,
I know the feeling, been there done that :-)
In coreBOS, besides the obvious of fixing and enhancing things one of the areas we have dedicated more time to is the REST interface because we use it a lot to solve different problems for our clients. So hopefully you will find everything you need there.
Migrating from VT6 stopped at 6.1. I remember looking at the 6.2 changes which were insignificant and should be very easy to do but I never even looked at 6.3 so I would have to investigate that, if you need it.
As to the customer portal, the original vtiger CRM portal code should be working, our Yii based portal works well but it is hard to program in Yii and then they went into that phase that everybody has now of throwing it all away and starting again. So we are now developing on the MYC portal code more.
Welcome :-)
Wow! Thanks Joe for your lightning fast response.
It seems I have a long weekend ahead of me

I will definitely attempt the migration.
I am checking the upgrade scripts from vtiger from 6.1->6.2->6.3, as you say, I don't think much has changed either in the db.
In 6.1->6.2 all changes to the db seem to be related to Google sync.
In 6.2->6.3 some inserts are done into vtiger_profile2utility and two picklist values are added to no_of_currency_decimals field in Users.
Anyway, I will try to migrate and report back.
Thanks a lot for your response!
PM
Tried you fix and the upgrade process completed without errors.
After logging in, I see this, I think it has to do with the handlers on vtiger_ws_entity table. Maybe they are not properly updated?
Thanks!
( ! ) Warning: require_once(include/Webservices/LineItem/VtigerLineItemOperation.php): failed to open stream: No such file or directory in C:\wamp\www\core\include\Webservices\ModuleTypes.php on line 93
Call Stack
# Time Memory Function Location
1 0.0000 269696 {main}( ) ..\index.php:0
2 0.2808 16464624 include( 'C:\wamp\www\autogetionarcore\modules\Contacts\index.php' ) ..\index.php:679
3 0.2808 16465352 include_once( 'C:\wamp\www\core\modules\Contacts\ListView.php' ) ..\index.php:13
4 0.2808 16518616 include_once( 'C:\wamp\www\core\modules\Vtiger\ListView.php' ) ..\ListView.php:10
5 0.3120 16802728 QueryGenerator->__construct( ) ..\ListView.php:100
6 0.3120 16803576 VtigerCRMObjectMeta->getReferenceFieldDetails( ) ..\QueryGenerator.php:72
7 0.3588 16961960 EntityMeta->getReferenceFieldDetails( ) ..\VtigerCRMObjectMeta.php:301
8 0.3588 17027304 WebserviceField->getReferenceList( ) ..\EntityMeta.php:86
9 0.3588 17027088 vtws_listtypes( ) ..\WebserviceField.php:299
( ! ) Fatal error: require_once(): Failed opening required 'include/Webservices/LineItem/VtigerLineItemOperation.php' (include_path='C:\wamp\www\core\include\htmlpurifier\library;.;C:\php\pear') in C:\wamp\www\core\include\Webservices\ModuleTypes.php on line 93
Call Stack
# Time Memory Function Location
1 0.0000 269696 {main}( ) ..\index.php:0
2 0.2808 16464624 include( 'C:\wamp\www\core\modules\Contacts\index.php' ) ..\index.php:679
3 0.2808 16465352 include_once( 'C:\wamp\www\core\modules\Contacts\ListView.php' ) ..\index.php:13
4 0.2808 16518616 include_once( 'C:\wamp\www\core\modules\Vtiger\ListView.php' ) ..\ListView.php:10
5 0.3120 16802728 QueryGenerator->__construct( ) ..\ListView.php:100
6 0.3120 16803576 VtigerCRMObjectMeta->getReferenceFieldDetails( ) ..\QueryGenerator.php:72
7 0.3588 16961960 EntityMeta->getReferenceFieldDetails( ) ..\VtigerCRMObjectMeta.php:301
8 0.3588 17027304 WebserviceField->getReferenceList( ) ..\EntityMeta.php:86
9 0.3588 17027088 vtws_listtypes( ) ..\WebserviceField.php:299
This is the contents of vtiger_ws_entity table:
# id, name, handler_path, handler_class, ismodule
'11', 'Accounts', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'37', 'Alert', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'39', 'AlertTriggers', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'32', 'Assets', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'9', 'Calendar', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'1', 'Campaigns', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'23', 'CompanyDetails', 'include/Webservices/VtigerCompanyDetails.php', 'VtigerCompanyDetails', '0'
'12', 'Contacts', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'21', 'Currency', 'include/Webservices/VtigerActorOperation.php', 'VtigerActorOperation', '0'
'22', 'DocumentFolders', 'include/Webservices/VtigerActorOperation.php', 'VtigerActorOperation', '0'
'15', 'Documents', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'16', 'Emails', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'18', 'Events', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'3', 'Faq', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'20', 'Groups', 'include/Webservices/VtigerActorOperation.php', 'VtigerActorOperation', '0'
'17', 'HelpDesk', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'7', 'Invoice', 'include/Webservices/LineItem/VtigerInventoryOperation.php', 'VtigerInventoryOperation', '1'
'10', 'Leads', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'33', 'LineItem', 'include/Webservices/LineItem/VtigerLineItemOperation.php', 'VtigerLineItemOperation', '0'
'27', 'ModComments', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'13', 'Potentials', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'8', 'PriceBooks', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'14', 'Products', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'35', 'ProductTaxes', 'include/Webservices/LineItem/VtigerProductTaxesOperation.php', 'VtigerProductTaxesOperation', '0'
'38', 'ProgMant', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'40', 'ProgMantDet', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'31', 'Project', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'29', 'ProjectMilestone', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'30', 'ProjectTask', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'5', 'PurchaseOrder', 'include/Webservices/LineItem/VtigerInventoryOperation.php', 'VtigerInventoryOperation', '1'
'4', 'Quotes', 'include/Webservices/LineItem/VtigerInventoryOperation.php', 'VtigerInventoryOperation', '1'
'6', 'SalesOrder', 'include/Webservices/LineItem/VtigerInventoryOperation.php', 'VtigerInventoryOperation', '1'
'25', 'ServiceContracts', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'24', 'Services', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'28', 'SMSNotifier', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'36', 'SQLReports', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'34', 'Tax', 'include/Webservices/LineItem/VtigerTaxOperation.php', 'VtigerTaxOperation', '0'
'19', 'Users', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
'2', 'Vendors', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', '1'
Great, I did it manually and now works. I also had to update SalesOrder, Invoices, Quotes... to point to include/Webservices/VtigerModuleOperation.php
What works: Contacts, Accounts, etc...
What doesn't so far:
1. Almost all the entries in Configuration show: Action name is missing. Please check the action name.
2. If I try to access the user preferences:
( ! ) Fatal error: Uncaught exception 'Exception' with message 'unsupported dbtype "mysqli"' in C:\wamp\www\core\include\database\PearDatabase.php on line 781
( ! ) Exception: unsupported dbtype "mysqli" in C:\wamp\www\core\include\database\PearDatabase.php on line 781
Call Stack
# Time Memory Function Location
1 0.0000 270368 {main}( ) ..\index.php:0
2 0.1872 15417376 CRMEntity->track_view( ) ..\index.php:545
3 0.1872 15418728 Tracker->track_view( ) ..\CRMEntity.php:1050
4 0.1872 15423304 PearDatabase->sql_concat( ) ..\Tracker.php:91
Thanks again!
PM