Pages (14):    1 6 7 8 9 10 14   
Member
Member
Simbul   18-07-2009, 09:28

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/

Member
Member
samantha0401   18-07-2009, 21:19

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

Member
Member
Simbul   19-07-2009, 08:31

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.

Member
Member
dinofx   01-08-2009, 23:26

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.

Member
Member
Simbul   02-08-2009, 08:48

Theoretically, everything should work fine. Are you sure of the path? Is everything readable, permission-wise?

Member
Member
dinofx   02-08-2009, 20:06

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.

Member
Member
Simbul   04-08-2009, 10:31

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

Member
Member
stef404   08-08-2009, 11:58

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!

Administrator
Administrator
acrylian   08-08-2009, 12:43

The zp-config.php file will be stored within the zp-data folder from 1.2.6 on.

Member
Member
Ipstenu   11-08-2009, 14:37

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

Member
Member
stef404   11-08-2009, 21:04

Hi Ipstenu,

could you please explain in detail where to change the path?
Currently I'm lost in code ;9

Thanks

Member
Member
Ipstenu   11-08-2009, 23:55

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

Member
Member
stef404   12-08-2009, 05:52

Ah, thanks a lot. I tried to find that phrase within the code. But it is a lot easier to change the value on the plugin options page
Thank you for the explanation.

Junior Member
Junior Member
komatome   17-08-2009, 01:28

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?

Member
Member
Simbul   23-08-2009, 20:04

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

Member
Member
micheall   26-08-2009, 16:44

First, excellent plug-in! It's just what I needed to be able to move away from G2. One suggestion though. Would it be possible to add an option to the admin page so you can link directly to image? Right now the "link to image" option goes to the image page.

Member
Member
phoubar   28-08-2009, 16:54

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=

Member
Member
micheall   29-08-2009, 08:39

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

Member
Member
Simbul   31-08-2009, 07:52

Here we are, guys: [b]ZenphotoPress 1.6[/b] is out.

http://wordpress.org/extend/plugins/zenphotopress/

The most interesting changes:

  • Support for Zenphoto 1.2.6 (just re-run the ZenphotoPress configuration)
  • Support for WP 2.8 widgets, which means multiple widgets are now a possibility
  • Important security fixes: images from protected/unpublished albums will be kept private
  • Support for subalbums: the albums list now shows nesting relationships
    Plus, a couple of bugfixes.

As usual, let me know if everything works for you

Member
Member
stef404   31-08-2009, 18:15

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

Pages (14):    1 6 7 8 9 10 14   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.