Results 1 to 4 of 4

Thread: Studio Edit Layout Not Working

  1. #1
    amears1 is offline Junior Member
    Join Date
    Oct 2005
    Posts
    3

    Exclamation Studio Edit Layout Not Working

    I am running SugarCRM version 4.5.1e on IIS6. It is a new installation.

    When I go to edit a layout I can save & Publish the layout, both edit, detail, and list view, but the main entry screen does not accept the changes.

    For instance.

    I modified the Edit View and Detailed View for my Cases. If you create a new case, that layout has not changed; however if you edit or view a case the layouts have changed.

    Any Help?

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Studio Edit Layout Not Working

    You are most likely running your IIS PHP in CGI mode. You need to switch to ISAPI mode.

    Here is a website I use to do this.

    http://www.visualwin.com/PHP-ISAPI/
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    amears1 is offline Junior Member
    Join Date
    Oct 2005
    Posts
    3

    Default Re: Studio Edit Layout Not Working

    I tried switching to ISAPI mode, and made sure I had the necessary dll's and security permissions, but whenever I try to acess the site I get 500 Internal Server Errors.

    Any ideas?

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Studio Edit Layout Not Working

    PHP working with IIS uses c:\winnt\php.ini

    It doesn't matter what you set the path to, nor what you set the PHPRC environment variable to. After you get PHP running correctly in the installation folder (using php -i) copy the php.ini file into the c:\winnt folder.

    Here's what worked for me:

    - Add PHP path to System environment variable

    - Add php5activescript.dll from http://snaps.php.net/ to the PHP folder, then Register it: "regsvr32 php5activescript.dll"

    Set extension_dir and doc_root directives in PHP.INI:
    extension_dir = C:\WWW\PHP\ext
    doc_root = C:\WWW\Site
    cgi.force_redirect = 0

    (the last cgi.force_redirect isn't required, but I like to set it anyway)

    Copy the .INI file into WINNT folder

    In IIS Manager, right-click "Default Web Site", Click "Home Directory",
    Click "Configuration", "Add" the ISAPI application:
    Executable: <your php install>\php5isapi.dll
    Extension: .php
    Limit to: GET,HEAD,POST
    Check: "Script Engine"
    Uncheck: "Check that file exists"

    Finally: Set up an ISAPI filter:
    Click the "ISAPI Filters" tab,
    Filter Name: PHP
    Executable: <your php install>\php5isapi.dll

    Notes: You don't have to set any of your folders as "Script source" folders. .PHP files aren't scripts, merely text files that require processing before being shipped off to the browser, which is what the ISAPI filter does.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. edit view in studio not working
    By acox in forum Help
    Replies: 2
    Last Post: 2007-09-24, 06:44 AM
  2. Studio Edit Layout
    By danchua in forum Help
    Replies: 0
    Last Post: 2007-09-20, 08:24 AM
  3. Replies: 5
    Last Post: 2007-06-14, 09:05 PM
  4. Edit View layout is not working
    By ozzy in forum Help
    Replies: 2
    Last Post: 2007-02-27, 02:28 PM
  5. Replies: 4
    Last Post: 2007-01-05, 12:04 AM

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
  •