WordPress.org

Ready to get started?Download WordPress

Forums

Photopress "pp_album_template(): Failed opening" (3 posts)

  1. cron
    Member
    Posted 9 years ago #

    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....

  2. isaacwedin
    Member
    Posted 9 years ago #

    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.

  3. cron
    Member
    Posted 9 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic