| Previous topic :: Next topic |
| Author |
Message |
c_nitschmann
Joined: 07 Jun 2007
Posts: 7
Location: Germany
|
| Posted: Thu Jun 07, 2007 11:26 am Post subject: Migration - 4.2.4 to 5.0.3 - migrating with dump won´t work |
|
|
Dear Vtiger-Team,
thanks for your hard long work on Vtiger 5.0.3. I really appreciate your work and would be happy if you continue on this great product.
On my work, I got the job, to migrate a 4.2.4 Vtiger-Database-Dump on a new Vtiger 5.0.3-System. For this task I created a new virtual machine with Debian 4.0 Etch and installed the Vtiger-LAMP-Package (deb) on the system. After that I configured vtiger with the necessary settings and installed the demo-database which came with the installation.
Next I inserted the necessary SQL-Lines both at the start and at the end of the dump-file and copied it to the host-system (vtiger.sql) with the new vtiger-installation. I changed the config.inc.php-file in the htdocs-directory and increased the maximum upload file size, as your team mentioned in the other threads.
Now I installed a X-System with a fvwm-window-manager together with firefox and opened vtiger 5.0.3 via the localhost-url, logged in with my admin-account and moved to the admin-settings-page. I clicked then on the Migration-Wizard, chose the second option to migrate from a dump-file from an older vtiger-system, selected the vtiger.sql dump-file and inserted the essential mysql-path in the next field. Now I clicked on the Migrate-Button. 3 seconds after that vtiger kicked me back to the startpage and nothing happened after that. The same old demo-database were shown, even after trying to migrate several times. I even tried to migrate from a remote machine with a locally stored sql-dump-file, but the same result here.
Did I something wrong or forgot something crucial?
I would be very thankful if you could help me with my problem.
Thanks in advance and greetings from the warm Germany ;)
Christian |
|
| Back to top |
|
krem
Joined: 22 Feb 2006
Posts: 161
|
| Posted: Thu Jun 07, 2007 12:03 pm Post subject: Re: Migration - 4.2.4 to 5.0.3 - migrating with dump won´t w |
|
|
Hi,
We had the same problem, but it feels that somebody found a way to make it work (I didn't try yet). Have a look there http://forums.vtiger.com/viewtopic.php?t=14762
Bye |
|
| Back to top |
|
c_nitschmann
Joined: 07 Jun 2007
Posts: 7
Location: Germany
|
| Posted: Thu Jun 07, 2007 1:17 pm Post subject: Re: Migration - 4.2.4 to 5.0.3 - migrating with dump won´t w |
|
|
I already searched for a php.ini, but i found nothing on my Debian-System. Where can i find it?
Thanks
Christian |
|
| Back to top |
|
c_nitschmann
Joined: 07 Jun 2007
Posts: 7
Location: Germany
|
| Posted: Mon Jun 11, 2007 7:08 am Post subject: Re: Migration - 4.2.4 to 5.0.3 - migrating with dump won´t w |
|
|
| cmon guys. please. where can i find the php.ini under debian? |
|
| Back to top |
|
plaugraud
Joined: 12 Sep 2005
Posts: 83
Location: Austria
|
| Posted: Mon Jun 11, 2007 2:01 pm Post subject: Re: Migration - 4.2.4 to 5.0.3 - migrating with dump won´t w |
|
|
c_nitschmann wrote: cmon guys. please. where can i find the php.ini under debian?
Did you try the shell command "find / -name php.ini" ? |
|
| Back to top |
|
c_nitschmann
Joined: 07 Jun 2007
Posts: 7
Location: Germany
|
| Posted: Mon Jun 11, 2007 2:33 pm Post subject: Re: Migration - 4.2.4 to 5.0.3 - migrating with dump won´t w |
|
|
| Yes i already did, but the find command didn't return anything usable. |
|
| Back to top |
|
plaugraud
Joined: 12 Sep 2005
Posts: 83
Location: Austria
|
| Posted: Mon Jun 11, 2007 6:42 pm Post subject: Re: Migration - 4.2.4 to 5.0.3 - migrating with dump won´t w |
|
|
Try to run phpinfo, create a file "phpinfo.php" in the web server root with content:
Quote: <?php
phpinfo();
?>
and run it with "http://localhost/phpinfo.php
It should show a line like:
Configuration File (php.ini) Path /etc/php5/apache2/php.ini
or something else. |
|
| Back to top |
|
plaugraud
Joined: 12 Sep 2005
Posts: 83
Location: Austria
|
| Posted: Mon Jun 11, 2007 6:59 pm Post subject: Re: Migration - 4.2.4 to 5.0.3 - migrating with dump won´t w |
|
|
Instead of changing the php.ini (which affects all web apps), you can add a file ".htaccess" in the vtiger-root with the appropriate php parameters and values.
An example of an other web application on my box:
Quote: #
# Set
#
# AllowOverride FileInfo
#
# to enable parsing off this file
#
php_value memory_limit 32M
php_value max_execution_time 60
php_flag register_globals Off
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
# settings for the file upload, you might increase them further
php_value upload_max_filesize 16M
# session handling: now the check for expired sessions is done on every 10th session creation
php_flag session.use_trans_sid Off
php_value session.gc_probability 1
php_value session.gc_divisor 10
# multibyte extension: needed for utf-8
php_value mbstring.func_overload 7
#switching error-display off, to cope with the buggy mbstring extension of php5.2
php_flag display_errors Off
#php_value session.cookie_lifetime 0
# wird im "Admin - Konfiguration der Anwendung" gesetzt
Greetings,
Rudolf
PS: if you change the php.ini, don't forget to restart apache. |
|
| Back to top |
|
c_nitschmann
Joined: 07 Jun 2007
Posts: 7
Location: Germany
|
| Posted: Tue Jun 12, 2007 8:52 am Post subject: Re: Migration - 4.2.4 to 5.0.3 - migrating with dump won´t w |
|
|
Thanks for your quick reply. i created a new .htaccess-file with the necessary changes, edited the httpd.conf (AllowOverride FileInfo) and restarted Apache.
After that, my sql-dump were accepted but i get the same migration errors like in this Thread.
Is there any solution for this problem?
Thanks in advance and greetings from Germany
Christian |
|
| Back to top |
|
c_nitschmann
Joined: 07 Jun 2007
Posts: 7
Location: Germany
|
| Posted: Mon Jun 18, 2007 7:51 am Post subject: Re: Migration - 4.2.4 to 5.0.3 - migrating with dump won´t w |
|
|
Fatal error: Call to a member function query() on a non-object in ...\modules\Migration\MigrationStep1.php on line 139
I still get that error message, which stops me from migrating my old 4.2.4-database to the newer version of vtiger. I hope if somebody can help me with this really annoying message. |
|
| Back to top |
|
| |