For various security reasons, I wanted to put my wp-config.php file in root (instead of public_html). WordPress likes this just fine. ZenPhotoPress barfs :)
Can you tweak your code to look in the main WP install and also one folder up, just like the regular WP code?
http://wordpress.org/extend/plugins/zenphotopress/
Actually, it's supposed to do that already. How many folders do you have between wp-config and the ZenphotoPress classes.php file?
Also, I'm not sure I understand what you mean by root. Can you tell me something more on your folder structure?
Root is /home/ipstenu/
My public_html folder is a folder in my user root directory :) So mine looked like this:
/home/ipstenu/wp-config.php
/home/ipstenu/public_html/wp-content/plugins/zenphotopress/
/home/ipstenu/public_html/zenphoto/
So ... Three?
FWIW - It worked before with this setup:
/home/ipstenu/public_html/blog/wp-config.php
/home/ipstenu/public_html/blog/wp-content/plugins/zenphotopress/
/home/ipstenu/public_html/zenphoto/
You were right: moving wp-config.php up one folder was making ZPP stop working.
I released a bugfix in version 1.7.2 which should resolve your issue and hopefully make the loading process more robust.
Thanks for the report.