Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: 'undefined' labels in module studio

  1. #1
    dpresbit is offline Member
    Join Date
    Jul 2008
    Posts
    9

    Default 'undefined' labels in module studio

    I upgraded to 5.1RC and now I notice that when I am in studio the NEW PANEL and NEW ROW objects have UNDEFINED labels. Also when I leave the area, the popup box that would normally say SAVE/CANCEL has all undefined labels including the information part. It's as if it's not reading the studio english file or something.

    All other labels are okay.

  2. #2
    dpresbit is offline Member
    Join Date
    Jul 2008
    Posts
    9

    Default Re: 'undefined' labels in module studio

    Searched for llb_new_panel and found a reference to it in studio2.js:

    SUGAR.language.get('ModuleBuilder', 'LBL_NEW_PANEL')

    in \modules\ModuleBuilder\javascript

    and laguage file in \modules\ModuleBuilder\language\en_us.lang.php looks okay (has lbl_new_panel text there)

    Can't seem to identify the problem to showing "undefined"

  3. #3
    dpresbit is offline Member
    Join Date
    Jul 2008
    Posts
    9

    Default Re: 'undefined' labels in module studio

    My apologies, I'm talking about studio here....not module builder.

    The only reference I found for PANEL and ROW was in module builder, javascripts. Nothing in modules\studio (even in 5.0 release where i KNOW it was working).

  4. #4
    dpresbit is offline Member
    Join Date
    Jul 2008
    Posts
    9

    Default Re: 'undefined' labels in module studio

    Okay, I tried ANOTHER fresh install of 5.1RC and populated it with demo data, and same issue.
    What's more, I go to any module and try a mass update and the popups show UNDEFINED as well. So a whole lot of missing variable strings are in 5.1RC...or at least the two installs that I did so far.

  5. #5
    KS1sugar is offline Junior Member
    Join Date
    Aug 2008
    Posts
    1

    Default Re: 'undefined' labels in module studio

    Resolved this problem. Check your permissions under your 'Cache' folder. All directories should be 755 and all files 644. For some reason 5.1.0RC set dirs to 770 and files to 660. When I upgraded to 5.1.0GA the permissions were inherited from the 5.1.0RC install and experienced the 'undefined' labels everywhere, as well. This is a tedious process but check all dirs and files and set correct permissions as indicated above.

  6. #6
    asiderop is offline Junior Member
    Join Date
    Aug 2008
    Posts
    4

    Default Re: 'undefined' labels in module studio

    I seemed to have the same issue (in both the Studio and Module Builder) for a fresh install of 5.1.0GA. I fixed it with the following commands, as KS1sugar suggested.

    Code:
    cd ./cache/
    chmod -R o+rx ./*
    chmod -R o-x ./*.*

  7. #7
    mtg82814 is offline Junior Member
    Join Date
    Aug 2007
    Posts
    4

    Default Re: 'undefined' labels in module studio

    I had the same exact problem.

    The fixed worked.

    I have a hosted account with GoDaddy, so I used FileZilla to change the file permissions recursively.

  8. #8
    jayrb is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    57

    Default Re: 'undefined' labels in module studio

    Fixing permissions has addressed problems in the general UI with various labels, but it hasn't fixed Studio - at least not for me. I then ran a Repair on all modules and now "undefined" is everywhere again! I'll stay on it and report back if I find an answer.

    I made a bash script that I'll keep in the root dir to reset perms easily.

    #!/bin/sh

    # This will change permissions of all files to rw-r--r--
    # and all directories to rwxr-xr-x

    find . -type f -exec chmod 644 {} \;
    find . -type d -exec chmod 755 {} \;

  9. #9
    richieb is offline Member
    Join Date
    Nov 2007
    Posts
    5

    Question Re: 'undefined' labels in module studio

    We are experiencing the same issues on our system. However we are using Windows Server 2003, Microsoft SQL Server 2005, and PHP 5.2.6.

    These issues arose after we upgraded from 4.5.1 to 5.1.0b. When attaching external files to emails the file will display as undefined and the email will be sent without the attachment.

  10. #10
    shailendra001's Avatar
    shailendra001 is offline A Prolific Poster
    Join Date
    Oct 2008
    Location
    Bangalore India
    Posts
    255

    Default Re: 'undefined' labels in module studio

    Hi !
    From command prompt it is ok, to change file permission
    but On site installation is having this Undefined issue how we can address that?

    if i am changing cache file permission to 755 , everything is working fine but once i do some customization , again i am having same issue.

    on server hosted by third party how can we resolve this undefined pop up issue ?

    Regards
    Shailendra



    Quote Originally Posted by jayrb View Post
    Fixing permissions has addressed problems in the general UI with various labels, but it hasn't fixed Studio - at least not for me. I then ran a Repair on all modules and now "undefined" is everywhere again! I'll stay on it and report back if I find an answer.

    I made a bash script that I'll keep in the root dir to reset perms easily.

    #!/bin/sh

    # This will change permissions of all files to rw-r--r--
    # and all directories to rwxr-xr-x

    find . -type f -exec chmod 644 {} \;
    find . -type d -exec chmod 755 {} \;

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 2009-07-16, 04:26 AM
  2. Hooks aren't exported in Module Builder and Studio
    By nite_man in forum Developer Help
    Replies: 0
    Last Post: 2008-05-20, 05:11 PM
  3. Edit with studio Reports module
    By dauti in forum Customer Support
    Replies: 1
    Last Post: 2008-01-21, 10:02 PM
  4. Admin Tools for SugarCRM 4.2
    By kbrill in forum Downloads
    Replies: 80
    Last Post: 2006-09-22, 10:31 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
  •