Results 1 to 9 of 9

Thread: Can't create a module

  1. #1
    lcman is offline Member
    Join Date
    Jul 2008
    Posts
    13

    Default Can't create a module

    When I created a module in Module Builder, it displayed "loading", then "done" on the top of web page. However, no more action happened. The web page stayed "Module Builder > New Package", and cannot go to next step.

    I deleted all and re-install Sugar CRM again. I tried Sugar 5.0.0g and 5.1 RC, but the problem still happened.

    Anyone knows what's happened?
    » Operating system type and version: Ubuntu Linux 8.04
    » Sugar version: 5.0.0g
    » Webserver type and version: Apache 2.2.9
    » PHP version: 5.2.6
    » MySQL server version: 5.0.51b
    (XAMPP for Linux version: 1.6.7)

  2. #2
    lcman is offline Member
    Join Date
    Jul 2008
    Posts
    13

    Default Re: Can't create a module

    After I changed "chmod -R 777" to all folders in SugarCRM, it's ok again...

    What's wrong with it?

    » Operating system type and version: Ubuntu Linux 8.04
    » Sugar version: 5.0.0g
    » Webserver type and version: Apache 2.2.9
    » PHP version: 5.2.6
    » MySQL server version: 5.0.51b
    (XAMPP for Linux version: 1.6.7)

  3. #3
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Can't create a module

    In most of these cases the unix system is running in suphp mode.
    For this suphp mode there exists a suphp.conf.
    You must search for it, as every unix likes to hide it in an other directory :-)

    In this file there should be a line like
    umask=0077
    which means that new files are allocated with chmod 700.

    If you change this line to
    umask=0022
    then new files will be allocated with chmod 755.

    SuagrCRM needs at least chmod 755 on its files.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  4. #4
    lcman is offline Member
    Join Date
    Jul 2008
    Posts
    13

    Default Re: Can't create a module

    Quote Originally Posted by kuske
    In most of these cases the unix system is running in suphp mode.
    For this suphp mode there exists a suphp.conf.
    You must search for it, as every unix likes to hide it in an other directory :-)

    In this file there should be a line like
    umask=0077
    which means that new files are allocated with chmod 700.

    If you change this line to
    umask=0022
    then new files will be allocated with chmod 755.

    SuagrCRM needs at least chmod 755 on its files.
    I see. Thanks for your help.
    But I cannot find the file "suphp.conf" ... I install "LAMPP" in /opt/lampp/. Does the file "suphp.conf" exist in /opt/lampp/ ??
    Can I change it to other mode?
    Last edited by lcman; 2008-08-07 at 02:46 AM.
    » Operating system type and version: Ubuntu Linux 8.04
    » Sugar version: 5.0.0g
    » Webserver type and version: Apache 2.2.9
    » PHP version: 5.2.6
    » MySQL server version: 5.0.51b
    (XAMPP for Linux version: 1.6.7)

  5. #5
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Can't create a module

    Just to be sure, change directory to / and search with

    find . -name "suphp*" -print
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  6. #6
    lcman is offline Member
    Join Date
    Jul 2008
    Posts
    13

    Question Re: Can't create a module

    Quote Originally Posted by kuske
    Just to be sure, change directory to / and search with

    find . -name "suphp*" -print

    Maybe It was found, but I see nothing in that folder...

    root@lcman-desktop:/# find . -name "suphp*" -print
    find: ./home/lcman/.gvfs: Permission denied

    lcman@lcman-desktop:~/.gvfs$ ls -l
    total 0

    How can I do??

    Last edited by lcman; 2008-08-11 at 04:51 AM.
    » Operating system type and version: Ubuntu Linux 8.04
    » Sugar version: 5.0.0g
    » Webserver type and version: Apache 2.2.9
    » PHP version: 5.2.6
    » MySQL server version: 5.0.51b
    (XAMPP for Linux version: 1.6.7)

  7. #7
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Can't create a module

    I do not think it is there, suphp.conf is always readable.
    So try to check /ect/profile for any "set umask...." entry.
    If there is nothing try to write a
    set umask=0022
    before the first statement in the file /etc/init.d/apache2
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  8. #8
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Can't create a module

    In UBUNTU 7.10 the file
    /etc/profile
    contains an
    umask 022
    command.

    I do not know how UBUNTU 8.x handles this.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  9. #9
    lcman is offline Member
    Join Date
    Jul 2008
    Posts
    13

    Default Re: Can't create a module

    Quote Originally Posted by kuske
    In UBUNTU 7.10 the file
    /etc/profile
    contains an
    umask 022
    command.

    I do not know how UBUNTU 8.x handles this.
    I tried and cannot find any "suphp" files...



    Anyway, thanks for your help~
    » Operating system type and version: Ubuntu Linux 8.04
    » Sugar version: 5.0.0g
    » Webserver type and version: Apache 2.2.9
    » PHP version: 5.2.6
    » MySQL server version: 5.0.51b
    (XAMPP for Linux version: 1.6.7)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to create new chart but show cases module
    By taarus in forum Developer Help
    Replies: 8
    Last Post: 2009-03-02, 10:05 AM
  2. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  3. Replies: 1
    Last Post: 2008-06-16, 01:01 PM
  4. Trying to Create Simple Module
    By versatilewt in forum Developer Help
    Replies: 4
    Last Post: 2004-11-16, 10:55 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
  •