Page 1 of 4 1234 LastLast
Results 1 to 10 of 39

Thread: Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

  1. #1
    aigalli is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    23

    Default Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

    Sugar Version : 5.0.0b
    Sugar Edition: CE
    Category: Module Builder
    OS: Linux
    PHP Version 5.1.6
    MySql: 5.0.22
    Web Server: Apache


    I recently created a new package with 3 custom modules via Module Builder. I used the "Deploy" option to load them into
    my Sugar instance. Although navigation tabs option was checked for each I cannot see the module tabs.

    Studio allows me to see the module icons but only allows me to display some of the fields, I am unable to edit lables or access any of the layouts.

    Under User Roles three blank entries appear for each of my custom modules.

    Under Admin:Configure Tabs there is a message for each of the modules: Notice: Undefined index: TRAIN_Instances in /var/www/html/SugarCE-Full-5.0.0a/modules/Administration/ConfigureTabs.php on line 83

    I have checked my directories and all the relevant files "appear" to be in place. I have also checked the permissions for the relevant directories.

    Any guidance would be much appreciated.

  2. #2
    aigalli is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    23

    Question Re: Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

    Unfortunately, I have not received any feedback on this reported problem.

    I guess my only option is to remove/delete the deployed package and start again. However, before I attempt this exercise I would appreciate any information on performing a "clean" removal/deletion of the deployed "package". I raise this point because I have read several emails in this forum regarding incomplete module deletions and the occurence of blant tabs and dormant files.

    Is my safest option the deletion of the package and associated modules via Module Builder - will this delete ALL the required files.

    It is my intention to re-create the modules using the same naming conventions as the existing package.

    I'd rather not have to do this but I cannot get to the bottom of the problem.

  3. #3
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

    Hi, aigalli.

    We answer question as soon as we can, so be patient.
    You are sure you defined translation for the modules name?
    Try to Publish the package and make sure the language entries are defined.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  4. #4
    aigalli is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    23

    Default Re: Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

    Quote Originally Posted by andopes
    Hi, aigalli.

    We answer question as soon as we can, so be patient.
    You are sure you defined translation for the modules name?
    Try to Publish the package and make sure the language entries are defined.

    Cheers
    Hi Andre,

    Thanks for your response. I'm not quite sure what you mean by your comment:

    "You are sure you defined translation for the modules name?"

    I created the package/modules via Module Builder so I have performed no additional action bar creating the modules and associated fields, relationships and layouts. Once I had completed these and saved them all I then proceed to "Deploy" the package to my Sugar instance.

    When I performed the Deploy the system returned no error messages, however, as I stated in my initial email I cannot see the new module navigation tabs and within Studio I can only look at the some of the fields via the tree structure NOT via the icons.

    My modules appear as TRAIN_Instances, TRAIN_Learners and TRAIN_Tutors under the modules directories, where TRAIN is the key for the package.

    I hope this clarifies my actions.

    Thanks!

  5. #5
    tomnzyoung is offline Junior Member
    Join Date
    Jul 2007
    Location
    Christchurch, New Zealand
    Posts
    142

    Default Re: Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

    Hi aigalli,

    I think Andre is interested to know if you're using a language other than US English. ModuleBuilder through 5.0.0c unfortunately only enters the modules name in the en_us language strings, so if you're deploying to any language other than US English you will need to manually create this entry. Luckily, it's easy enough to do: in custom/application/Ext/Language, make a copy of the en_us.lang.ext.php file and call it <lang>_lang.ext.php where <lang> is the abbreviation for the language you're using (en_us is the abbreviation for US English, fr_FR for French etc). That will do it.

    This was filed as Bug 20938, which has been fixed in 5.1 by changing the way we load the app_strings.

    Hopefully this will help you out; if not though do please post back here and we'll keep working with you on it,

    Sorry for the trouble,

    Tom

  6. #6
    aigalli is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    23

    Default Re: Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

    Hi Tom,

    Thanks for your response.

    I am using the US English language so I don't believe the problem lies in that area.

    I have trawled through the various directories and files, particularly in the custom directory and from what I can see all the files
    appear to be in place. My initial thought was that it might have to do with permissions, however, all the directories have write permissions set with the owner in the majority of cases set as "apache" with the others set as "root".

    It is curious that in Studio I can access a limited selection of the fields for each module via the tree directory but I have no access via the module icons. I have no access to any of the layouts via either method (tree structure or icons).

    I'll hang in here and see what suggestions are forthcoming.

  7. #7
    galaxy101 is offline Member
    Join Date
    Apr 2008
    Posts
    8

    Default Re: Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

    It could easily be a permission thing. I had deployment issues after my initial setup. Custom modules would partially deploy, empty navigation tabs, and drop down menus I created would not work. This is how I solved my problem...

    My apache runs as the user "nobody". So after I uploaded and extracted SugarCRM I had to do the following:

    -----
    cd /home/myuser/public_html/crm
    chown -R nobody:nobody
    chmod -R 766 cache custom data modules config.php
    -----

    After I did this my Module Builder is deploying perfectly.

    Just to note all files should be owned by the user that apache runs under (if it's apache then execute "chown -R apache:apache). You will run into issues if files and folders are owned by apache, some by root, and some by your own user account.

    Hope it helps you out!

    Chris

  8. #8
    aigalli is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    23

    Default Re: Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

    Hi Chris,

    Thanks for your suggestion. I did reset my owner permissions to "apache" across the specified directories alongwith the chmod permissions. I then redeployed my custom modules but without success.

    It looks like I will have to delete or try to delete this entire custom package and re-create it...in the hope that the error was a "one-off".

    The fact that I have been receiving no error messages when I deploy via Module Builder is most confusing...a suggestion is that Module Builder produces a report detailing the deployment process (what was successfully created and what was not).

    Thanks

  9. #9
    galaxy101 is offline Member
    Join Date
    Apr 2008
    Posts
    8

    Default Re: Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

    Quote Originally Posted by aigalli
    Thanks for your suggestion. I did reset my owner permissions to "apache" across the specified directories alongwith the chmod permissions. I then redeployed my custom modules but without success.
    Make sure you set "apache" as the owner and group for your main CRM directory, sub-directories, and files...

    Quote Originally Posted by aigalli
    The fact that I have been receiving no error messages when I deploy via Module Builder is most confusing...a suggestion is that Module Builder produces a report detailing the deployment process (what was successfully created and what was not).
    I found this too. I turned on all the logging and no where in the log file did it ever report an error when deploying my custom modules.

    Also, I did this "chmod 777" to verify it was a permission problem. After I did this my custom module deployment worked as expected, so I knew it was a permissions problem... and then finally that led me to the solution in my previous post...

    Chris

  10. #10
    aigalli is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    23

    Default Re: Module Builder - 5.0.0b - Custom Module tabs not appearing after deployment

    Hi Chris,

    Having ensured that the stated directories/subdirectories and files were set to "apache:apache" owner/group profile and performing

    chmod -R 777 cache custom data modules config.php

    followed by a redeployment of the package

    I am still unable to see my modules.

    The fact that I am able to view the field values from the Studio tree structure I thought might throw some light on the problem if I could identify where these resided. As I stated all other attempts to view the layouts (either via the tree structure or module icons) do not work. In fact I am unable to open the modules via the Studion module icons.

    I will attempt to delete the package and begin again later today.

    Thanks

Page 1 of 4 1234 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Creating new module with module builder...
    By NPayette in forum Developer Help
    Replies: 5
    Last Post: 2009-05-27, 03:51 PM
  2. Upgrade to 5.0.0b blanks out module builder
    By mastermindpro in forum Installation and Upgrade Help
    Replies: 15
    Last Post: 2008-03-10, 03:20 PM
  3. Replies: 12
    Last Post: 2008-03-03, 06:27 PM
  4. Need help with module builder 4.5.1b installation
    By Spy123 in forum Developer Help
    Replies: 0
    Last Post: 2007-04-08, 05:27 AM
  5. Roles and Custom Module Tabs
    By signaljim in forum Developer Help
    Replies: 5
    Last Post: 2006-01-20, 03:07 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
  •