Results 1 to 4 of 4

Thread: SugarCRM module install, enable and disable nog longer possible after upgrade.

  1. #1
    KarelDoorman is offline Junior Member
    Join Date
    Jul 2010
    Posts
    3

    Default SugarCRM module install, enable and disable nog longer possible after upgrade.

    Hi All,

    I can not enable, disable able or install any module, using the Module Wizard any more. I get the following error message:
    "Fatal error: Call to undefined function hashToFile() in /modules/Administration UpgradeWizard_prepare.php on line 55"

    I just upgraded SugarCRM using the Upgrade Wizard and other basic functions seem fine.
    From 5.5.0RC1 to 5.5.0 (using SugarCE-Patch-5.5.0RC4-to-5.5.0.zip)
    From 5.5.0 to 5.1.1 (using SugarCE-Upgrade-5.5.0-to-5.5.1.zip)
    From 5.1.1 to 5.5.4GA (using SugarCE-Upgrade-5.5.1-to-5.5.4.zip)

    After each upgrade, I did a "Quick Repair and Rebuild", selecting all options. I also did a rebuild of all relationships as recommanded in the Sugar Upgrade Guide.

    /var/www/sugarcrm/sugarcrm.log
    No new entries while repeating actions.

    /var/www/apache2/error.log
    No new entries while repeating actions.

    /var/www/sugarcrm/upgradeWizard.log
    Noting out of the ordinary.

    Found a forum post with a similar message, a alteration to DynamicField.php was suggested, bud did not resolve my issue.
    http://www.sugarcrm.com/forums/showthread.php?p=213903

    Any hints, clues or pointers?

    Kind regards,
    Karel Doorman

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: SugarCRM module install, enable and disable nog longer possible after upgrade.

    sounds like permissions (cache directory) ... check here

  3. #3
    KarelDoorman is offline Junior Member
    Join Date
    Jul 2010
    Posts
    3

    Default Re: SugarCRM module install, enable and disable nog longer possible after upgrade.

    I re-applied the permissions as layed out in the wiki.

    To be exact, I did the following (according to the wiki page) to make sure permissions are set properly:
    Code:
    cd /var/www/sugarcrm
    chmod 664 config.php config_override.php sugarcrm.log
    chmod -R 775 cache custom data modules
    - All other files are 644 and all other directories 755.
    - All files in the sugarcrm root are owned by the webserver user (www-data in Debian).


    The following error message ocured in the sugarcrm.log when I repeated the attempt to disable/enable a module:
    Code:
    Mon Jul 12 15:21:33 2010 [16345][1][FATAL] HTTP Error: no data present after HTTP headers
    Mon Jul 12 15:21:33 2010 [16345][1][FATAL] HTTP/1.0 500 Internal Server Error
    Date: Mon, 12 Jul 2010 13:21:33 GMT
    Server: Apache/2.2.3 (CentOS)
    Set-Cookie: PHPSESSID=tree84258ppn9r736aasbslrf7; path=/
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Content-Length: 0
    Connection: close
    Content-Type: text/html; charset=UTF-8
    On a contextual note:
    Also, when I upgraded from SugarCRM 5.5.0RC1 -> 5.5.0 -> 5.5.1 -> 5.5.4, the schema file appeared not to be found in the upgradeWizard.log:

    Code:
    Sat, 10 Jul 2010 15:56:53 +0200 [UpgradeWizard] - *** ERROR: Schema change script [/var/www/sugarcrm/cache/upload/upgrades/temp/CqJFxk/scripts/551_to_554_mysql.sql] could not be found!
    And a little later (with more contextual logging):
    Code:
    Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - Starting post_install()...
    Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - Entered post_install function.
    Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - Upgrading the database from 550 to version 550
    Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - Running SQL file /var/www/sugarcrm/cache/upload/upgrades/temp/GC7F8B/scripts/550_to_550_mysql.sql
    Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - *** ERROR: Schema change script [/var/www/sugarcrm/cache/upload/upgrades/temp/GC7F8B/scripts/550_to_550_mysql.sql] could not be found!
    Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - Applying .htaccess update security fix.
    However, I manually applied the database updates, so this should not be an issue.

    More clue's?

  4. #4
    KarelDoorman is offline Junior Member
    Join Date
    Jul 2010
    Posts
    3

    Default Re: SugarCRM module install, enable and disable nog longer possible after upgrade.

    Quote Originally Posted by salesagility View Post
    sounds like permissions (cache directory) ... check here
    Could you be more specific?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add feature in module builder to enable disable subpane
    By shyam007 in forum Developer Help
    Replies: 0
    Last Post: 2010-02-22, 08:45 AM
  2. Enable/disable panel by checkbox
    By Heiner Heinzel in forum Developer Help
    Replies: 32
    Last Post: 2009-11-04, 12:45 PM
  3. How to Enable / Disable buttons in subpanels
    By mjp9119 in forum Developer Help
    Replies: 4
    Last Post: 2009-10-30, 06:19 PM
  4. Replies: 3
    Last Post: 2009-01-30, 08:32 AM
  5. Enable / Disable Fields
    By emillion in forum Developer Help
    Replies: 0
    Last Post: 2007-01-11, 02:16 PM

Tags for this Thread

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
  •