Example #1
0
<rn:meta title="#rn:msg:ERROR_LBL#" template="standard.php" login_required="false" />

<?php 
list($errorTitle, $errorMessage) = \RightNow\Utils\Framework::getErrorMessageFromCode(\RightNow\Utils\Url::getParameter('error_id'));
?>
<div id="rn_PageTitle" class="rn_ErrorPage">
    <h1><?php 
echo $errorTitle;
?>
</h1>
</div>
<div id="rn_PageContent" class="rn_ErrorPage">
    <div class="rn_Padding">
        <p><?php 
echo $errorMessage;
?>
</p>
    </div>
</div>
Example #2
0
        list($errorTitle, $errorMessage) = array("Permission Denied", "An illegal value was received for the parameter 'sr_id'");
        break;
    case 11:
        // EBS server error
        list($errorTitle, $errorMessage) = array("EBS Server Error", "There has been an error communicating with EBS");
        break;
    case 12:
        // contact_party_id and/or contact_org_id not provided
        list($errorTitle, $errorMessage) = array("Permission Denied", "Please set EBS Contact Party ID and/or EBS Contact Org ID first.");
        break;
    case 13:
        // configuration error
        list($errorTitle, $errorMessage) = array("Configuration Error", 'Invalid configuration setting for CUSTOM_CFG_Accel_' . 'Ext_Integrations');
        break;
    default:
        list($errorTitle, $errorMessage) = \RightNow\Utils\Framework::getErrorMessageFromCode($errorID);
        break;
}
?>
<div class="rn_Hero">
    <div class="rn_Container">
        <h1><?php 
echo $errorTitle;
?>
</h1>
    </div>
</div>
<div class="rn_PageContent rn_ErrorPage rn_Container">
    <p><?php 
echo $errorMessage;
?>