DEV MODE

SkaDate software stores cached version of various files in ow_static directory for efficient content delivery to an end user.  In case of major changes within origial non-cached source code, those changes must be loaded into ow_static directory. DEV mode (Developer mode) is tool that re-loads site wide cache.

IMPORTANT: Mode is only suitable in development or debugging environment. In production environment, DEV mode must be disabled to avoid negative impact on site's performance


To re-load cache:

  1. Open ow_includes/config.php using FTP client, cPanel or any other file management tool available on  your server
  2. Find “Make changes in this block if you want to enable DEV mode and DEBUG mode" section at the end of the file:

    Make changes in this block if you want to enable DEV mode and DEBUG mode
    define('OW_DEBUG_MODE', false);
    define('OW_DEV_MODE', false);
    define('OW_PROFILER_ENABLE', false);

  3. Replace “false” next to OW_DEV_MODE by desired configuration. Ex: define('OW_DEV_MODE', 36);
  4. Save changes
  5. Re-load cache by refreshing any site page ONE time. Cache re-loading might take a while. Refresh the page only one time when DEV mode is enabled. The more page/s you reload when DEV mode is enabled, the more you load your server. This might take your server down or decrease website performance.
  6. Go back to ow_includes/config.php file. Set DEV mode back to “false”: define('OW_DEV_MODE', false);
  7. Save changes.

Custom configurations for DEV mode:

  • define(‘OW_DEV_MODE’, 2) - clears Smarty template cache
  • define(‘OW_DEV_MODE’, 4) - re-generates themes' cache
  • define(‘OW_DEV_MODE’, 8) - re-generates language cache
  • define(‘OW_DEV_MODE’, 32)- re-generates plugins' cache
  • define(‘OW_DEV_MODE’, 36)- re-generates plugins'+ themes' cache
  • define(‘OW_DEBUG_MODE’, true)- performs all actions from above.


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Video Instant Messenger: basic private TURN server setup

This guide desribes setup of a basic TURN server. Guide is based on assumption that you have...