Results 1 to 6 of 6

Thread: erro fatal

  1. #1
    Gilton is offline Sugar Community Member
    Join Date
    Feb 2011
    Posts
    69

    Default erro fatal

    Na instalação do Sugar no provedor deu um erro fatal:
    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 16 bytes)
    especificou o erro no arquivo: include / banco / MysqlManager.php on line 191,
    essa linha é: $GLOBALS['log']->debug('Limit Query:' . $sql. ' Start: ' .$start . ' count: ' . $count);

    o que seria isso, e o que devo fazer,

    fico no aguardo obrigado.

    Gilton

  2. #2
    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: erro fatal

    Olá Gilton

    Você precisa aumentar o atributo allowed_memory no php.ini
    Eu aconselho definir 256M

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

  3. #3
    Gilton is offline Sugar Community Member
    Join Date
    Feb 2011
    Posts
    69

    Default Re: erro fatal

    Não estou encontrando este arquivo, onde ele está localizado por favor.

    no aguardo,

    grato

  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: erro fatal

    Se seu sistema está hospedado na Locaweb o php.ini fica no diretorio do seu usuario.
    Crie um simples script no diretorio web contendo:

    PHP Code:
    <?PHP
    phpinfo
    ();
    ?>
    Acesse esse arquivo pelo browser e você verá todos os atributos do php.ini e também verá onde ele está localizado.
    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
    Gilton is offline Sugar Community Member
    Join Date
    Feb 2011
    Posts
    69

    Default Re: erro fatal

    Andre, eu não havia localizado meu php.ini, por no meu provedor está
    como php-cgi.ini logo na raiz devo manter esse nome ou altero para php.ini

    Eu abri esse arquivo num editor de texto e não localizei o atributo allowed_memory

    Eu achei o:

    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;

    max_execution_time = 60 ; Maximum execution time of each script, in seconds
    max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
    memory_limit = 64M ; Maximum amount of memory a script may consume (8MB)

    Seria esse ultimo: memory_limit = 64M

  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: erro fatal

    Sim, exatamente, é esse último.

    Att
    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. Erro de Instalação
    By Gilton in forum Portugese
    Replies: 2
    Last Post: 2011-02-08, 04:04 PM
  2. Erro CSS
    By marianaalves in forum Portugese
    Replies: 2
    Last Post: 2010-12-03, 05:42 PM
  3. Erro bad data
    By AdrianaTELCELL in forum Portugese
    Replies: 4
    Last Post: 2009-10-15, 11:15 AM
  4. erro crm
    By rjnascimento in forum Portugese
    Replies: 3
    Last Post: 2009-06-04, 07:39 PM
  5. erro
    By flabit in forum Portugese
    Replies: 2
    Last Post: 2008-10-22, 04:38 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
  •