Okay
  Public Ticket #172848
Fatal error line 327
Closed

Comments

  • Mauricio started the conversation

    Hi!

    I just purchased this Theme, but I get the following error when I try to install it:


    Warning: require_once(D:\Hosting\9899073\html\wp\wp-admin) [function.require-once]: failed to open stream: Permission denied in D:\Hosting\9899073\html\wp\wp-content\themes\salient\functions.php on line 327

    Fatal error: require_once() [function.require]: Failed opening required '' (include_path='.;C:\php\pear') in D:\Hosting\9899073\html\wp\wp-content\themes\salient\functions.php on line 327


    I use goddady.com


    Thank You 

    -Mauricio

  •  8,939
    Tahir replied

    Hey Mauricio!

    Try opening your js_composer.php file located in wpbakery / js_composer and changing this line:

    if (!defined('VC_THEME_DIR')) define('VC_THEME_DIR', get_theme_root());

    to this:

    if (!defined('VC_THEME_DIR')) define('VC_THEME_DIR', mb_strcut(get_theme_root(), 1));

    Cheers


    ThemeNectar Support Team 

  • Mauricio replied

    Thank You! 

    Well I fix it by reinstalling wordpress and re-uploading only the Theme manually to the folder on my website using filezilla, but I really appreciate the help Tahir, and if I run with the issue again I will try your method.

    Best Regards from Prague.

    -Mauricio