It may be due to your webserver configuration.
Try activating debug mode to see if you can come up with some more information.
To activate debug mode, see the FAQ: http://wordpress.org/extend/plugins/zenphotopress/faq/
I made that change to the classes.php file.
Here is what I get when click the ZP button in a new post window:
ZenphotoPress Messages
INFO
PHP Version: 5.2.9
INFO
Current working directory: /home1/rickand1/public_html/theblog/wp-content/plugins/zenphotopress/tinymce
INFO
POST:
INFO
GET: Array ( [tinyMCE] => 1 [ver] => 3241-1141 )
INFO
ZenphotoProxy method: cURL
INFO
ZenphotoProxy call: http://rickandsamantha.com/theblog/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_albums&admin_path=/home1/rickand1/public_html/802photography/zp-core
I think I see the problem, here: your theblog/ directory is password-protected.
ZenphotoPress needs to communicate with a specific php page (zenphoto_bridge.php) to get info from Zenphoto. Given that ZPP doesn't know the password, it can't access the page and thus cannot get any data.
Hi Simbul,
How about setting up zenphoto and wordpress in the same server but on two different sub-domains? ie, my wp is at blog.example.com and my zenphoto is at gallery.example.com?
zenphoto url: http://gallery.example.com
admin path: /var/www/gallery.example.com/htdocs/zp-core
i tried to configure zenphotopress, but it never accept the url and admin path above. By the way, I'm using wp 2.8.2 and zenphotopress 1.5.3.
Thanks.
Hi Simbul,
I'm very much sure that the path is correct and everything is readable since the zenphoto (gallery.example.com) itself is accessible and as you said, theoretically, it should work in this kind of setup. I even tried to change the dir recursively to world readable but still fails. Do you think this is a wp 2.8.2 issue?
Thanks.
No, I don't think it's a WP issue.
What is the error message, exactly? Something like "Wrong Zenphoto admin path..."?
That error message pops out when the admin path is not a directory on the filesystem (it actually uses the PHP is_dir() function), so it's kinda hard to tell why it would have issues with an existing directory.
Could you provide some more info on your server setup? You can drop me a mail if you don't want to post in on a public forum
Hi Simbul,
I'm having trouble getting a album selection. The dropdown box remains emtpy. I activated the debug messages, which seem to be OK. I removed my URL with [path] due to the fact, that I'm just beginning to develop a page.
INFO
PHP Version: 5.2.9
INFO
Current working directory: [path]/html/wp-content/plugins/zenphotopress/tinymce
INFO
POST:
INFO
GET: Array ( [tinyMCE] => 1 [ver] => 3241-1141 )
INFO
ZenphotoProxy method: cURL
INFO
ZenphotoProxy call: [path]/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_albums&admin_path=[path]/html/zenphoto/zp-core
When I enter the Proxy call, I get the following error message:
Warning: require_once([path]/html/zenphoto/zp-core/zp-config.php) [function.require-once]: failed to open stream: No such file or directory in [path]/html/wp-content/plugins/zenphotopress/zenphoto_bridge.php on line 71
[...]
I'm using the recent ZP 1.2.6 RC2 version, which places the zp-config.php in the new folder zp-data. I think the function $zp_admin_path links to the wrong directory.
This is just a guess. Could you give me an hint how to change the function so it is linking to the correct zp-config.php location?
Update
Copying the zp-config.php file into the folder /zp-core works fine for me. Maybe you can adapt your code with the next official ZP release.
Thank you very much for your efforts!
If you change your zenphoto 'admin' area on WP from zp-core to zp-data, it appears to work fine.
This is caused, as acrylian said, by ZenPhoto moving the config file from zp-core into zp-data.
Before
Zenphoto admin path: /var/www/example.com/zenphoto/zp-core
After:
Zenphoto admin path: /var/www/example.com/zenphoto/zp-data
Go to the config page for the plugin ( http://yourdomain.com/wordpress/wp-admin/options-general.php?page=zenphotopress/zp_config.php )
It's the second option on the top of the page
Hi everyone (Simbul especially),
First of all, the plugin is very awesome. I am implementing it right now to make a blog of nothing but pictures. However, because I am making plans on heavily using it to the extent where I have to use one album per blog post, I was wondering if there's any way to apply hierarchy on the album drop down menu. Because I plan to create an album per blog post, I'm a bit concerned that the drop down menu will get overpopulated.
I was thinking of making use of subfolders where each album I make will be placed. Is there anyway to have a menu that will first prompt for a folder, then prompt for a subfolder so that all my albums don't show on the drop-down at the same time?
@komatome: yes, there's a way. Actually, it's already implemented in the Development Version (see http://wordpress.org/extend/plugins/zenphotopress/download/ ).
The multiple-steps menu should be possible, but you'll have to edit the code of the plugin to get it (i.e. you'll have to write the code yourself).
@everyone else: I'll try to release a new version ASAP, to fix compatibility with 1.2.6.
I'm having problems with the plugin. Could someone help?
When I press the ZP button, the screen shows up but I don't get a drop down box. The box is empty. I ran it in debug mode and this is what I get.
ZenphotoPress Messages
INFO
PHP Version: 5.2.9
INFO
Current working directory: /home/phoubarc/public_html/wp/wp-content/plugins/zenphotopress/tinymce
INFO
POST:
INFO
GET: Array ( [tinyMCE] => 1 [ver] => 3241-1141 )
INFO
ZenphotoProxy method: cURL
INFO
ZenphotoProxy call: http://phoubar.com/wp/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_albums&admin_path=
@phoubar
had the same issues at first, it's because zenphoto is storing zp-config.php in zp-data folder instead of the zp-core. Until the code is changed could either copy it over to zp-core, or point it at the zp-data folder. I just copied it back fo the zp-core folder for now, works fine.
Here we are, guys: [b]ZenphotoPress 1.6[/b] is out.
http://wordpress.org/extend/plugins/zenphotopress/
The most interesting changes:
As usual, let me know if everything works for you
Hi Simbul,
works fine for me. Thank's a lot for the update and your great plugin
I deactivated the old version, deleted all zenphotopress files and copied the new ones, activated the plugin and it works without any modifications - just as expected. Btw: I'm running my site with the latest versions of wordpress and zenphoto.
Thank you very much!
stef