Results 1 to 7 of 7

Thread: How to Debug "Failed to Retrieve Data" When Deploying Custom Module

  1. #1
    vcomp is offline Member
    Join Date
    Feb 2010
    Posts
    11

    Default How to Debug "Failed to Retrieve Data" When Deploying Custom Module

    I've had great success building custom modules. Then I made the mistake of naming a module by the same name that I used in a different package. Now I many problems and each time I attempt to deploy the module I receive an error message "Failed to Retrieve Data".

    Can any one suggest how to identify what's causing the "Failed to Retrieve Data" problem. I'm using Version 5.5.0 (Build 6653) on Windows.

    Thanks,

    Vic

  2. #2
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Default Re: How to Debug "Failed to Retrieve Data" When Deploying Custom Module

    get a proper development environment (we use partially ZEND and some of our developers use pure eclipse with the PHP plugin) and debug it.

    christian.


    Quote Originally Posted by vcomp View Post
    I've had great success building custom modules. Then I made the mistake of naming a module by the same name that I used in a different package. Now I many problems and each time I attempt to deploy the module I receive an error message "Failed to Retrieve Data".

    Can any one suggest how to identify what's causing the "Failed to Retrieve Data" problem. I'm using Version 5.5.0 (Build 6653) on Windows.

    Thanks,

    Vic

  3. #3
    vcomp is offline Member
    Join Date
    Feb 2010
    Posts
    11

    Default Re: How to Debug "Failed to Retrieve Data" When Deploying Custom Module

    Agreed, your solution is the mother of all hammers for my nail. I'm hoping there is a less heavy handed method such as log files, etc.

    Thanks,

    Vic

  4. #4
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: How to Debug "Failed to Retrieve Data" When Deploying Custom Module

    Hi,

    If I have understood your problem well, I would suggest, you have already deployed the module from module builder(though it was not good), then remove the wrong module from module builder and create a fresh one.
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

  5. #5
    vcomp is offline Member
    Join Date
    Feb 2010
    Posts
    11

    Default Re: How to Debug "Failed to Retrieve Data" When Deploying Custom Module

    Yes, I deployed many times successfully. Afterward, I created a new package. Within that package I created a new module with the same name as one in the original package. That's when my problems started. I haven't been able to deploy the original package since that time.

    Thanks,

    Vic

  6. #6
    ngchieu is offline Junior Member
    Join Date
    Jul 2010
    Posts
    3

    Default Re: How to Debug "Failed to Retrieve Data" When Deploying Custom Module

    I met this problem too

    In my case it turn out that my package is too big so that PHP cannot process the scripts within 30 seconds

    By default, after 30 second, if the scripts is not finished then PHP stop process them and throw an error.

    Just add this line to PHP.ini to solve the problem.

    max_execution_time = 120 (or some bigger number)

    After 2 weeks digging the Internet, checked all proposed solutions, a lot of my hair has gone for this problem

  7. #7
    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: How to Debug "Failed to Retrieve Data" When Deploying Custom Module

    Depending on Sugar version it takes some time to deploy a package.
    I suggest you to publish and install through Module Loader, it is pretty safer.

    Regards
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 2011-12-12, 07:22 PM
  2. Replies: 10
    Last Post: 2011-06-09, 06:05 PM
  3. Replies: 1
    Last Post: 2010-05-25, 06:09 AM
  4. Replies: 4
    Last Post: 2010-02-23, 03:04 PM

Tags for this Thread

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
  •