Skip to main content
Skip table of contents

Applying Patch

Applying Patch/Unpatch

Copy the patch to the location $FioranoHome$/APIManagement/DeveloperPortalDrupal/patch.

  1. Before applying any patch/unpatch, give the location of the Drupal Portal folder without a trailing line separator in the 'build.properties' file located at $FioranoHome$/APIManagement/DeveloperPortalDrupal/patch folder.

    Example:

    CODE
    /opt/lampstack-7.1.32-0/apache2/htdocs/FioranoDeveloperPortal
  2. After providing the Drupal path, apply patch or unpatch using the following commands:

    CODE
    ant patch
    CODE
    ant unpatch

    Since the path to the Drupal portal folder is provided in the build.properties file, make sure the paths in patch.properties is relative to the drupal portal folder.

    Sample patch.properties file:

    CODE
    jars=
    directories=captcha
    files=fiorano_core.module
    captcha=sites/all/modules/captcha
    fiorano_core.module=sites/all/modules/fiorano_core/fiorano_core.module
    

    Patching/Unpatching can be applied to an existing Live site also by following the above-mentioned steps. 

  • Sometimes changes to the database are required for the desired outcome of the patch. To make changes to the database configuration, open the URL in the browser in the following format:

    CODE
    <Drupal Portal URL>/update.php
  • Any database configuration changes that are required will be mentioned in the readme.txt file of the patch.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.