Results 1 to 7 of 7

Thread: Internal Server Error when updating records

  1. #1
    mentalsolutions is offline Junior Member
    Join Date
    Aug 2009
    Posts
    4

    Default Internal Server Error when updating records

    Hi All

    After a few problems I finally got sugar installed on my windows 2008 server. I can log in to sugar ok but when I try to update a record (e.g. create a new employee) clicking save gives a "500 - Internal Server Error". The strange thing is that it does actually create the employee, so it must be writing to the database, so why do I get this error?

    I've checked all permissions, can't see anything wrong

    This is my first sugar install so I'm new to all this. Any help appreciated

    My setup is:
    Windows 2008 Server (64-bit)
    SugarCE 5.2.0h
    IIS 7.0
    MSSQL 2005
    PHP 5.2.10

    Thanks,
    Mark

  2. #2
    turutosiya's Avatar
    turutosiya is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Tokyo, Japan
    Posts
    147

    Default Re: Internal Server Error when updating records

    hi.

    How about to check the log file "sugarcrm.log"
    as default, it located root directory of sugarcrm.
    Toshiya TSURU <turutosiya@gmail.com>
    http://j.mp/turutosiya
    http://twitter.com/turutosiya

  3. #3
    mentalsolutions is offline Junior Member
    Join Date
    Aug 2009
    Posts
    4

    Default Re: Internal Server Error when updating records

    Thanks, I tried that but the log is empty

    I tried changing the logging level in include\SugarLogger\LoggerManager.php from "fatal" to "debug" but still no output to sugarcrm.log - I guess I need to sort this problem before tackling my original one?

    Thanks,
    Mark

  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: Internal Server Error when updating records

    Hi Mark

    Try to search for the error log of your IIS. Hopefully you will find some error message, regarding this issue, at the tail of such file.

    Cheers
    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
    turutosiya's Avatar
    turutosiya is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Tokyo, Japan
    Posts
    147

    Default Re: Internal Server Error when updating records

    Usually, IIS creates log files in following directory

    Code:
    %SYSTEMROOT%\system32\LogFiles\W3SVC1
    Toshiya TSURU <turutosiya@gmail.com>
    http://j.mp/turutosiya
    http://twitter.com/turutosiya

  6. #6
    mentalsolutions is offline Junior Member
    Join Date
    Aug 2009
    Posts
    4

    Default Re: Internal Server Error when updating records

    Hi Guys

    Thanks for your help. I have looked at the IIS logs (which were actually in inetpub\logs) but there is nothing in there to suggest any errors

    I tried running the Diagnostics Tool in the Admin section and got a whole load of errors which may help, the first few lines are:

    PHP Notice: Undefined index: DynamicField in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 607 PHP Notice: Undefined index: dirname in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 608 PHP Notice: Undefined index: Connectors in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 607 PHP Notice: Undefined index: dirname in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 608 PHP Notice: Undefined index: CustomFields in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 607 PHP Notice: Undefined index: dirname in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 608 PHP Notice: Undefined index: Audit in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 607 PHP Notice: Undefined index: dirname in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 608 PHP Notice: Undefined index: comment in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 627 PHP Notice: Undefined index: comment in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 627 PHP Notice: Undefined index: dbType in C:\inetpub\wwwroot\sugar\modules\Administration\Di agnosticRun.php on line 656 PHP Notice: Undefined index: required in

  7. #7
    mentalsolutions is offline Junior Member
    Join Date
    Aug 2009
    Posts
    4

    Default Re: Internal Server Error when updating records

    After more digging around on the error i am getting I believe it is exactly the same problem as in this thread:

    https://www.sugarcrm.com/forums/showthread.php?t=43612

    I will try the suggested solution of replacing the php.ini file, thanks for your help so far

    Mark

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 500 Internal Server Error - AGAIN
    By jramus in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-11-06, 04:37 PM
  2. 500 Internal Server Error??
    By spaz21 in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2008-04-30, 11:11 AM
  3. 500 Internal Server Error
    By Rosebio in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-04-14, 03:30 PM
  4. Internal Server Error
    By cereates in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-01-06, 11:16 AM
  5. Internal Server Error
    By williamsgl in forum Help
    Replies: 1
    Last Post: 2006-11-05, 06:53 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
  •