Results 1 to 3 of 3

Thread: Memory limit error

  1. #1
    andy60 is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Rome
    Posts
    59

    Default Memory limit error

    I installed sugarcrm ce on an exsternal server, without the possibility to change php.ini. After readig the forum, i changed my index.php file , now the code is:

    Code:
    ini_set( 'memory_limit', '500M' );
    ini_set( 'upload_max_filesize', '20M' );
    ini_set( 'max_execution_time', '900' );
    ini_set( 'max_input_time', '900' );
    $startTime = microtime(true);
    require_once('include/entryPoint.php');
    ob_start();
    require_once('include/MVC/SugarApplication.php');
    $app = new SugarApplication();
    $app->startSession();
    $app->execute();
    My patch doen't work, i can't install birthday dashlet...

    Any suggestions? Thanku
    Andy60
    Linuxforce

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Memory limit error

    These function calls probably don't work on shared environments.

    Perhaps the error only happens while installing the dashlet, not while running it. You can try installing it in your own environment and moving that install to your production environment.

    also, try asking your host to set these values for you.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    andy60 is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Rome
    Posts
    59

    Default Re: Memory limit error

    Quote Originally Posted by SugarDev.net View Post
    These function calls probably don't work on shared environments.

    Perhaps the error only happens while installing the dashlet, not while running it. You can try installing it in your own environment and moving that install to your production environment.

    also, try asking your host to set these values for you.
    thanks , i will try in this way.
    Andy60
    Linuxforce

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 2008-04-23, 05:23 AM
  2. PHP Memory Limit
    By fisher318 in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2008-02-21, 02:59 AM
  3. 4.50f to 4.50h memory limit error
    By sunya in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-01-28, 02:06 PM
  4. 4.50e to 4.50f memory limit error
    By toddfas in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2006-11-05, 02:16 PM
  5. PHP Memory Limit
    By fab.io in forum General Discussion
    Replies: 1
    Last Post: 2006-02-17, 03:24 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
  •