Results 1 to 6 of 6

Thread: ModuleBuilder - Undefined Index problem

  1. #1
    cwoodward is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    12

    Default ModuleBuilder - Undefined Index problem

    I recently installed ModuleBuilder 451c using a Sugar 4.5.1c demo environment. I installed both the builder and the simple template. The installation seems to go fine but when I click to start editing my new module, I get undefined index errors including the one below

    Module Builder Settings: my test module

    Notice: Undefined property: module_version in E:\apps\sugardemo\modules\Builder\DetailView.php on line 152
    Notice: Undefined property: new_sub_panels_qty in E:\apps\sugardemo\modules\Builder\DetailView.php on line 188

    and in the settings page:

    Notice: Undefined index: moduleList_default_key in E:\apps\sugardemo\modules\Builder\EditView.php on line 389
    Notice: Undefined variable: qsUser in E:\apps\sugardemo\modules\Builder\EditView.php on line 443
    Notice: Undefined variable: qsTeam in E:\apps\sugardemo\modules\Builder\EditView.php on line 444
    Notice: Undefined variable: qsScripts in E:\apps\sugardemo\modules\Builder\EditView.php on line 445
    Notice: Undefined variable: setup_script in E:\apps\sugardemo\modules\Builder\EditView.php on line 460

    I am preparing to dig into the code to figure out what :module_version and the other variables correspond to but I thought I would post and see if anyone could shed some light.

    Questions:

    Are these variables defined in the database or in the code?
    What deficiency might have caused this issue?


    Thanks in advance!
    Clark

  2. #2
    mapm's Avatar
    mapm is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Portugal
    Posts
    239

    Default Re: ModuleBuilder - Undefined Index problem

    Quote Originally Posted by cwoodward
    I recently installed ModuleBuilder 451c using a Sugar 4.5.1c demo environment. I installed both the builder and the simple template. The installation seems to go fine but when I click to start editing my new module, I get undefined index errors including the one below

    Module Builder Settings: my test module

    Notice: Undefined property: module_version in E:\apps\sugardemo\modules\Builder\DetailView.php on line 152
    Notice: Undefined property: new_sub_panels_qty in E:\apps\sugardemo\modules\Builder\DetailView.php on line 188

    and in the settings page:

    Notice: Undefined index: moduleList_default_key in E:\apps\sugardemo\modules\Builder\EditView.php on line 389
    Notice: Undefined variable: qsUser in E:\apps\sugardemo\modules\Builder\EditView.php on line 443
    Notice: Undefined variable: qsTeam in E:\apps\sugardemo\modules\Builder\EditView.php on line 444
    Notice: Undefined variable: qsScripts in E:\apps\sugardemo\modules\Builder\EditView.php on line 445
    Notice: Undefined variable: setup_script in E:\apps\sugardemo\modules\Builder\EditView.php on line 460

    I am preparing to dig into the code to figure out what :module_version and the other variables correspond to but I thought I would post and see if anyone could shed some light.

    Questions:

    Are these variables defined in the database or in the code?
    What deficiency might have caused this issue?


    Thanks in advance!
    Clark
    Try to follow all the tips in the module builder documentation in http://www.sugarforge.org/docman/vie...s_451b_001.pdf
    Pay attention to module name, it must be plural with no white spaces.
    If you install version 4.5.1c you won't need to install simple module because this version already includes it.
    Trey the thread created by Olavo you can get lots of information there.

  3. #3
    cwoodward is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    12

    Default Re: ModuleBuilder - Undefined Index problem

    Thanks for the response. I have the documentation and am following it closely.

    I am getting the errors when I click the link to create the new module not after it is created.
    By the way, my database is MYSQL.

    Any other thoughts?


  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: ModuleBuilder - Undefined Index problem

    Generally these messages are non-critical. Not sure for ModuleBuilder though, does it still work? To remove these message set your php.ini file to repress them by error_reporting = E_ALL to error_reporting = E_ALL & ~E_NOTICE.

  5. #5
    cwoodward is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    12

    Default Re: ModuleBuilder - Undefined Index problem

    I will update the config to hide the errors but building the module fails


  6. #6
    mapm's Avatar
    mapm is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Portugal
    Posts
    239

    Default Re: ModuleBuilder - Undefined Index problem

    It seems to me, but i'm not sure, that this may be one of two problems:
    - permissions?!
    - problem during builder instalation

    Try to do a fresh install os sugar on other directory, next try to install builder if no errors try to create a very simple module, save only simplemodules and define it then build it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Undefined index accedendo con lingua italiana
    By ldebernardini in forum Italiano
    Replies: 0
    Last Post: 2006-12-19, 09:39 AM
  2. Admin Tools for SugarCRM 4.2
    By kbrill in forum Downloads
    Replies: 80
    Last Post: 2006-09-22, 10:31 PM
  3. Errors after upgrade
    By mturany in forum Help
    Replies: 0
    Last Post: 2006-04-24, 04:40 AM
  4. ERROR in 4.01
    By rateck in forum Help
    Replies: 3
    Last Post: 2006-02-02, 10:00 PM
  5. Replies: 0
    Last Post: 2005-09-24, 10:27 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
  •