• Warning: copy(/home/hcwg/public_html/wp-content/themes/weaver-xtreme/file-away-iframe-template.php): failed to open stream: Permission denied in /home/hcwg/public_html/wp-content/plugins/file-away/lib/cls/class.fileaway_admin.php on line 81

    Weaver, theme author, says it’s not Weaver Xtreme Theme file, but may be something File-Away is writing to the theme folder.

    This problem does not appear in my PHP 5.2.17 site, https://hcwg.org, but
    Does appear in my clone on PHP 5.6.19 site, http://Escher.hcwg.org.

    Let me know how I can help further.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter edtorrey

    (@edtorrey)

    Plugin Author thomstark

    (@thomstark)

    It’s probably just a permissions issue. You can just copy the template file to the theme directory manually for a quick fix.

    Thread Starter edtorrey

    (@edtorrey)

    Thanks for the quick reply Thom. The recommendation seemed to work. Weaver did not seem enamored with the idea of placing a third party plug-in file component in the Theme directory. I can see the logic given that the Theme folder is subject to random maintenance that could affect the File-Away plug-in behavior and then be made difficult to trouble shoot.

    Will you be working on a more durable approach? Do you have other thoughts on the idea?

    Plugin Author thomstark

    (@thomstark)

    Does Weaver not realize that the theme directory is where you are supposed to put custom template files?

    This is standard practice. File Away has thousands of active users. The template file has never interefered with a theme yet.

    • This reply was modified 9 years, 5 months ago by thomstark.
    Thread Starter edtorrey

    (@edtorrey)

    Mr Stark,

    An update to Weaver Extreme resulted in the error returning. The path created by variables in your script code places the Fileaway template inside Xtreme theme’s directories poising the exact risk I mentioned.

    We agree that the themes folder path is where such templates should be located. Is it possible to change your path syntax so that on installation you create a theme folder for fileaway and deposit said theme template?

    Plugin Author thomstark

    (@thomstark)

    Template files need to be in the ACTIVE theme directory in order to work. That’s why File Away puts its template file in the directory of the ACTIVE theme. It is standard practice wuth WordPress. What is not standard practice is write-protecting a theme directory, which is what your theme seems to be doing. This is not an issue that has come up with thousands of users or any of the hundreds of themes I have personally tested. The variable is your theme, not File Away.

    • This reply was modified 9 years, 4 months ago by thomstark.
    • This reply was modified 9 years, 4 months ago by thomstark.
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Theme file-away-iframe-template.php failed to open stream’ is closed to new replies.