Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Failed to open stream; Wordpress & VanillaForums

I tried to set up a Wordpress blog with a VanillaForums. I installed both and I'm using the plugin from VanillaForums to integrate it into wordpress. But when I click on re-validate, the following error occurs:

Warning: copy(/www/htdocs/........./........./wordpress/wp-content/themes/twentythirteen/embed_template.php): failed to open stream: Permission denied in /www/htdocs/........./........./wordpress/wp-content/plugins/vanilla-forums/embed.php on line 74

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/........./........./wordpress/wp-content/plugins/vanilla-forums/embed.php:74) in /www/htdocs/........./........./wordpress/wp-includes/pluggable.php on line 896

Any idea what to do about that?

Comments

  • Please tell us how you installed Vanilla and Wordpress.

    They need to be in separate directories to start with. What version of Vanilla ?

  • I created a directory and put all the files from wordpress into it. I installed it and it works. For Vanilla I created into the wordpress folder another folder called forum. I put Vanilla in there and installed it. I use the last version of vanilla.

  • peregrineperegrine MVP
    edited February 2014

    Warning: copy(/www/htdocs/........./........./wordpress/wp-content/themes/twentythirteen/embed_template.php): failed to open stream: Permission denied in /www/htdocs/........./........./wordpress/wp-content/plugins/vanilla-forums/embed.php on line 74

    // Copy the vanilla template to the current theme

    $template_to_use = 'embed_template.php';
        try {
          $filepath = __DIR__.'/templates/'.$template_to_use;
          if (file_exists($filepath))                                                                                                        
             copy($filepath, get_template_directory().'/'.$template_to_use);
    

    looks like your template folder does not have correct permissions to allow copying the template to your theme.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Looks like they installed Vanilla inside of Wordpress...

    I suggest you install Vanilla in it's own folder subdirectory and call it forum or whatever.

    Vanilla and WordPress are two separate applications. You can't install one inside of the other. They both have indexes and they both use htaccess . You are asking for trouble...

Sign In or Register to comment.