• Resolved nikdow

    (@nikdow)


    Hi, thanks for your support in the past.

    [25-Jan-2020 19:51:36 UTC] PHP Warning: fopen(/home/lamp/wordpress/plugins/wp-photo-album-plus/dynamic/wppa-init.en.js): failed to open stream: Permission denied in /h
    ome/lamp/wordpress/plugins/wp-photo-album-plus/wppa-wrappers.php on line 212

    The reason is that we don’t allow apache any write access to plugins (nor themes, nor core). Mainly for discouraging hackers. We update plugins using SVN in root cron. I guess there is no fix for this, but do you have any suggestions?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Pls verify the page source now contains:

    <script type="text/javascript" >
    /* Warning: file wppa-init.en.js could not be created */
    /* The content is therefor output here */
    .
    .
    .
    .
    </script>
    

    If so, everything should work ok, but is not optimal.

    Make /plugins/wp-photo-album-plus/dynamic/ accessable (chmod and/or .htaccess)

    I will change the location of dynamic/ to ../uploads/wppa/dynamic in the next version.

    Thread Starter nikdow

    (@nikdow)

    Thanks very much for the proposed change to the dynamic directory location.

    Yes I can see that in the source code now – I’m running 7.3.04.004
    and the gallery displays properly.

    I still see the error in PHP log, but that will be fixed when the temp directory moves.

    Thanks again!

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    BTW. Make sure you do NOT untick Table IV-A14: Inline styles, until you have the fix installed. Doing so would also attempt to create a file in the dynamic folder, and there is no workaround for that, so it would damage your lay-out.
    Once you have the fix version, you may untick it, although not recommended.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Fixed 7.3.05.010

    Thread Starter nikdow

    (@nikdow)

    Support for this plugin is phenominal. I’m running 7.3.05.010 now. SVN update straight from WP repository.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘attempt to write JS file fails (permissions)’ is closed to new replies.