Results 1 to 6 of 6

Thread: Using studio to edit the EditView Form in contacts not working

  1. #1
    shrekthemp is offline Sugar Community Member
    Join Date
    Feb 2007
    Posts
    27

    Default Using studio to edit the EditView Form in contacts not working

    Ok here is the deal I have tried everything I can think of to make this work. I am trying to edit the editview detail form in contacts. I can add and adjust the detail view window without any problem in studio. When I select edit view to update in studio it just shows me the detailview again. I cannot get the editview window to display so I can edit and publish it. I am able to see all changes made to the detail view when I go to contacts but no changes go to the editview. I manually changed the editview form in modules/contacts/editview.html and it displays the form correctly with those manual changes but wont obviously save entries I put in. Can someone help or give me manual instructions to update the form to save the fields to the database. Thanks Oh the platform is 4.51d and windows 2003 IIS PHP as CGI on MySql 5

  2. #2
    Nextevolution is offline Member
    Join Date
    May 2007
    Posts
    7

    Default Re: Using studio to edit the EditView Form in contacts not working

    Hi,
    I have the same problem, I can't see editview and searchform in the studio. Never had that before on my Linux system. I saw that for the first time with one of our customer: Win 64bit, IIS 6, PHP 5.2.1
    So if anyone has an idea...
    Thanks,
    Alex

  3. #3
    franklin_sugar is offline Sugar Team Member
    Join Date
    Jun 2006
    Posts
    157

    Default Re: Using studio to edit the EditView Form in contacts not working

    Hi,

    This is Franklin from Sugar's QA team.

    I just added a text field to the EditView in Contacts in the following environments:
    1) Windows XP, Apache 2.2.4, PHP 5.2.1, and MySQL 5.0.37
    2) Windows XP, IIS 5.1, PHP 5.1.6, MySQL 5.0.37
    It works fine in both environments for me.

    What data types did you add to the EditView? Can you give detailed information of your environment?

    Thanks,
    Franklin

  4. #4
    pblag's Avatar
    pblag is offline Sugar Community Member
    Join Date
    Jul 2006
    Location
    Ukraine (Chernivtsy)
    Posts
    347

    Wink Re: Using studio to edit the EditView Form in contacts not working

    Hi All!

    I think that it is not a server problem

    As i know we use there AJAX functionality.

    So i do recommend to change a web browser please use firefox or internet explorer ( BTW few versions of the firefox don't work correctly )

    Hope it will help you!
    Petro Blagodir
    petro@blagodir.ua
    http://www.blagodir.com
    Blagodir Ltd.( SugarCRM - Consultations, Development and Support)

  5. #5
    Nextevolution is offline Member
    Join Date
    May 2007
    Posts
    7

    Default Re: Using studio to edit the EditView Form in contacts not working

    Hi!

    So it's a server problem, concerning the editview and searchform not displaying. But there is a solution!
    You have to install Apache and let Sugar use it instead of IIS, and miracle the problem is solved!
    Another problem we had with IIS and that was solved with Apache is that when exporting contacts for instance, the CRm wasn't able to save the file...

    Cheers,

    Alex

  6. #6
    dswigger is offline Junior Member
    Join Date
    Jun 2007
    Posts
    1

    Wink Re: Using studio to edit the EditView Form in contacts not working

    Fix included at bottom of rant.


    I read this thread with angst. Same exact setup and problem IIS php server 2003 etc....

    Personally I am sick and tired of reading statements such as "Just install Apache" or "You should be running Linux". It is not helpful. Believe it or not (to those of you who make such posts) - there are those of us who run 2003 (IIS) based production boxes as well as linux,bsd and all sorts of other systems. Sometimes its for us and sometimes it is for clients.

    It reminds of me the html/css vs table "Helpful" comments you can find in usenet (useless).

    So maybe anyone not using LAMP should attach this as their sig:

    -I am not able to install linux
    -I am not willing or able to install/run apache
    -I have setup and run m0n0wall/freebsd/centos and used to be a unix system administrator (mad credentials)
    -I am running 2003 IIS and am ashamed to admit it
    -Helpful comments only please
    -/cry


    Anyhow on the serious side - here my fix for the problem.

    I tracked it down to session variables controlling which layout to be edited not being saved properly (probably due to lazy writes or some other configuration option dealing with sessions).

    Open: includes/utils.php

    Edit the sugar_cleanup cleanup function (heres a copy of mine)

    function sugar_cleanup($exit = false) {
    global $sugar_config;

    //Properly terminate our session: when cleanup is called - cleanup
    //added by David Swigger of Zettatronic (www.zettatronic.com) 6/14/2006
    session_write_close();

    //added this check to avoid errors during install.
    if (empty($sugar_config['dbconfig'])) {
    if ($exit) exit; else return;
    }

    if(!empty($GLOBALS['savePreferencesToDB']) && $GLOBALS['savePreferencesToDB']) {
    require_once('modules/UserPreferences/UserPreference.php');
    UserPreference::savePreferencesToDB();
    }
    pre_login_check();
    if(class_exists('PearDatabase')) {
    $db = & PearDatabase::getInstance();
    $db->disconnect();
    if($exit) {
    exit;
    }
    }
    }
    Last edited by dswigger; 2007-06-14 at 09:15 PM. Reason: clarification of problem

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2007-04-17, 08:25 PM
  2. Replies: 1
    Last Post: 2007-02-20, 07:31 AM
  3. Replies: 4
    Last Post: 2007-01-05, 12:04 AM
  4. Replies: 2
    Last Post: 2006-07-30, 01:34 AM
  5. 3.5 Studio - Edit in Place not working
    By malcolmh in forum Help
    Replies: 0
    Last Post: 2005-08-19, 10:07 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
  •