[Vtigercrm-commits] [vtiger development] #5966: 5.04 -> 5.1.0: Call to a member function addModule() on a non-object in PackageImport.php
vtiger development
vtiger-tickets at trac.vtiger.com
Mon May 25 13:18:31 EDT 2009
#5966: 5.04 -> 5.1.0: Call to a member function addModule() on a non-object in
PackageImport.php
------------------------+---------------------------------------------------
Reporter: wpachon | Owner: developer
Type: defect | Status: new
Priority: critical | Milestone: 5.1.0
Component: vtigercrm | Version: 5.1.0-val2
Keywords: potentials |
------------------------+---------------------------------------------------
Hello friends i'm trying to migrate Vtiger from 5.04 to 5.1.0 vb 2 after
the firts steps when the databse is migrating the following error appears:
Queries failed:
<br />
<b>Fatal error</b>: Call to a member function addModule() on a non-object
in <b>/var/web/CRM/vtlib/Vtiger/PackageImport.php</b> on line
<b>299</b><br />
After close de error window (with the button at the end) the migration
sucess screen is showed, when the button "finish" is pressed tha system go
to the index but is redirected again to the install.php page, but this are
renamed in the past steps, after some code read an analayce i modify the
table "vtiger_version" changing the version, this fixes the not found
problem and now i can login.
All seems to be good and correctly migrated but with the exception of the
"potentials module", when go to this module the following error are
showed:
"Fatal error: Uncaught exception 'Exception' with message 'result is not
an object' in /var/web/CRM/include/database/PearDatabase.php:647 Stack
trace: #0 /var/web/CRM/modules/Potentials/ListView.php(222):
PearDatabase->query_result(false, 0, 'count') #1
/var/web/CRM/modules/Potentials/index.php(2Cool:
include('/var/web/CRM/..') #2 /var/web/CRM/index.php(695):
include('/var/web/CRM/...') #3 {main} thrown in
/var/web/CRM/include/database/PearDatabase.php on line 647
In the reports when someone include "potentials" the report shows the
error:
Unknown column 'vtiger_potential.related_to' in 'on clause'
If i search for any feed back in the logs the only matches with potential
and modify tables was:
Query Success ==> ALTER TABLE vtiger_potential ADD COLUMN potential_no
varchar(100) not null
and
Query Success ==> ALTER TABLE vtiger_potential ADD COLUMN potential_no
varchar(100) not null
The 5.0.4 version works ok, in the same system, the features of this are:
O.S: Ubuntu GNU/Linux 9.04
Web Serv: Apache/2.2.11 (Ubuntu)
PHP: 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2
Mysql: 5.1.30really5.0.75-0ubuntu10
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5966>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list