• I have a problem with Photopress when I use my root as the blog home page instaed of the default directory /wordpress.

    I’ve installed wordpress in the directory mydomain.com/wordpress and made root mydomain.com to be my blog home page. I followed the instruction here http://wordpress.org/docs/installation/different-address/ and my blog works fine.

    I installed Photopress 0.71 and I had to change the lines in photopress-inc.php to make it work.


    $pp_photosaddress = $pp_blogurl . '/wordpress/wp-content/' . $pp_photofolder; //add /wordpress
    $pp_photospath = $home_path . 'wordpress/wp-content/' . $pp_photofolder; //add wordpress

    However, when I open the image browser in admin, and use the button “Add thumbnail”, it creats a post with the thumbnail as the link to the larger picture. When I click the link, errors occur.


    Warning: main(./wordpress/wp-blog-header.php): failed to open stream: No such file or directory in /mydomain.com/wordpress/index.php on line 4
    Warning: main(./wordpress/wp-blog-header.php): failed to open stream: No such file or directory in /mydomain.com/wordpress/index.php on line 4
    Fatal error: main(): Failed opening required './wordpress/wp-blog-header.php' (include_path='.:/usr/local/psa/apache/lib/php') in /mydomain.com/wordpress/index.php on line 4

    Does anyone have the same problem?

    I am thinking if it helps to modify the line here in photopress-inc.php:

    $pp_albumaddress = $pp_siteurl . '/' . $pp_albumname;

    Can anyone please help?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Photopress fails with domain root as main page’ is closed to new replies.