vtiger Forum Index vtiger
The Honest Open Source CRM
 

Data migration from 502 to 503
Click here to go to the original topic

 
       vtiger Forum Index -> Help - 5.0.3
Previous topic :: Next topic  
Author Message
djaburg



Joined: 17 Nov 2004
Posts: 22

Posted: Thu May 31, 2007 3:30 pm    Post subject: Data migration from 502 to 503  

I get the following message when following the instructions for the upgrade from 5.02 to 5.03 and then doing the data migration step:

The Source database dump taken may not contain all values. So please use other option.
Fatal error: Call to a member function query() on a non-object in C:\Program Files\vtigercrm5\apache\htdocs\vtigerCRM\modules\Migration\MigrationStep1.php on line 133

Any help would be appreciated.
Back to top  
djaburg



Joined: 17 Nov 2004
Posts: 22

Posted: Fri Jun 01, 2007 2:43 am    Post subject: Data migration from 502 to 503  

OK I guess nobody has heard of this one. Thinking that might be the case, I have had the system run a backup and am trying to run the upgrade from the .sql file that it output. It's all of 3.9MB, but I get the message:
Sorry, the uploaded file exceeds the maximum filesize limit. Try other option:

I've looked where I can think of and changed the maxfilesize variable to greater than that, but I'm still confronted with the same issue.

I'm running windows 2003 server and an initially clean install of 5.0.2, which has about 300 contacts in it now and I'm simply trying to migrate the data over. Anybody with any ideas? I can't do the scripted migration due to the above error and I can't do the upgrade from a .sql backup file that vtiger creates.
Back to top  
h2onacl



Joined: 19 May 2006
Posts: 7
Location: France

Posted: Sat Jun 02, 2007 10:37 pm    Post subject: Re: Data migration from 502 to 503  

For migration I had a similar problem.
In your browser at migration wizard, try to change ..\vtigerCRM\modules\Migration\MigrationStep1.php
by ..\vtigerCRM\modules\Migration\index.php
It will give you access to the new migration wizard with the correct options to choose from.

Cheers,
Jean-Francois
Back to top  
DoBBs



Joined: 10 May 2006
Posts: 52

Posted: Tue Jun 05, 2007 1:29 pm    Post subject: Re: Data migration from 502 to 503  

I too am getting the same issue.

Am migrating from 4.2.4 to 5.0.3 and have tried both connect to live database (although this is currently a test backup database) and file dump.

When I try the live DB migration i get the error described above:

The Source database dump taken may not contain all values. So please use other option.
Fatal error: Call to a member function query() on a non-object in D:\Program Files\vtigercrm5\apache\htdocs\vtigerCRM\modules\Migration\MigrationStep1.php on line 139

When doing the database dump (Option 2) I get:


Dump could not be applied correctly. so your previous database restored.
Fatal error: Call to a member function query() on a non-object in D:\Program Files\vtigercrm5\apache\htdocs\vtigerCRM\modules\Migration\MigrationStep1.php on line 139

I am unable to view the migration page directly, but the option list I get is correct.

thanks for any help anyone can give.
Back to top  
bbaez



Joined: 07 Jun 2007
Posts: 1

Posted: Thu Jun 07, 2007 6:39 pm    Post subject: Re: Data migration from 502 to 503  

I'm getting the same messages as well.

Option 1
...\modules\Migration\MigrationStep1.php on line 139

Option 2
Fatal error: Call to a member function query() on a non-object in ...\modules\Migration\MigrationStep1.php on line 139

With Option 2 the 5.0.3 database has 0 tables after the attempted migration. I noticed that line 139 has comments about a table for 5.0.2 and the SQL is SHOW CREATE ?
Back to top  
c_nitschmann



Joined: 07 Jun 2007
Posts: 7
Location: Germany

Posted: Tue Jun 12, 2007 8:47 am    Post subject: Re: Data migration from 502 to 503  

same message here as well. 4.2.4 wont migrate at all :-/
Back to top  
dina



Joined: 15 Mar 2007
Posts: 24

Posted: Thu Jun 28, 2007 9:45 am    Post subject: Re: Data migration from 502 to 503  

Hi Friends,

Posting this issue in TRAC-Ticket:-
http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4059#preview

Thanks & Regards ,
Dina
Back to top  
jeph945



Joined: 25 Jul 2007
Posts: 1

Posted: Wed Jul 25, 2007 10:07 am    Post subject: Re: Data migration from 502 to 503  

I ran into the same problem and took a whole day to figure it out.
Finally I found it's template_c causes the problem. :?

the solution is easy -
after installing vtigercrm-5.0.0-patch3.zip on your old vtiger, you have to delete all files in Smarty/template_c.

If you didn't clear cached files in template_c, migration wizard may stay in old version. Then, weird thing happens just as this thread discussed.
Back to top  
 
       vtiger Forum Index -> Help - 5.0.3
Page 1 of 1


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