vtiger Forum Index vtiger
The Honest Open Source CRM
 

Error while processing mail merge operation
Click here to go to the original topic

 
       vtiger Forum Index -> Office Plugin
Previous topic :: Next topic  
Author Message
DMA02



Joined: 13 Jun 2006
Posts: 5

Posted: Mon Jun 19, 2006 1:50 pm    Post subject: Error while processing mail merge operation  

Hi, I have exusted all other options! I keep getting this error message when I try to do a mail merge .. I'll list the steps and info below.

Installed vTiger4.2.4 (the .exe package with mysql and apache all in one bundle) on a WindowsXP machine.

I installed the vtiger 4.2 office plugin for MS Office2003.

I applied the VTIGERCRM_4_2_4_OL_Patch.zip to get outlook plugin to work.

I open Word2003 and I connect to vitger successfuly.
I insert several merge fields and saved my document.
As admin I logged in to vtiger and uploaded my .doc file as a "mail merge template"
I go to the "Contacts" tab and select a contact.
I select my word document from the drop down list and press the "Merge" button.
I see this error on the webbrowser (IE 6) "Error while processing mail merge operation"

I tried looking at apache's "error.log" nothing
I tried looking at "vtigercrm.log" and all the logs are [INFO] or [DEBUG] and nothing looks like an error message. They're all SQL statements.

As a last resort I looked inside the $VTIGER_HOME\modules\Contacts\Merge.php

and see that the error is happening within this try/catch block

Code:
try
{
      if(objMMPage.Init())
      {
             objMMPage.vLTemplateDoc();
             objMMPage.vBulkHDSrc(dHdr,dSrc);
             objMMPage.vBulkOpenDoc();
             objMMPage.UnInit();
             window.history.back();
       }
}
catch(errorObject)
{
        document.write("Error while processing mail merge operation");
}


To me it seems like there is some exception being thrown while it is in the middle of some activeX thingy.

There is 1 more anomaly I'd like bring up. Before installing version 4.2.4 I previously had vtigercrmbeta5 (but running from a remote Linux machine) and I had downloaded the vtiger.cab file from it. Then I installed 4.2.4 (cos it was more stable) but I wasn't asked to re-download the .cab file. Could this be the problem ? I can't seem to force the re-download the .cab file to be sure.
Back to top  
DMA02



Joined: 13 Jun 2006
Posts: 5

Posted: Mon Jun 19, 2006 2:11 pm    Post subject: Error while processing mail merge operation  

I tried to narrow down where the exception occurs,
I enclosed each one of those 4 statements in a try/catch block to see which one will die first.

When trying to merge I get a popup message "vtiger CRM cannot delete source document"

And then it returns to window.history.back();

I hope this helps some developer or someone who can debug what couldn't be deleted.
Back to top  
 
       vtiger Forum Index -> Office Plugin
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group