Results 1 to 6 of 6

Thread: browser is prompted to open/save index.php after importing contacts

  1. #1
    bkbonner is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    13

    Default browser is prompted to open/save index.php after importing contacts

    I'm sure this is a configuration issue, for the life of me, I can't figure out how to resolve it. The install of sugar went very smoothly, but after I specify the mappings of the fields from my import file to sugar, the browser (Firefox) prompts me to open/save index.php. It's as if the content is not being handled properly by the server.

    Any thoughts would be appreciated. I'm using Sugar-Suite 4.0.0 Stable.

    btw, the ini file currently says:

    max_execution_time = 30
    max_input_time = 60

    the file I'm importing has 1400 records in it and is 228KB in size.

    I have log4php.properties files set to included debug, but the sugarcrm.log file is not appearing. -- never mind, my server didn't have access -- I'll report a log msg shortly.

    Thanks.
    Last edited by bkbonner; 2006-01-16 at 08:18 PM.

  2. #2
    bkbonner is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    13

    Default Re: browser is prompted to open/save index.php after importing contacts

    I tried importing only 2 records and that was successful. I think it has to do with a timeout. I'll try a larger file and reply when I get something.

  3. #3
    bkbonner is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    13

    Default Re: browser is prompted to open/save index.php after importing contacts

    It wasn't a timeout, it was a memory problem. My httpd/error.log had:

    [client 192.168.1.1] PHP Fatal error: Allowed memory size of 12582912 bytes exhaus
    ted (tried to allocate 14592 bytes) in /var/www/html/sugarcrm/modules/Import/var
    defs.php on line 98, referer: http://www.paraware.com/crm/index.php
    Allowed memory size of 12582912 bytes exhausted (tried to allocate 44 bytes)

    I bumped up the memory to 50M.

  4. #4
    bkbonner is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    13

    Default Re: browser is prompted to open/save index.php after importing contacts

    btw, I think it's wierd that it takes 50 MB to import a text file. If I had 1 Million contacts, would it require 1 GB of memory. Seems like a stream would work here.

    Brian

  5. #5
    lamezia5 is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    22

    Default Re: browser is prompted to open/save index.php after importing contacts

    how did you bumped up the memory to 50M.


    thanks

  6. #6
    bkbonner is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    13

    Default Re: browser is prompted to open/save index.php after importing contacts

    Sorry for the delay. I modified:

    memory_limit = 50M

    In /etc/php.ini

Thread Information

Users Browsing this Thread

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

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
  •