Results 1 to 7 of 7

Thread: module builder to studio issues

  1. #1
    jdroger2 is offline Member
    Join Date
    Sep 2006
    Posts
    6

    Default module builder to studio issues

    I've created a custom module using the module builder and we are unable to successfully install this module. When we create the layouts our EditLayout transfers over into the studio fine and you can see it successfully in the studio packages just as in the module builder but none of our other layouts or searches will apply properly to the studio causing the whole module including the detailed views and search views to not apply correctly. Also we are getting these errors by just going to the module:

    "
    Warning: Invalid argument supplied for foreach() in C:\data\vhosts\communicoretech.com\httpdocs\sugar\ include\EditView\EditView2.php on line 196

    Warning: Invalid argument supplied for foreach() in C:\data\vhosts\communicoretech.com\httpdocs\sugar\ include\EditView\EditView2.php on line 200

    Warning: Invalid argument supplied for foreach() in C:\data\vhosts\communicoretech.com\httpdocs\sugar\ include\EditView\EditView2.php on line 220"

    They disappear after you try and create a new subject in this module. Also we are getting these errors in the side panel:
    "Warning: Smarty error: unable to read resource: "include/SideQuickCreate/header.tpl" in C:\data\vhosts\communicoretech.com\httpdocs\sugar\ include\Smarty\Smarty.class.php on line 1095

    Warning: Smarty error: unable to read resource: "include/SideQuickCreate/footer.tpl" in C:\data\vhosts\communicoretech.com\httpdocs\sugar\ include\Smarty\Smarty.class.php on line 1095”

  2. #2
    davetoffling is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    12

    Default Re: module builder to studio issues

    I'm having a similar issue. i created about 20 drop downs to add to accounts. once i added them to the detail/view i get these errors.

    Warning: Invalid argument supplied for foreach() in E:\Sugarcrm\htdocs\sugarcrm\include\EditView\EditV iew2.php on line 204

    Warning: Invalid argument supplied for foreach() in E:\Sugarcrm\htdocs\sugarcrm\include\EditView\EditV iew2.php on line 208

    Warning: Invalid argument supplied for foreach() in E:\Sugarcrm\htdocs\sugarcrm\include\EditView\EditV iew2.php on line 228

    Fatal error: ViewList::require_once() [function.require]: Failed opening required '' (include_path='E:\Sugarcrm\htdocs\sugarcrm\include/..;.;C:\php5\pear') in E:\Sugarcrm\htdocs\sugarcrm\include\MVC\View\views \view.list.php on line 90


    im gonna try deleting them from the edit view list.

    edit: nope no change.... deleteing those
    Last edited by davetoffling; 2008-01-16 at 03:23 PM.

  3. #3
    davetoffling is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    12

    Default Re: module builder to studio issues

    p.s. i'm using the bitrock installer and i upgraded to 5.0.0a

  4. #4
    mcatling is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    75

    Default Re: module builder to studio issues

    Hi I have the same problems with a couple of new modules in a single package.,

    Never found out why.

    Ended up just creating a basic set of modules using the issue template . building all the related views I needed for the modules. Only adding field to the modules for related fields. Then publishing these simple modules.

    Then I deployed these and did all the detailed work in Studio. Then exported these enhancements from studio.

    The main issue is that I have two steps now to install my new modules on a new system.

    1: load the basic module using module loader.
    2: Load the saved enhancements for the module... which were exported from studio.

    Not nice but at least it worked.

  5. #5
    zacheos is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    12

    Default Re: module builder to studio issues

    These all seem very close to issues I was having and they are likely related to the bug posted here:

    http://www.sugarcrm.com/crm/?option=...=Note+saved%21

    To see if they are related, please read the bug post and try to change the Tabs to Display number to a number higher than the exact number of tabs that you have.

    Hope this helps... There seem to be a large number of bugs in this 5.0 system. Sadly I took the plunge and upgraded. The upgrade bricked for me, and I had to do a fresh install... Now I am stuck with a buggy system (see my other posts - LOL I have only test a couple of features in the new system and so far have found problems in all of them!)

  6. #6
    davetoffling is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    12

    Default Re: module builder to studio issues

    thanks thats seemed to fix it.... very strange....

  7. #7
    Danielg42 is offline Sugar Community Member
    Join Date
    Jun 2006
    Location
    Orange County, CA
    Posts
    187

    Default Re: module builder to studio issues

    When I did this, it fixed these errors:
    Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/sugar/include/EditView/EditView2.php on line 208

    However, it broke the ability to show anything I added. So now, my module is completely blank even though there is information in the database. When I change the tabs back to 12, I get the errors, but I can then see the all the entries.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  2. HOWTO - Enhance ModuleBuilder generated modules to include AJAX
    By kenneth.thorman in forum Developer Tutorials
    Replies: 10
    Last Post: 2009-01-16, 05:53 PM
  3. Replies: 0
    Last Post: 2007-11-21, 12:08 PM
  4. Replies: 1
    Last Post: 2006-09-11, 03:38 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
  •