Results 1 to 10 of 10

Thread: error in Module Loader

  1. #1
    alfonsomoreno is offline Junior Member
    Join Date
    May 2007
    Posts
    3

    Question error in Module Loader

    SUGAR CRM 5.0
    1º Developer Tools > Module Builder > New Package

    2º download test.zip

    3º Administration: Module Loader > Upload do file test.zip

    4º I clic button in "Install"

    5º Accept License Agreement

    ..............

    Progress = 27% STOP!!!

    click in link "Display Log"

    Mensage:

    Installing Images

    Warning: dir(C:/wamp/www/e-vmulti5/cache/upload/upgrades/temp/3F.tmp/icons) [function.dir]: failed to open dir: No such file or directory in C:\wamp\www\e-vmulti5\include\dir_inc.php on line 48

    Fatal error: Call to a member function read() on a non-object in C:\wamp\www\e-vmulti5\include\dir_inc.php on line 49


    ????????????????????????????????????????????????

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

    Default Re: error in Module Loader

    Bad copy code in the manifest.php file in the package. It looks like it references an icon folder that doesn't really exist in the package.

  3. #3
    katdish is offline Junior Member
    Join Date
    Jul 2008
    Posts
    3

    Default Re: error in Module Loader

    I am getting same error, but with a module that i created using module builder.

    Stops at 27%

    Warning: copy(themes/default/images/class_bfk.gif) [function.copy]: failed to open stream: Permission denied in /home/psi/public_html/Sugar/include/dir_inc.php on line 48

    I have set the permissions correctly per install instructions. Running 5.1

  4. #4
    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: error in Module Loader

    Hi Alfonso.

    The issue in your installation is the missed icon folder referenced by manifest.php.
    Try to unzip the package, edit the manifest and remove the array element related to copy of this folder. Zip the package again.

    Hi katdish.

    The issue in your installation is the permission denied.
    Check what is the user under which the apache is running: take a look at the httpd.conf and figure out the user and group.
    Use the command "chown -R user.group /home/psi/public_html/Sugar" as root, where user and group are the values from httpd.conf.

    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.

  5. #5
    katdish is offline Junior Member
    Join Date
    Jul 2008
    Posts
    3

    Default Re: error in Module Loader

    Thanks for your help with this!

    I contacted the web host (I am using shared hosting) who corrected the ownership on all files/folders.
    Now, I have many errors!

    See here:

    http://www.psiseminarsportland.com/S...n_action=index

    www.psiseminarsportland.com/Sugar

    Web host support says these are script issues and not server issues. They will make any server level changes needed, though I have no idea what to do now... I am new at this and appreciate any support.

  6. #6
    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: error in Module Loader

    Hi katdish

    Definitively it is a file permission issue.
    Sugar are trying to create the cached files to lead further and it can not do that.

    Make sure the Sugar folder belongs to the user under which the apache is running.

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

  7. #7
    katdish is offline Junior Member
    Join Date
    Jul 2008
    Posts
    3

    Default Re: error in Module Loader

    Web host support replied with this:


    apache runs under user nobody on the server
    root@brest [/home/psi/public_html]# chown nobody.nobody Sugar
    drwxr-xr-x 17 nobody nobody 4096 Aug 18 01:43 Sugar/


    Still have same errors, what to do?

  8. #8
    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: error in Module Loader

    Quote Originally Posted by katdish
    Web host support replied with this:


    apache runs under user nobody on the server
    root@brest [/home/psi/public_html]# chown nobody.nobody Sugar
    drwxr-xr-x 17 nobody nobody 4096 Aug 18 01:43 Sugar/


    Still have same errors, what to do?
    Hi katdish

    chown nobody.nobody Sugar

    Does not fix the issue, it is necessary to add the "-R" attribute:

    chown -R nobody.nobody Sugar

    This will give to user nobody.nobody recursive access to the sugar folder.

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

  9. #9
    sugaradmin is offline Member
    Join Date
    Apr 2007
    Posts
    7

    Default Re: error in Module Loader

    After I tried to upgrade my custom module via module loader, I found problem at 22% and the Log Displays

    Failed to copy /var/www/Sugar/cache/upload/upgrades/temp/fRYo0b/module/Events modules/Events

    But it worked on my local machine.

  10. #10
    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: error in Module Loader

    Quote Originally Posted by sugaradmin
    After I tried to upgrade my custom module via module loader, I found problem at 22% and the Log Displays

    Failed to copy /var/www/Sugar/cache/upload/upgrades/temp/fRYo0b/module/Events modules/Events

    But it worked on my local machine.
    It seems it is a miss spelling.
    Probably in your installer folder structure the Events is inside the folder modules/Events, but the manifest looks for module/Events.
    It returns a copy error.

    Figure out that.

    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.

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. ability to load basic modules through module loader
    By Systems Navigator in forum Developer Help
    Replies: 0
    Last Post: 2007-06-15, 11:35 AM
  3. Replies: 1
    Last Post: 2006-09-11, 03:38 PM
  4. Module Loader Limitations
    By ftreml in forum Developer Help
    Replies: 1
    Last Post: 2005-10-28, 11:22 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
  •