Results 1 to 6 of 6

Thread: Accounts Module - EditView Shows wrong company

  1. #1
    quincarroll is offline Member
    Join Date
    Apr 2010
    Posts
    14

    Default Accounts Module - EditView Shows wrong company

    Hi All

    I'm new here, and would appreciate any help I can get...

    I have just inherited the admin/developer role of a Sugar Community 5.2 system, and am having the following issue:

    When our users select to edit a company, the company edit detail form comes up with the incorrect company name, address and contact info. All other info is correct.

    In the image below, The Company name at the top of the image next to "Companies" is correct, but below that in the "Company Information" block, the info is not the selected company's info.

    No matter what company is selected, the Company Information is always the same incorrect company detail. It never changes even though the selected company is different each time.

    » Operating system type and version - Windows Server 2003 sp2
    » Sugar version and edition - 5.2 Community Edition
    » Webserver type and version - IIS 6
    » PHP version - 5.2.11
    » MySQL server version - 4.1.22

    Name:  IncorrectInfo.JPG
Views: 83
Size:  77.8 KB

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

    Default Re: Accounts Module - EditView Shows wrong company

    if you installed sugar via Microsoft Web Platform installer, php_wincache was automatically configured. and it sometimes triggers wrong behaviour.

    to prevent php cache, commet out the line : extension=php_wincache.dll in php.ini
    Toshiya TSURU <turutosiya@gmail.com>
    http://j.mp/turutosiya
    http://twitter.com/turutosiya

  3. #3
    quincarroll is offline Member
    Join Date
    Apr 2010
    Posts
    14

    Default Re: Accounts Module - EditView Shows wrong company

    Quote Originally Posted by turutosiya View Post
    if you installed sugar via Microsoft Web Platform installer, php_wincache was automatically configured. and it sometimes triggers wrong behaviour.

    to prevent php cache, commet out the line : extension=php_wincache.dll in php.ini
    Thank you for that, but my php.ini doesn't have any mention of "extension=php_wincache.dll" in it.

    Any other suggestions?

  4. #4
    quincarroll is offline Member
    Join Date
    Apr 2010
    Posts
    14

    Default Re: Accounts Module - EditView Shows wrong company

    Ok...

    So does anyone know how to fix this problem?

    Is there a query somewhere that I can look at and check to see if it is returning the correct info? Well I can only guess that it isn't returning the correct data, or I wouldn't have this problem.

    Please help someone

  5. #5
    quincarroll is offline Member
    Join Date
    Apr 2010
    Posts
    14

    Default Re: Accounts Module - EditView Shows wrong company

    Not a single person out there who has a similar problem and solution?

    Any advice would be very appreciated.

  6. #6
    quincarroll is offline Member
    Join Date
    Apr 2010
    Posts
    14

    Default Re: Accounts Module - EditView Shows wrong company

    I have been doing some testing, and have found that EditView.tpl in "cache\modules\Accounts" is not being written to by the system when I click edit.

    I manually edited the file to change the company name, and after saving it and clicking edit on the accounts module, the manual changes I made were reflected. So the selected company detail is still not reflected on the Edit page.

    We have 3 environments that we run...

    1. Development Server
    2. QA/Test Server
    3. Live/Production Server

    I played with the permissions on our Dev server the on Friday 7 May, changing the permissions of the IUSR account to full control of the folder that SugarCRM is installed in. There was no difference just after making the changes, but this morning (Monday) the "edit" page is showing the correct company details, and so is working as expected.

    I can only assume that the permissions change I made, made a difference, but I have no idea how or why. At least I have somewhere to start looking for a solution.

    I just made the same change on the QA server, but there is no change in the edit page. I also stopped and re-started all of the iis related services, and no difference.

    Could it be that the change may only be affected after a server re-start?
    Is there anything else that could stop the cache files updating to reflect the new page?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Clicking next in accounts shows SQL error
    By scrotyballbags in forum Help
    Replies: 2
    Last Post: 2009-03-18, 05:50 AM
  2. Custom EditView for Accounts module
    By dinudanial in forum Developer Help
    Replies: 6
    Last Post: 2009-03-12, 08:32 AM
  3. addin' a company id in accounts and contacts
    By maus in forum Developer Help
    Replies: 6
    Last Post: 2008-09-18, 03:25 AM
  4. Users - Bug: Searching shows wrong results
    By malcolmh in forum Help
    Replies: 0
    Last Post: 2006-09-11, 09:41 AM
  5. Replies: 2
    Last Post: 2005-09-27, 09:40 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
  •