Hi,

I'm getting an odd error when merging accounts.

It used to work, but now fails after moving out live installation onto a backup server.

On hitting merge (after setting fields etc), it goes to the index page but only partially draws the screen (tabs and 'last viewed' links). If PHP errors to screen is on, I get the error:


Fatal error: Cannot redeclare get_new_record_form() (previously declared in /var/www/sugarcrm/modules/MergeRecords/Forms.php:57) in /var/www/sugarcrm/include/EditView/SideQuickCreate.php on line 42


Now, I've checked that the php and apache configs are identical on the new server - as are apache and php versions. We use a separate mysql server so that hasn't changed. I've rebuilt relationships, cleared cache etc,

What's equally odd is that I transferred a backup onto another server to test, but it's working on that one. This makes it hard to debug as I will have to debug on the live server - and it's a 24/7 operation.

Any thoughts on what's going on?

Sugar Pro 5.1.0c
Apache 2.0
PHP 5.1.2
MySQL 5.0.22

Thanks

More info:

I captured the 'POST' generated from the merge and it looks similar to the POST on the working test server:

Code:
POST /sugarcrm/index.php module=MergeRecords
record=3861930c-7a16-6b42-2ab9-44869efa33d1
merge_module=Accounts
action=SaveMerge
return_module=Accounts
return_id=
return_action=index
change_parent=0
change_parent_id=
remove=0
remove_id=
merged_ids%5B%5D=7abf4ccb-97ed-fb4e-bf6a-4a2f9d1468d0
button=++Save+Merge++
name=Test+account+-+Internal
date_entered=07%2F06%2F2006+10%3A39
date_modified=14%2F09%2F2010+14%3A22
account_type=On+Trial
billing_address_street=80+Brick+Lane
shipping_address_street=80+Brick+Lane
inte2_product_group_accounts_name=
inte2_produduct_group_ida=
mm_accounts_territory_field_c=Asia
description=21095+
assigned_user_link=STEVEC
assigned_user_id=c8b5f399-d448-843a-c586-43c7e29c69db
team_name=Global
team_id=
&industry=Hedge+Fund+%28Long+Short%29
annual_revenue=%2412000.00
phone_fax=0207
billing_address_city=London
billing_address_state=
billing_address_postalcode=00069
billing_address_country=USA
rating=
phone_office=020+7059+6212
phone_alternate=
website=
ownership=
employees=
ticker_symbol=
shipping_address_city=London
shipping_address_state=
shipping_address_postalcode=00069
shipping_address_country=USA
sic_code=
parent_name=
parent_id=