« Programming Projects | Main | Notes and Special Thanks »

July 01, 2005

Version and Comments

Current Version:
0.95 - July 2, 2005 - Changed function names not to conflict with WP_Picasa_Gallery plugin (you can now run both, side by side).
0.91 - July 2, 2005 - Fixed issues with multiple galleries on a single page.
0.9 - July 1, 2005 - First Public Release

Comments:
For feedback, comments and questions, please use the comments link on this post.

Posted by Dieter at July 1, 2005 09:05 AM

Comments

When I tried to activate the plugin, I got:

Fatal error: Cannot redeclare startelement() (previously declared in /home/jimw3141/public_html/wordpress/wp-content/plugins/WP-Picasa-Viewer.php:37) in /home/jimw3141/public_html/wordpress/wp-content/plugins/wp-picasa-gallery1.php on line 27

I should mention that I modified the php to look in a different directory than Ben had put it. I'm sure this is the problem.

Thanks for any help you can provide.

Posted by: Jim Wurster at July 1, 2005 07:19 PM

Hey,

Well based on that error you have another plugin which happens to use the same function name. You will have to disable (Deactivate) the "wp-picasa-gallery1.php" plugin before trying to activate the WP-Picasa-Viewer one.

It doesnt have anything to do with the directory locations, it is caused by 2 plugins using the same function names.

Posted by: Dieter at July 1, 2005 07:25 PM

Well, it was all going so well... then I found that my website does not offer PHP5. Is there any other functions that I could substitute for the simple_xml_file function ???

Posted by: Doug at July 11, 2005 11:53 PM

Hmm, unfortunately it isnt that easy. I'm thinking about rewriting it to work with PHP4, but it is a bit more effort to do it with that. I'll look into it when I have some time, but for now you are out of luck unfortunately.

Posted by: Dieter at July 11, 2005 11:58 PM

Any idea why I'm getting this error when I'm click on the image?

PHP Fatal error: Call to undefined function: simplexml_load_file() in e:\domains\****\wwwroot\wp-content\plugins\view.php on line 68

Posted by: BitMite at July 19, 2005 02:45 PM

Yup, you need to have PHP5 to use that function. I'd recommend you check with your host how to run your php scripts as php5 (usually done with a htaccess file)

Posted by: Dieter at July 19, 2005 02:48 PM

I installed this and it worked...thank you! I've been going nuts trying to add gallery pages to this site. And thanks to this, I can actually redo my phoblog as well. One question, is this dependant on Beau's plugin, or is it independant?

Posted by: LuAnn at August 10, 2005 03:43 PM

oops...spoke too soon, same error as above when I click on a thumbnail:o(

Posted by: LuAnn at August 10, 2005 03:46 PM

Which error is that? Are you running PHP 5? If so, then you should get the simpleXML erorr. Let me know if it is a different problem and I'll do my best to fix it.

Posted by: Dieter at August 10, 2005 04:01 PM

the thumbnails show up fine, but when I click on one I get

Fatal error: Call to undefined function: simplexml_load_file() in /home/lilarmy/public_html/twosparrows/wp-content/plugins/view.php on line 68

My host runs php 4.3.11

Posted by: LuAnn at August 10, 2005 04:33 PM

ahhhhh can you delete that after you read it, i forgot to edit out the info.

Posted by: LuAnn at August 10, 2005 04:37 PM

Did anyone figure out how to get this to work with PHP 4.3.11?

Posted by: joe at August 17, 2005 01:01 AM

Nope, sorry, that will require a rewrite of the plugin, since PHP4 doesnt allow easy XML parsing (which is used by this plugin). One day if I'm really bored I might give it a try, but it is unlikely.

Posted by: Dieter at August 17, 2005 01:22 AM

I finally was able to get my sme server upgraded to php5, and I just tried adding a gallery exported from picasa. I made a test post and got this error...

XML error: No error at line %d in /home/e-smith/files/ibays/journal/html/wp-content/galleries/1024/index.xml

any ideas?

Posted by: splunk at September 15, 2005 07:39 PM

I think it may have been the fact I exported a gallery that contained avi files? I removed them and re-exported and now everything is working like a charm!

Posted by: splunk at September 20, 2005 07:59 PM

I am getting this conflict with a spam killing plug-in I use. Any ideas??

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /homepages/12/d116889106/htdocs/wp/wp-content/plugins/view.php5:11) in /homepages/12/d116889106/htdocs/wp/wp-content/plugins/wp-hashcash.php on line 24

Posted by: Gabe at September 24, 2005 01:24 AM

So I've got PHP 5, and I can get the thumbnails to show up -- however, when I click the image, nothing shows up?

Any ideas?

Posted by: dillon at October 28, 2005 12:15 AM

Just wanted to add some more info ...
http://www.dillonm.com/wp/wp-content/plugins/view.php?gallery=2005-01-12-tacomac&num=2&small=yes

I've been investigating, PHP stops executing after the simple_xml function call, however, as you can see I ran phpversion and I'm using PHP 5

Posted by: dillon at October 28, 2005 02:12 AM

Ha! Looks like a bug in simple_xml or something ... THANK YOU, works great in PHP 5.0.4, but does not work in 5.1.0 ...

Keep up the great work.

Posted by: dillon at October 28, 2005 02:32 AM

I'm SO sad! My hosting service just told me that PHP 5 is not yet compatible with cPanel, thus I only have PHP 4.3.11, so I am basically out of luck! I was so hoping that this would be my answer to my Gallery needs! FAlbum and FGallery don't work for me, either! It looks great on your site though, congrats on the plugin!

Posted by: Jeannette at December 17, 2005 04:00 PM

Great job, works like a charm.

If I wanted to add style to my CSS for just this plugin what would I call it?

Thanks

Posted by: Mark at January 5, 2006 05:57 PM

Are you working on any updates to your plugin?
When I validate a page that uses your plugin, I get an extra . Any idea where it comes from?

Posted by: Brian at February 23, 2006 01:59 PM

Hey, thanks a lot for your pluging, it does wonders! I think I might even start contemplating moving my main site to wordpress now that I can use your plugin! But for now it's good for my Softball team's site!

Posted by: DanGarion at May 25, 2006 10:50 AM