Results 1 to 6 of 6

Thread: removing, then replacing field in studio causes error

  1. #1
    jmassey119 is offline Junior Member
    Join Date
    Sep 2008
    Posts
    3

    Default removing, then replacing field in studio causes error

    In the contacts module within the studio, under the Advanced Search layout, I moved the Assigned User "assigned_user_id" field into the hidden column. When I put it back into the default column and redeployed, I now get this error message:


    Warning: Popup_Picker::require_once(modules/Home/metadata/popupdefs.php) [function.Popup-Picker-require-once]: failed to open stream: No such file or directory in /var/www/sugar/include/Popups/Popup_picker.php on line 70

    Fatal error: Popup_Picker::require_once() [function.require]: Failed opening required 'modules/Home/metadata/popupdefs.php' (include_path='/var/www/sugar/include/..:.:/usr/share/php:/usr/share/pear') in /var/www/sugar/include/Popups/Popup_picker.php on line 70

    ************************************************** *****
    Operating System: Debian GNU\Linux 4.0
    Sugar Suite: 5.0.0
    Apache 2.2.3
    PHP 5.2.0
    MySQL 5.0.32

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: removing, then replacing field in studio causes error

    Have you confirmed that the referenced files do exist in the specified path, and that the user under which Apache is running has access said files?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    stuart_2k is offline Junior Member
    Join Date
    Oct 2010
    Posts
    3

    Default Re: removing, then replacing field in studio causes error

    EDIT: didn't realise I was resurrecting such an old thread!

    I am having this same issue when using the module builder in 6.0.2 CE

    I have checked the download package as well. And the path it's referencing is missing from there.

    I say again in case it's not coming across properly, the file is not in the download package for 6.0.2 CE

    That link is: http://dl.sugarforge.org/sugarcrm/2S...arCE-6.0.2.zip

    The file thats missing is modules/Home/metadata/popupdefs.php
    Last edited by stuart_2k; 2010-10-05 at 10:27 AM.

  4. #4
    mccon1 is offline Sugar Community Member
    Join Date
    Sep 2008
    Posts
    34

    Thumbs up Re: removing, then replacing field in studio causes error

    no matter how old the thread is, hopefully here's the solution:

    the module name goes lost for the related field by any reason... so check modules/YOURMODULE/vardefs.php, find a line
    Code:
      'your_field' => 
      array (
    and within the array there might be a line
    Code:
        'module' => '',
    change this to
    Code:
        'module' => 'Users',
    and you should be good to go.

  5. #5
    Cata_bRc is offline Sugar Community Member
    Join Date
    Nov 2010
    Posts
    17

    Default Re: removing, then replacing field in studio causes error

    I have the same error


    Warning: require_once(modules/Home/metadata/popupdefs.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\sugar\include\Popups\Popup_picker.php on line 64

    Fatal error: require_once() [function.require]: Failed opening required 'modules/Home/metadata/popupdefs.php' (include_path='C:\wamp\www\sugar\include/..;.;C:\php5\pear') in C:\wamp\www\sugar\include\Popups\Popup_picker.php on line 64

    I've change 'module' => ' ', with
    'module' => 'Users', but I have no result
    Can you please help me?

  6. #6
    cedcas is offline Member
    Join Date
    Sep 2009
    Posts
    18

    Default Re: removing, then replacing field in studio causes error

    Did you ever get this to work? I ran into the same problem when I used the "assigned_user_name" in one of my custom modules within Module Builder. Any directions would be greatly appreciated.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Is it a bug? Change the type of a custom field
    By ToniFatec in forum Developer Help
    Replies: 0
    Last Post: 2008-05-06, 03:17 PM
  2. Replies: 5
    Last Post: 2008-02-11, 02:50 PM
  3. Replies: 3
    Last Post: 2007-02-28, 01:56 PM
  4. Removing field (studio)
    By wesleywillians in forum Help
    Replies: 0
    Last Post: 2006-12-28, 01:49 PM
  5. Field layout error
    By mornature in forum Help
    Replies: 9
    Last Post: 2005-02-23, 05:23 AM

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
  •