![]() |
|
ZenphotoPress: Zenphoto plugin for WordPress - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: ZenphotoPress: Zenphoto plugin for WordPress (/thread-1802.html) |
ZenphotoPress: Zenphoto plugin for WordPress - LeSpocky - 2009-08-31 I was happy to see the update announced and installed right away because the plugin stopped working after update to Zenphoto 1.2.6. Now I have installed version 1.6 of the plugin, WordPress 2.8.4 and Zenphoto 1.2.6 and it still doesn't work. :-( I already updated the plugin settings, but I still get an empty dropdown menu with no listed albums and the widget doesn't work either. Debug mode does show the messages already stated here but does not really help. My WP plugins folder is not password protected. I double checked the path to the zp-data folder and it is the right one. Please give me a hint what information I should provide to track down this error. ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-08-31 What do you mean with "the messages already stated here"? It may be helpful to know exactly what the messages are in your case. ZenphotoPress: Zenphoto plugin for WordPress - LeSpocky - 2009-08-31 Ok, here we go: ` ZenphotoPress Messages INFO PHP Version: 5.2.0-8+etch15 INFO Current working directory: /var/www/www.lespocky.de/blog/_wordpress_XXXX/wp-content/plugins/zenphotopress/tinymce INFO POST: INFO GET: Array ( [tinyMCE] => 0 ) INFO ZenphotoProxy method: cURL INFO ZenphotoProxy call: http://www.lespocky.de/blog/_wordpress_XXXX/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_nested_albums&data_path=/var/www/www.lespocky.de/fotos/zp-data ` The address of the blog is www.lespocky.de/blog and the address of the fotos is www.lespocky.de/fotos. As you can see above both applications are installed in different subfolders but on the same domain. As you can see WordPress is installed in a subfolder as suggested here. (I changed the real foldernames above to [i]XXXX[/i].) ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-08-31 Ok, next step: what do you get if you try to go on the URL (the one marked ZenphotoProxy call) with a browser? ZenphotoPress: Zenphoto plugin for WordPress - LeSpocky - 2009-08-31 I get: Quote:[b]Fatal error:[/b] Call to undefined function mysql_set_charset() in [b]/var/www/www.lespocky.de/blog/_wordpress_XXXX/wp-content/plugins/zenphotopress/zenphoto_bridge.php[/b] on line [b]436[/b] ZenphotoPress: Zenphoto plugin for WordPress - phoubar - 2009-08-31 Thanks for the help micheall and thanks for the update Simbul. Can someone help me with another issue? I'm trying to use lightbox with zenphotopress. When I click on the picture for zp it gives me this code. a href="http://www.phoubar.com/zp/random/RockClimbing38.jpg"> ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-09-01 @LeSpocky: nice debugging. It should be fixed in the development version, give it a run. @phoubar: You could add your rel to tinymce/js/functions.js:102. Keep in mind that it won't work with the widget or the shortcode, however. ZenphotoPress: Zenphoto plugin for WordPress - LeSpocky - 2009-09-01 Quote:@LeSpocky: nice debugging. It should be fixed in the development version, give it a run. Thank you very much for the quick bugfix. :-) ZenphotoPress: Zenphoto plugin for WordPress - zetetic - 2009-10-14 Hey Simbul, As others have said, thank you for the plugin! I have encountered a small error though: the default link to image option enters a URL to the image page, not the image itself. Meaning, it will put the following link: going to the first URL results in .php being added to the end and the image page loading. it looks like zenphotopress is trying to put 'albums' between .com and nature, but then it doesn't? after inserting the thumbnails, I change the link to include 'albums' and everything works fine. Without doing this, I get the a lightbox square with a spinning icon - probably because it loaded the image page instead of the image itself. I'm using the latest ZP, ZPP and WP - just upgraded them all last night. If you can give me a hand (is it a ZP setting?) I'd appreciate it. Not that it's a huge issue - like I said, changing the link to work isn't difficult, it's just an extra step. Thanks! ZenphotoPress: Zenphoto plugin for WordPress - micheall - 2009-10-14 Looks like things are working fine zetetic, I assume you have the lightbox 2 plugin for wordpress running? Cause what you assumed is correct. Lightbox is just trying to load the image.php page. You could set it for a custom link via the zenphotopress. In the long run I ended up just skinning my zen & wordpress to a similar theme and turned off lightbox. ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-10-14 Actually, it's meant to be a link to the page (not the image itself): it is a plugin to integrate with Zenphoto, after all Anyway, support for Lightbox and the likes has been in my todo list for a reeeeally long time. I hope to bring it to the "completed features" soon ZenphotoPress: Zenphoto plugin for WordPress - zetetic - 2009-10-14 micheall: yep, i'm using lightbox 2 for wordpress. Simbul: that makes sense then. thanks for the enlightenment! let us know when that feature makes it's way into the plugin. thanks for writing this! and thanks to both of you for responding ZenphotoPress: Zenphoto plugin for WordPress - charlesb - 2009-11-01 I've been trying to get this plugin working on my local Windows box and running into problems. WP 2.8.4, ZP 1.2.6, ZPP 1.6. First problem was that no albums were appearing in the dropdown. I found that the ZenphotoPressAlbum.to_hash method in zenphoto_bridge.php was referencing $this->parentid when I think it should have been using $this->p_id? Anyway, changing this made the error go away. Next problem I haven't been able to resolve. Its occurring during retrieval of images. The URL is: And the error that gets returned is: Line numbers may not match up with the released version cause I've been messing with the file a bit, but it's the line in album_protected_recursive that reads: ZenphotoPress: Zenphoto plugin for WordPress - charlesb - 2009-11-02 FYI I'm also using PHP 5.3.0 ZenphotoPress: Zenphoto plugin for WordPress - micheall - 2009-11-02 Not sure myself.. it worked just fine on my install... though if you've changed the first parentid to p_id, you'd have to change the second though as the error you're getting is saying that parentid isn't defined. The bigger question you should be looking at is why you had to change the parentid to p_id. Did you make other coding changes requiring it? ZenphotoPress: Zenphoto plugin for WordPress - charlesb - 2009-11-02 Nope didn't make any other coding changes requiring it. FYI here's the unmodified code straight from the ZPP zip I downloaded: `
} I can't understand why nobody else is getting this problem though. Maybe I'm using a bogus download. ZenphotoPress: Zenphoto plugin for WordPress - charlesb - 2009-11-02 Hmm, just downloaded ZPP again from the wordpress plugin site - the code I posted above is definitely what's on there. I'm not a PHP coder, so I can't really say for certain, but that code sure looks suspicious to me. Is there a dev version I can download from somewhere? Update: This problem (using parentid instead of p_id) is fixed in the development version. Maybe nobody else is seeing it because they're not using nested albums? Anyway FWIW version 1.6 appears to be broken for certain use cases (nested albums?). I'm still left with the problem retrieving images however, as I described above. Maybe I'll try without nested albums and see if that's any better. Update2: Still no good without nested albums. ZenphotoPress: Zenphoto plugin for WordPress - charlesb - 2009-11-02 Sorry for the forum spam. I found the problem - there's a bug(?) in the ZPP code in album_protected_recursive (zenphoto_bridge.php). The code reads like this at present: ` $query = $zp_db->queryArray($sql); ZenphotoPress: Zenphoto plugin for WordPress - micheall - 2009-11-02 good to see you've worked through it, I'm sure simbul will take some notes on this eventually, he's pretty good about it. ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-11-02 I had a cursory glance at the code and it seems you are right. It appears that, when I tested the latest version, I was actually never executing the else clause. Thanks for finding the bug. |