Results 1 to 1 of 1

Thread: 6.1.3 - 6.2.4 CE Issue RepairActivity - Upgrade

  1. #1
    item is offline Sugar Community Member
    Join Date
    Oct 2010
    Location
    BELGIUM
    Posts
    193

    Default 6.1.3 - 6.2.4 CE Issue RepairActivity - Upgrade

    Hi,
    i have just upgraded : 6.1.3 -> 6.1.6 -> 6.2.4 (always mode developer, repair, login/logout)

    Error 1 :
    RepairActivity :

    Fatal error: Call to a member function modify() on a non-object in /Volumes/RAIDDATA/DIOCRM/modules/Administration/RepairActivities.php on line 61

    PHP Code:
    if(!is_admin($current_user)) sugar_die("Unauthorized access to administration.");

    global 
    $timedate;

    $callBean = new Call();
    $callQuery "SELECT * FROM calls where calls.status != 'Held' and calls.deleted=0";

    $result $callBean->db->query($callQuerytrue"");
    $row $callBean->db->fetchByAssoc($result);
    while (
    $row != null) {
        
    $date_end $timedate->fromDb($row['date_start'])->modify("+{$row['duration_hours']} hours {$row['duration_minutes']} mins")->asDb();
        
    $updateQuery "UPDATE calls set calls.date_end='{$date_end}' where calls.id='{$row['id']}'";
        
    $call = new Call();
        
    $call->db->query($updateQuery);
        
    $row $callBean->db->fetchByAssoc($result);
    }

    $meetingBean = new Meeting();
    $meetingQuery "SELECT * FROM meetings where meetings.status != 'Held' and meetings.deleted=0";

    $result $meetingBean->db->query($meetingQuerytrue"");
    $row $meetingBean->db->fetchByAssoc($result);
    while (
    $row != null) {
    61===>    $date_end $timedate->fromDb($row['date_start'])->modify("+{$row['duration_hours']} hours {$row['duration_minutes']} mins")->asDb();
        
    $updateQuery "UPDATE meetings set meetings.date_end='{$date_end}' where meetings.id='{$row['id']}'";
        
    $call = new Call();
        
    $call->db->query($updateQuery);
        
    $row $callBean->db->fetchByAssoc($result);
    }
    echo 
    $mod_strings['LBL_DIAGNOSTIC_DONE']; 

    Error 2 :
    Call table must be altered (i have not see de upgrade sql and i have execute)
    Then i have see, all my call table is empty
    I have see with a sql dump that the new "call" table have not the row : invitee varchar(255) defaut null
    I have create this by hand and i can restore my call table content

    Error 3 :
    When i install some module from sugarforge, i have always errror :

    PHP Code:

    Warning
    : include_once() [function.include-once]: Filename cannot be empty occured in /Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php on line 454 [2011-10-26 08:08:32display_stack_trace callerfile: /Volumes/RAIDDATA/DIOCRM/include/utils.php line#: 2927
    /Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php[L:454](:StackTraceErrorHandler)
    /
    Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php[L:454](aSubPanel:load_module_info)
    /
    Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php[L:122](aSubPanel:load_module_info)
    /
    Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php[L:614](aSubPanel:aSubPanel)
    /
    Volumes/RAIDDATA/DIOCRM/modules/ModuleBuilder/parsers/relationships/DeployedRelationships.php[L:212](SubPanelDefinitions:load_subpanel)
    /
    Volumes/RAIDDATA/DIOCRM/modules/ModuleBuilder/parsers/relationships/DeployedRelationships.php[L:98](DeployedRelationships:identifySubpanel)
    /
    Volumes/RAIDDATA/DIOCRM/modules/ModuleBuilder/parsers/relationships/DeployedRelationships.php[L:51](DeployedRelationships:load)
    /
    Volumes/RAIDDATA/DIOCRM/modules/Administration/upgrade_custom_relationships.php[L:55](DeployedRelationships:__construct)
    /
    Volumes/RAIDDATA/DIOCRM/modules/UpgradeWizard/end.php[L:234](:upgrade_custom_relationships)
    /
    Volumes/RAIDDATA/DIOCRM/modules/UpgradeWizard/index.php[L:324](:require)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/View/SugarView.php[L:615](:require_once)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/View/views/view.classic.php[L:66](SugarView:includeClassicFile)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/View/SugarView.php[L:127](ViewClassic:display)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/Controller/SugarController.php[L:293](SugarView:process)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/Controller/SugarController.php[L:274](SugarController:processView)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/SugarApplication.php[L:85](SugarController:execute)
    /
    Volumes/RAIDDATA/DIOCRM/index.php[L:44](SugarApplication:execute)
    Warning: include_once() [function.include]: Failed opening '' for inclusion (include_path='/Volumes/RAIDDATA/DIOCRM:/Volumes/RAIDDATA/DIOCRM/include/..:.:'occured in /Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php on line 454 [2011-10-26 08:08:32display_stack_trace callerfile: /Volumes/RAIDDATA/DIOCRM/include/utils.php line#: 2927
    /Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php[L:454](:StackTraceErrorHandler)
    /
    Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php[L:454](aSubPanel:load_module_info)
    /
    Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php[L:122](aSubPanel:load_module_info)
    /
    Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php[L:614](aSubPanel:aSubPanel)
    /
    Volumes/RAIDDATA/DIOCRM/modules/ModuleBuilder/parsers/relationships/DeployedRelationships.php[L:212](SubPanelDefinitions:load_subpanel)
    /
    Volumes/RAIDDATA/DIOCRM/modules/ModuleBuilder/parsers/relationships/DeployedRelationships.php[L:98](DeployedRelationships:identifySubpanel)
    /
    Volumes/RAIDDATA/DIOCRM/modules/ModuleBuilder/parsers/relationships/DeployedRelationships.php[L:51](DeployedRelationships:load)
    /
    Volumes/RAIDDATA/DIOCRM/modules/Administration/upgrade_custom_relationships.php[L:55](DeployedRelationships:__construct)
    /
    Volumes/RAIDDATA/DIOCRM/modules/UpgradeWizard/end.php[L:234](:upgrade_custom_relationships)
    /
    Volumes/RAIDDATA/DIOCRM/modules/UpgradeWizard/index.php[L:324](:require)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/View/SugarView.php[L:615](:require_once)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/View/views/view.classic.php[L:66](SugarView:includeClassicFile)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/View/SugarView.php[L:127](ViewClassic:display)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/Controller/SugarController.php[L:293](SugarView:process)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/Controller/SugarController.php[L:274](SugarController:processView)
    /
    Volumes/RAIDDATA/DIOCRM/include/MVC/SugarApplication.php[L:85](SugarController:execute)
    /
    Volumes/RAIDDATA/DIOCRM/index.php[L:44](SugarApplication:execute)

    Fatal error: Class name must be a valid object or a string in /Volumes/RAIDDATA/DIOCRM/include/SubPanel/SubPanelDefinitions.php on line 455 

    ERROR 4 :
    in user preference edit view, GMT List is like this,


    <option > Brasil....</option><option> USA....</option> .......
    HTML tag are not executed :s


    ERROR 5 :
    i disable "inside view" in admin panel for account/contact ... but the panel are showing in detail view in account/contact


    Regards
    Last edited by item; 2011-10-26 at 08:31 AM.
    CE 6.2.4
    Osx Server 10.5.8
    Apache - MySql - Php built-in
    sorry for my good english

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Upgrade Issue 5.2.0d -> 5.2.0k
    By cinterpro in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2009-12-19, 12:27 PM
  2. Upgrade 5.0b to 52k Issue
    By Niggy in forum Developer Help
    Replies: 1
    Last Post: 2009-11-30, 02:25 PM
  3. Upgrade issue : 5.0.0b -> 5.0.0c
    By djg in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2008-04-14, 06:28 PM
  4. 3.51a - to - 4.0 upgrade issue
    By joealiferis in forum Help
    Replies: 0
    Last Post: 2006-01-05, 12:30 PM
  5. Upgrade V3.0 to V3.5 MySQL upgrade issue
    By pflaherty in forum Help
    Replies: 3
    Last Post: 2005-10-06, 04:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •