Support » Plugins » Photopress “pp_album_template(): Failed opening”

  • Hello,

    I have recently started getting this error with photopress:


    Warning: pp_album_template(wp-content/plugins/photopress/album.php): failed to open stream: No such file or directory in /home/quill/public_html/cron/wordpress/wp-content/plugins/photopress.php on line 779


    Warning: pp_album_template(wp-content/plugins/photopress/album.php): failed to open stream: No such file or directory in /home/quill/public_html/cron/wordpress/wp-content/plugins/photopress.php on line 779


    Warning: pp_album_template(): Failed opening 'wp-content/plugins/photopress/album.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/quill/public_html/cron/wordpress/wp-content/plugins/photopress.php on line 779

    Any sugestions? Please help….

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s probably caused by my foolish use of a relative path around line 351 of photopress.php. Try replacing this line:

    include('wp-content/plugins/photopress/album.php');

    with this:

    include(ABSPATH.'wp-content/plugins/photopress/album.php');

    I’ve made that change in the repository, so you can also get the updated photopress.php from there.

    I tried that and it did not work. I think that this is to do with diferentiating between the ‘home’ and the ‘siteurl’ values in photopress-inc.php. I have switched some around and i got it to display the pictures but none of the links worked…..

    Cron

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Photopress “pp_album_template(): Failed opening”’ is closed to new replies.