Results 1 to 2 of 2

Thread: SugarCRM 5.2.0a -

  1. #1
    Join Date
    Feb 2009
    Posts
    11

    Default SugarCRM 5.2.0a -

    In the previous SugarCRM 5.2.0, I changed the relationship of of Employees module, as it's described here: http://www.sugarcrm.com/wiki/index.p...s_in_Sugar_5.1

    Okay, no problem found. It Works! But, in the newer version 5.2.0a, I do the same and when Quick Repair and Rebuild, I get this message:

    Clearing Vardefs from cache...done
    Clearing language files from cache...done
    Repair Database

    Processing database and vardef comparison...

    Parse error: syntax error, unexpected T_DOUBLE_ARROW in /var/www/vhosts/inpnl.com/subdomains/crm/httpsdocs/custom/modules/Employees/Ext/Vardefs/vardefs.ext.php on line 5

    The problem is, in the vardefs.ext.php it creates this:

    $dictionary['Employees']['fields']['employees_project']=>array(

    instead of:

    $dictionary['Employees']['fields']['employees_project']=array(

    There's no solution, even by ftp, to change this code.


    Congratulatins for the good work!
    Vitor

  2. #2
    dwheeler is offline Sugar Team Member
    Join Date
    Sep 2007
    Location
    Cupertino CA
    Posts
    165

    Default Re: SugarCRM 5.2.0a -

    So the problem lies in the wiki article. That is where the => originates.
    The repair extensions function concatenates the files located in "custom/Extension/modules/module_name/Ext/Vardefs" into the vardefs.ext.php file.

    It doesn't generate the metadata that goes into those files.

    If you fix the '=>' problem in the file "custom/Extension/modules/Employees/Ext/Vardefs/relationship_name.php", then do another quick repair, it should be fixed for good.

    I have also corrected this in the wiki document.

    -David W
    - David Wheeler
    Software Engineer

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2007-06-05, 12:04 PM
  2. Replies: 2
    Last Post: 2006-06-23, 06:59 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
  •