http://www.merkamericaco.com/ is the full address.

http://merkamericaco.com/ results in an odd error.

Once you hit "Buy Now" on any product you get the following:

Headers sent in file: /home/merkamericaco/public_html/index.php on line: 1
Here is the code:

PHP Code:
<?php

/**
 * define path to application files
 */
define'APPS_FILES''../apps_files' );

require 
APPS_FILES '/config/config.php';

require 
APPS_FILES '/init.php';

RPC_Db::addConnection'default'$config['database']['default'] );

RPC_Registry::set'config'$config );

$router = new RPC_Controller_Router_Rewrite();

$http_host explode'.'$_SERVER['HTTP_HOST'] );

if( 
$_SERVER['SERVER_PORT'] != '443' )
{
    if( 
$http_host[0] != 'secure' && substr$_SERVER['SERVER_NAME'], 0) != 'www' )
    {
        
header'Location: http://www.' $_SERVER['SERVER_NAME'] . '' . @$_SERVER['REQUEST_URI'] );
        exit;
    }
}

if( 
$http_host[0] == 'secure' )
{
    if( 
$_SERVER['SERVER_PORT'] != '443' )
    {
        
header'Location: ' WEB_ADDRESS );
        exit;
    }
    
$url $_SERVER['REQUEST_URI'];
    if( 
trim$url'/' ) != 'checkout/payment' &&
        
trim$url'/' ) != 'g/callback' &&
        
trim$url'/' ) != 'checkout/index' &&
        
trim$url'/' ) != 'checkout/data' &&
        
trim$url'/' ) != 'checkout/login' &&
        
trim$url'/' ) != 'checkout/register' &&
        
trim$url'/' ) != 'checkout/finish' )
    {
        
header'Location: ' WEB_ADDRESS '/' trim$url'/' ) );    
        exit;
    }
}
else
{
    if( 
$_SERVER['SERVER_PORT'] == '443' )
    {
        
header'Location: ' WEB_ADDRESS );
        exit;
    }

    
$router->rewrite'^([a-zA-Z0-9\-\_]+)\/c([0-9]+)$''/category/index/params/id/$2' );
    
$router->rewrite'^([a-zA-Z0-9\-\_]+)\/p([0-9]+)$''/product/index/params/id/$2' );
    
$router->rewrite'^([a-zA-Z0-9\-\_]+)\/o([0-9]+)$''/product/offer/params/id/$2' );
    
$router->rewrite'^page\/([a-zA-Z0-9\-]+)$''/page/view/params/url/$1' );
    
$router->rewrite'^admin$''/admin/auth/login'true );
}

$dispatcher = new RPC_Controller_DispatcherPATH_ROOT DS 'application' DS 'controllers' );

$front = new RPC_Controller_Front$dispatcher$router );
try { 
$front->dispatch(); }
catch( 
Exception $e ) { if( strpos$e->getMessage(), 'does not exist' ) !== false ) { header'Location: /page_not_found.html' ); exit; } }

RPC_Db::factory()->disconnect();

?>
Obviously this is a major problem for me and I would greatly appreciate any help. If it helps, the person who touched it last said they changed the

PHP Code:
false ) { header'Location: /page_not_found.html' ); exit; } } 
line but changed it back when they noticed a problem.