Results 1 to 9 of 9

Thread: Cannot add new custom field in Studio

  1. #1
    azurtec is offline Senior Member
    Join Date
    Oct 2008
    Location
    Saint-Raphaël - FRANCE
    Posts
    33

    Default Cannot add new custom field in Studio

    Hi,

    I have a strange problem when i want to create a new custom field for the account module in studio. Nothing happends and the firefox error console gives me this message :

    Erreur.: invalid flag after regular expression
    Fichier Source.: http://192.168.1.4/sugar/include/jav...-all.js?c=1%22
    Ligne.: 10, Colonne.: 11
    Code Source.:
    <b>Warning</b>: ksort() expects parameter 1 to be array, null given in <b>D:\SERVEURS\ESI\SugarCRM\modules\ModuleBuilder\ views\view.modulefield.php</b> on line <b>215</b><br />
    It's the same when i try to edit any existing field from that module. It works perfectly for other ones...

    The fact is that it was working also for "accounts" a few days ago, and i made no changes on it...

    I have 3 installations of Sugar, and get the same issue on 2 of them only. Tried find some differences in files which should be involved, also in the fields_meta_dat table in the database, no way to find something unsefull.

    Anybody have an idea about that ?

    Thanks by advance.

  2. #2
    genius786's Avatar
    genius786 is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Karachi, Pakistan
    Posts
    129

    Smile Re: Cannot add new custom field in Studio

    May be the problem with your hosting or the issue of permission with sugarcrm.



    Best regards,
    SARFARAZ AHMED KHAN
    Karachi, Pakistan
    skype: genius_crystal
    genius_crystal@hotmail.com
    92-314-2595624

  3. #3
    azurtec is offline Senior Member
    Join Date
    Oct 2008
    Location
    Saint-Raphaël - FRANCE
    Posts
    33

    Default Re: Cannot add new custom field in Studio

    No, the 3 installs are on the same local WAMP server with full access, and everything is correct on that way, i've just checked it.

    But thanks for the idea.

  4. #4
    joydeepb is offline Member
    Join Date
    Sep 2007
    Posts
    7

    Default Re: Cannot add new custom field in Studio

    grant 755 permission on all "cache" folder/files

  5. #5
    DigiCRM is offline Senior Member
    Join Date
    Sep 2008
    Posts
    84

    Default Re: Cannot add new custom field in Studio

    Are you using Plesk? We had huge permission issues with plesk, the FTP user, the apache user, etc always gets confusing.

  6. #6
    azurtec is offline Senior Member
    Join Date
    Oct 2008
    Location
    Saint-Raphaël - FRANCE
    Posts
    33

    Default Re: Cannot add new custom field in Studio

    I m using easyphp 2.0 on a windows XP Pro system. Permissions for the cache directory (as others) are ok, i'm the only user for this computer.

    I just still don't understand where can be the problem...

  7. #7
    azurtec is offline Senior Member
    Join Date
    Oct 2008
    Location
    Saint-Raphaël - FRANCE
    Posts
    33

    Default Re: Cannot add new custom field in Studio

    Noone ever had this issue ?


    Even if i can bypass the problem by using custom vardfs, it's still annoying that studio doesn't work as it should...


    I have a warning in the sugar log :

    01/28/09 11:25:22 [2732][1][DEBUG] rebuilding cache for Accounts
    01/28/09 11:25:22 [2732][1][INFO] Query:SELECT * FROM fields_meta_data WHERE custom_module='Accounts' AND deleted = 0
    01/28/09 11:25:22 [2732][1][INFO] Query Execution Time:0.0023419857025146
    01/28/09 11:25:22 [2732][1][WARN] view.modulefield: hidelevel 10 Array
    (
    [name] => name
    [type] => name
    [dbType] => varchar
    [vname] => LBL_ACCOUNT_NAME
    [len] => 150
    [comment] => Name of the Company
    [unified_search] => 1
    [audited] => 1
    [merge_filter] => selected
    [importable] => required
    )

    01/28/09 11:25:22 [2732][1][DEBUG] FieldViewer.php->getLayout() = name

  8. #8
    azurtec is offline Senior Member
    Join Date
    Oct 2008
    Location
    Saint-Raphaël - FRANCE
    Posts
    33

    Default Re: Cannot add new custom field in Studio

    New issue ... (i didn't figure that before)

    Still in Studio, even in modules where i can browse existing fields, when i want to create a new one, i have the display but the first dropdown, used tu select the datatype is... empty, no values, so also impossible to add fields.

    It works the same way in module builder...

    I m still working on a way to make it as it needs to be, but not yet found anything i didn't tried.
    Ideas or same sad experience repaired would be welcomed

  9. #9
    bartgras is offline Junior Member
    Join Date
    May 2009
    Posts
    3

    Default Re: Cannot add new custom field in Studio

    Quote Originally Posted by azurtec View Post
    Hi,

    I have a strange problem when i want to create a new custom field for the account module in studio. Nothing happends and the firefox error console gives me this message :



    It's the same when i try to edit any existing field from that module. It works perfectly for other ones...

    The fact is that it was working also for "accounts" a few days ago, and i made no changes on it...

    I have 3 installations of Sugar, and get the same issue on 2 of them only. Tried find some differences in files which should be involved, also in the fields_meta_dat table in the database, no way to find something unsefull.

    Anybody have an idea about that ?

    Thanks by advance.
    I'm having the same issue and I'm almost sure it's permission problem. Why?
    I have cloned my sugar from localhost to hosting provider. When I work in studio on localhost - everything is ok, but when I try to do that on hosted one - I get the same error like You.
    Maybe it will help anyone to solve the problem.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. dropdown custom field in Studio
    By gerald29 in forum General Discussion
    Replies: 3
    Last Post: 2009-01-24, 07:31 AM
  2. how do i create a custom field without using studio?
    By schnagga in forum Developer Help
    Replies: 3
    Last Post: 2008-05-30, 07:51 AM
  3. Replies: 5
    Last Post: 2008-04-30, 12:08 PM
  4. Replies: 3
    Last Post: 2007-02-28, 01:56 PM
  5. Replies: 0
    Last Post: 2006-11-09, 03:04 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
  •