Results 1 to 2 of 2

Thread: Upgrade 5.1RC to 5.1 vCard error: Error: Module Contact does not exist

  1. #1
    raj.alliacense is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    10

    Unhappy Upgrade 5.1RC to 5.1 vCard error: Error: Module Contact does not exist

    Hi,

    Recently patched our 5.1RC (test environment) to 5.1.

    Now we get this error when clicking on the "vCard" button in the Contacts detail view.
    Error: Module Contact does not exist.

    when I click on vCards (which didn't work in 5.1RC, as I got this bug )

    It seems simple, at some point "Contact' is being passed to the module validation which expects 'Contacts'. My efforts to debug this have run into the fact that 'Contact' is used extensively as an array key in internal varriables. Here is the main piece of the failing URL:

    .../index.php?entryPoint=vCard&contact_id=100506cd-89f6-671e-ed1b-48bce0689719&module=Contact

    If I change the &module=Contact
    to
    &module=Contacts

    then it works fine.

    Anyone know how I can resolve this?

  2. #2
    raj.alliacense is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    10

    Red face Re: Upgrade 5.1RC to 5.1 vCard error: Error: Module Contact does not exist

    To anyone else having a similar problem, here's what I found was the cause of the problem: a customized page was creating a bad vcard html form that submitted the wrong module name "Contact" in /custom/modules/Contacts/metadata/detailviewdefs.php

    Code:
    'preForm' => '<form name="vcard" action="index.php"><input type="hidden" name="entryPoint" value="vCard"><input type="hidden" name="contact_id" value="{$fields.id.value}"><input type="hidden" name="module" value="Contact"></form>',

    Changing this from Contact to Contacts fixed the problem. Still not sure how the error cropped up.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Upgrade Paths to the latest SugarCRM release
    By clint in forum Installation and Upgrade Help
    Replies: 36
    Last Post: 2012-04-30, 11:46 PM
  2. Sugar 5.0 - 5.1 upgrade wizard failed
    By rephlex in forum Help
    Replies: 1
    Last Post: 2008-08-30, 12:55 AM
  3. Upgrade process review - 2.0 to 4.0
    By kimvette in forum General Discussion
    Replies: 2
    Last Post: 2007-05-22, 06:18 PM
  4. Query erro after 4.0 upgrade
    By ldebernardini in forum Help
    Replies: 20
    Last Post: 2006-01-13, 05:10 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
  •