Okay
  Public Ticket #356610
if (!defined(‘VC_THEME_DIR’)) define(‘VC_THEME_DIR’, mb_strcut(get_theme_root(), 1));
Closed

Comments

  • David started the conversation

    I just purchased your theme and it not only dd not install it took out my entire website. I keep getting this error - if (!defined(‘VC_THEME_DIR’)) define(‘VC_THEME_DIR’, mb_strcut(get_theme_root(), 1));

  •  8,847
    Tahir replied

    Hey David!

    Here is how another user solved it. Some servers have additional security due to which it needs to be changed. 

    Change the lines //if (!defined(‘VC_THEME_DIR’)) define(‘VC_THEME_DIR’, get_theme_root()); to if (!defined(‘VC_THEME_DIR’)) define(‘VC_THEME_DIR’, mb_strcut(get_theme_root(), 1)); and now there is no error.

    Thanks


    ThemeNectar Support Team