Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Form submit and redirect problem

  1. #1
    gamars is offline Member
    Join Date
    Jul 2008
    Posts
    7

    Default Form submit and redirect problem

    Hi all,

    New to SugarCRM (love it so far) I just installed version 5.0.0f on my Unbuntu server (Apache2, php5 and MySQL). My problem is: any form that I submit (create user, create account, ... anything) works fine but takes a good 2 minutes to redirect to a working page. The browser just waits for the page a long long time. Could anyone please point me toward a solution, it is not usable like this...

    Thank you

  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: Form submit and redirect problem

    Hi, gamars.

    Do you have proxy or internet connections issue?
    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
    gamars is offline Member
    Join Date
    Jul 2008
    Posts
    7

    Default Re: Form submit and redirect problem

    Quote Originally Posted by andopes
    Do you have proxy or internet connections issue?
    Nope. The server has its own IP. Running Apache with 3 virtual hosts. All of which work fine. I also tried to deploy the CRM solution to one of these vhost (using a running and valid configuration) but the problem remained. Very strange...

    The client I am using as well (my laptop) has no proxies and a fine connection (sorry forgot to mention).

  4. #4
    eNick is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    UK
    Posts
    282

    Default Re: Form submit and redirect problem

    Can you post...

    Your server spec (memory, disk space, dedicated/shared/virtiual machine?, average cpu useage level etc)
    Your database size
    Your relavent settings in php.ini (ie. max_execution_time and memory)

    Also, is your database dedicated to Sugar or shared with lots of other apps?

    Sugar is pretty damn quick on a properly configured server/database.
    T H E S U G A R R E F I N E R Y
    : : : SugarCrm Customisation and Integration Services : : :

    SugarCRM Systems Integration Partner
    Trusted with SugarCRM
    http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com

  5. #5
    gamars is offline Member
    Join Date
    Jul 2008
    Posts
    7

    Default Re: Form submit and redirect problem

    Server:
    ---------
    The Server is a Dedicated machine solely running 3 sites.

    top - 13:53:51 up 13 days, 1:00, 2 users, load average: 0.06, 0.01, 0.00
    Tasks: 67 total, 1 running, 66 sleeping, 0 stopped, 0 zombie
    Cpu(s): 1.3%us, 0.3%sy, 0.0%ni, 98.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
    Mem: 1018084k total, 938640k used, 79444k free, 29568k buffers
    Swap: 522104k total, 64k used, 522040k free, 617148k cached


    MySQL:
    -----------
    MySQL DB is mostly empty (default install and that's about it). The database is dedicated to SugarCRM and is the only one on this machine


    PHP:
    -------
    max_execution_time = 30
    max_input_time = 60
    memory_limit = 40M

  6. #6
    eNick is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    UK
    Posts
    282

    Default Re: Form submit and redirect problem

    Certainly doesn't look over utilised!

    1 gig isn't a lot though.

    Does the cpu max out when you try to save a record? Or does the MySqld process max out at that point?

    (Clearly you're able to run top so assume you can watch while you do it).

    And are you logging slow queries in MySql, if so check whether you're getting any. You might just need to twiddle your mysql setup to get the tables cached.

    I'm surprised though, that on such a simple setup it is going slow. (I know that's little help! Sorry! I'm just saying it should be flying)
    T H E S U G A R R E F I N E R Y
    : : : SugarCrm Customisation and Integration Services : : :

    SugarCRM Systems Integration Partner
    Trusted with SugarCRM
    http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com

  7. #7
    gamars is offline Member
    Join Date
    Jul 2008
    Posts
    7

    Default Re: Form submit and redirect problem

    I just tried and nope: the submit does not choke MySQL or the machine. The slow-log is empty. The submit appears to be going thru just well (the record is present if I don't wait for the page to reload and open the browser a bit later). Interestingly enough it doesn't happen all the time (I'd say 90% of the time). The form submits, the records inserts the url rewrites and then the page hangs...
    Last edited by gamars; 2008-07-23 at 03:28 PM.

  8. #8
    eNick is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    UK
    Posts
    282

    Default Re: Form submit and redirect problem

    It's working fine for me!

    I logged in, created a lead which saved and redirected within 3 secs or so, and then added a note, which also saved/redirected very quickly.

    Moving from tab to tab is quick.

    I'm not seeing a problem at all?

    Can you try from a different browser or machine?

    (oh, and let me know if you want me to go and clean up the records I created!)
    T H E S U G A R R E F I N E R Y
    : : : SugarCrm Customisation and Integration Services : : :

    SugarCRM Systems Integration Partner
    Trusted with SugarCRM
    http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com

  9. #9
    gamars is offline Member
    Join Date
    Jul 2008
    Posts
    7

    Default Re: Form submit and redirect problem

    No need to clean your records , will do it. Can you try to create an account? With some info, typically name url and notes?

  10. #10
    eNick is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    UK
    Posts
    282

    Default Re: Form submit and redirect problem

    Yup, created an account, a contact, added an opportunity and an activity. Again, it all seems absolutely fine.

    It must be something on your machine not the server?
    T H E S U G A R R E F I N E R Y
    : : : SugarCrm Customisation and Integration Services : : :

    SugarCRM Systems Integration Partner
    Trusted with SugarCRM
    http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Please Help. Something wierd with form
    By sapogov in forum Help
    Replies: 7
    Last Post: 2008-04-16, 12:49 AM
  2. Replies: 0
    Last Post: 2006-09-02, 01:21 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
  •